yingshanghuangqiao
8cbb74f8c1
chore: make function comment match function name ( #3630 )
...
make function comment match function name
Signed-off-by: yingshanghuangqiao <yingshanghuangqiao@foxmail.com>
2025-07-24 12:19:08 -07:00
Deepak Bhatt
6caf1fe58a
feat: [CDE-909]: add update config method in infra provider to add vm image for gpc ( #4104 )
...
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-909
* feat: [CDE-909]: add update config method in infra provider to add vm image for gpc
2025-07-24 11:49:46 +00:00
Marko Gaćeša
b219feb377
feat: [CODE-2055]: public key usage: auth or sign ( #4094 )
...
* public key usage: auth or sign
2025-07-24 08:49:16 +00:00
Vikyath Harekal
ea77c8dc66
feat: [CDE-879]: Return only those machine types that we can upgrade to from the current machine type ( #4089 )
...
* feat: [CDE-879]: fix lint
* feat: [CDE-879]: Refactor
* feat: [CDE-879]: Refactor
* feat: [CDE-879]: Refactor
* Apply suggestion from code review
* Apply suggestion from code review
* feat: [CDE-879]: Filter allowed infra resources list for update gitspace flow
2025-07-24 08:42:49 +00:00
Darko Draskovic
3c3ff0dc64
feat: [CODE-4083]: Validate users in the rule user IDs bypass list ( #4006 )
...
* Use global ValidateUsers and rename Validator's ValidateUsers to Validate
* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass
* Replace noop rules validator with a useful validator logic
* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass
* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass
* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass
* Move all validation into the single helper validateUsers
* Fix tests
* Fix linter issues
* Reuse common rules getRuleUsers to ensureAllUserIDsExist
* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass
* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass
* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass
* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass
* Add ctx arg to ValidateUsers method of rules Validator
* Use rules Validator as rules service dependency
2025-07-23 14:43:00 +00:00
Vikyath Harekal
370d8be1d0
feat: [CDE-870]: Update migration numbers ( #4082 )
...
* feat: [CDE-870]: remove spaceref json tag
* feat: [CDE-870]: Update migration numbers
2025-07-23 06:19:37 +00:00
Vikyath Harekal
38f76d0757
feat: [CDE-870]: Update/Edit Gitspace: IDE, resource (non-gitness) and ssh identifier ( #4060 )
...
* feat: [CDE-870]: fix lint
* feat: [CDE-870]: add region and zone check
* feat: [CDE-870]: Address review comments
* feat: [CDE-870]: Address review comments
* Apply suggestion from code review
* feat: [CDE-870]: fix lint
* feat: [CDE-870]: Update IDE, ssh identifier and resource (non-gitness)
* feat: [CDE-870]: Update IDE, ssh identifier and resource (non-gitness)
2025-07-23 03:15:52 +00:00
Marko Gaćeša
ec4aafc73d
feat: [CODE-2554]: revoke signatures of compromised keys ( #4074 )
...
* revoke signatures of compromised keys
2025-07-22 14:11:56 +00:00
Ritik Kapoor
69721f196e
fix: [CODE-4211] pr candidates return type for swagger ( #4076 )
...
* fix: [CODE-4211] pr candidates return type for swagger
2025-07-22 12:31:50 +00:00
Sourabh Awashti
33df6b1860
feat:[AH-1475]: Quarantine artifact action for non oci artifacts ( #3973 )
...
* feat:[AH-1475]: review changes
* feat:[AH-1475]: review changes
* feat:[AH-1475]: review changes
* feat:[AH-1475]: review changes
* feat:[AH-1475]: review changes
* feat:[AH-1475]: review changes
* feat:[AH-1475]: merge conflicts
* feat:[AH-1475]: merge conflicts
* feat:[AH-1475]: review changes
* feat:[AH-1475]: merge conflicts
* feat:[AH-1475]: Quarantine artifact action for non oci artifacts
2025-07-22 07:31:08 +00:00
Dhruv Dhruv
3bfadf7ce5
feat: [CDE-842]: Adding changes to support routing key in infra. ( #4071 )
...
* feat: [CDE-842]: Adding changes to support routing key in infra.
2025-07-22 07:20:16 +00:00
Atefeh Mohseni Ejiyeh
de0d520917
Revert Pull Request #4040 "fix: [CODE-2343] Skip Secret Scanning for PR merge" ( #4069 )
...
* Revert Pull Request #4040 "fix: [CODE-2343] Skip Secret Scanning for PR merge"
2025-07-21 19:47:25 +00:00
Karan Saraswat
fad8d9f63f
feat: [CODE-4142]: Send audit logs on bypassing rules for tag creation/deletion ( #4061 )
...
* fixed go lint
* ran prettier
* feat: [CODE-4142]: Send audit logs on bypassing rules for tag creation/deletion
2025-07-21 07:33:43 +00:00
Ansuman Satapathy
113f5af9d8
feat: [CDE-816]: show infra error instead of whole infra entity ( #4062 )
...
* feat: [CDE-816]: show infra error instead of whole infra entity
2025-07-21 04:24:30 +00:00
Karan Saraswat
dd4962b953
feat: [CODE-4120]: Add bypass rule violation message for delete tag modal ( #4056 )
...
* fixed openapi
* feat: [CODE-4120]: Add bypass rule violation message for delete tag modal
2025-07-18 14:40:27 +00:00
Karan Saraswat
b55d7d75eb
feat: [CODE-4111]: Add dry run rules param to delete tag API ( #4046 )
...
* feat: [CODE-4111]: Add dry run rules param to delete tag API
2025-07-18 08:51:59 +00:00
Karan Saraswat
d95fdc1d5d
feat: [CODE-4110]: Add dry run rules param to create tag API ( #4039 )
...
* feat: [CODE-4110]: add violations to the CreateBranchOutput
* addressed review comment, fixed status code to 200 and added to openapi
* Apply suggestion from code review
* feat: [CODE-4110]: Add dry run rules param to create tag API
2025-07-18 03:47:52 +00:00
Shivanand Sonnad
627f3c81a9
feat: [AH-1561]: initial setup for go package ( #4025 )
...
* feat: [AH-1561]: resolve PR comments
* feat: [AH-1561]: update routes
* feat: [AH-1561]: update comments
* feat: [AH-1561]: initial setup for go package
2025-07-17 04:24:29 +00:00
Atefeh Mohseni Ejiyeh
bb0bf1c005
fix: [CODE-2343] Skip Secret Scanning for PR merge ( #4040 )
2025-07-16 21:27:03 +00:00
Abhinav Singh
66a97fd9f7
feat: [CODE-4081]: report event for status check ( #4005 )
...
* Update app/events/check/events_check_reported.go
* address comment
* address comment
* Apply suggestions from code review
* feat: [CODE-4081]: report event for status check
* feat: [CODE-4081]: report event for status check
2025-07-15 21:56:28 +00:00
Sourabh Awashti
a35399d46f
feat:[AH-1521]: fix for issue in uploading large files ( #4022 )
...
* feat:[AH-1521]: review changes
* feat:[AH-1521]: review changes
* feat:[AH-1521]: fix for issue in uploading large files
2025-07-15 09:35:56 +00:00
Karan Saraswat
5517a24459
feat: [CODE-4077]: Add rule_type filter to the rules listing API ( #4001 )
...
* fixed default rule type filter
* added enum method in openapi/rules.go
* formatted openapi/rules.go file
* feat: [CODE-4077]: addressed review comments to create enum for RuleType
* feat: [CODE-4077]: Add rule_type filter to the rules listing API
2025-07-14 07:53:02 +00:00
Deepak Bhatt
0d150a6814
feat: [CDE-837]: modify infra provider apis to correctly use infraprovider permissions ( #4014 )
...
* feat: [CDE-837]: modify infra provider access to correctly use infraprovider permissions
* feat: [CDE-837]: modify infra provider access to correctly use infraprovider permissions
* feat: [CDE-837]: modify infra provider access to correctly use infraprovider permissions
2025-07-14 07:14:18 +00:00
Dhruv Dhruv
a6a2c38c68
feat: [CDE-843]: Changes to support sshpiper based ssh connections. ( #3993 )
...
* Fixing lint issues.
* feat: [CDE-843]: Changes to support sshpiper based ssh connections.
2025-07-10 03:26:53 +00:00
Karan Saraswat
7ef02e36fa
feat: [CODE-4073]: Expose tag and push rules type as well for protection rules ( #3996 )
...
* feat: [CODE-4073]: Expose tag and push rules type as well for protection rules
2025-07-09 09:11:09 +00:00
Ansuman Satapathy
94b5be1b03
feat: [CDE-847]: correctly update status for embedded docker reset ( #3995 )
...
* feat: [CDE-847]: correctly update status for embedded docker reset
* feat: [CDE-847]: correctly update status for embedded docker reset
2025-07-09 05:51:00 +00:00
Darko Draskovic
bdab4a14d2
feat: [CODE-3027]: Add secret scanning enable/disable to push rules ( #3931 )
...
* Merge remote-tracking branch 'origin/main' into dd/secret-scan-rules
* Merge remote-tracking branch 'origin/main' into dd/secret-scan-rules
* Merge remote-tracking branch 'origin/main' into dd/secret-scan-rules
* Fix tests
* Merge remote-tracking branch 'origin/main' into dd/secret-scan-rules
* Add PrintViolations to protection package
* Sort by size descending push objects in git svc
* Merge remote-tracking branch 'origin/main' into dd/secret-scan-rules
* Add map[int64]PushProtection to push rules in/out
* Properly backfill rules
* Merge remote-tracking branch 'origin/main' into dd/secret-scan-rules
* Add backfill violations
* Merge remote-tracking branch 'origin/main' into dd/secret-scan-rules
* Remove objects suffix from push protection related structs
* Optimize db settings fetch
* Add secret scanning enabled to push rules
2025-07-08 14:23:48 +00:00
Deepak Bhatt
c970af69c7
fix: [CDE-851]: modify infra provider access check to use project level scope ( #3991 )
...
* fix: [CDE-851]: modify infra provider access check to use project level scope
2025-07-08 10:57:40 +00:00
Johannes Batzill
54bec56832
feat: [CODE-4062]: Add 'delete_source_branch' flag to merge API call ( #3985 )
2025-07-07 21:05:59 +00:00
Deepak Bhatt
c74d6a6504
feat: [CDE-851]: remove acl check for infra provider list and find apis ( #3983 )
...
* feat: [CDE-851]: remove acl check for infra provider list and find apis
* feat: [CDE-851]: remove acl check for infra provider list and find apis
2025-07-07 15:48:23 +00:00
Johannes Batzill
0fc0ba5155
fix: [CODE-4057]: Fix migration UT ( #3979 )
2025-07-03 15:58:22 +00:00
Marko Gaćeša
7d5f1b105b
feat: [CODE-2554]: introduce keyfetcher ( #3971 )
...
* introduce keyfetcher
2025-07-03 10:51:30 +00:00
Sourabh Awashti
a7c53e20e3
feat:[AH-1423]: migration for artifact quarantined feature ( #3895 )
...
* feat:[AH-1423]: review changes
* feat:[AH-1423]: review changes
* feat:[AH-1423]: review changes
* feat:[AH-1423]: review changes
* feat:[AH-1423]: review changes
* feat:[AH-1423]: review changes
* Merge branch 'main' into AH-1423
* feat:[AH-1423]: review changes
* feat:[AH-1423]: review changes
* feat:[AH-1423]: migration for artifact quarantined feature
2025-07-03 08:34:48 +00:00
Marko Gaćeša
7d0ffbfbc0
feat: [CODE-2554]: add commit and tag signature parse and verify ( #3915 )
...
* empty commit
* Merge remote-tracking branch 'origin/main' into mg/publickey/verify
* addressing PR comments
* addressing PR comments
* addressing PR comments
* commit signature parsing
2025-07-02 11:13:37 +00:00
Ansuman Satapathy
0bacf9d63d
feat: [CDE-816]: make reset/cleaning/deprovision idempotent for gitspaces ( #3966 )
...
* feat: [CDE-816]: honour the userData flag in deprovision event
2025-07-02 09:25:28 +00:00
Ansuman Satapathy
ca5ff2abc6
feat: [CDE-816]: honour the userData flag in deprovision event ( #3965 )
...
* feat: [CDE-816]: honour the userData flag in deprovision event
2025-07-02 07:50:06 +00:00
Deepak Bhatt
f853871a5e
feat: [CDE-822]: remove duplicate call to fetch infra provider config ( #3963 )
...
* feat: [CDE-822]: remove duplicate call to fetch infra provider config
2025-07-02 07:23:08 +00:00
Ansuman Satapathy
531840863d
feat: [CDE-816]: added state cleaning to show the intermediate state ( #3964 )
...
* feat: [CDE-816]: added state cleaning to show the intermediate state
* feat: [CDE-816]: added state cleaning to show the intermediate state
2025-07-02 07:21:24 +00:00
Abhinav Singh
2e44b387c3
feat: [CODE-4040]: do better codeowner handling ( #3952 )
2025-07-01 20:20:03 +00:00
Darko Draskovic
4da9145ba6
fix: [CODE-3027]: Rename push_objects json key name to push ( #3960 )
2025-07-01 18:33:55 +00:00
Deepak Bhatt
6fe1409876
feat: [CDE-822]: add comment for using stopped infra in provision ( #3954 )
...
* feat: [CDE-822]: add comment for using stopped infra in provision
2025-07-01 07:29:08 +00:00
Abhinav Singh
8745233118
feat: [CODE-4038]: fix pr banner query for pq ( #3949 )
2025-06-30 20:02:33 +00:00
Johannes Batzill
aef1b67346
fix: [CODE-4039]: Ensure correct git.Interface usage in pre-receive controller ( #3950 )
2025-06-30 19:40:13 +00:00
Arvind Choudhary
abe6072b19
feat: [AH-1471]: Updated index comments ( #3948 )
...
* [AH-1471]: Updated index comments
* Revert "fix: [AH-1297]: fix index creation (#3946 )"
This reverts commit 1b29435a32dfdc12c983d38c3677d96c3913130d.
2025-06-30 16:52:50 +00:00
Tudor Macari
1b29435a32
fix: [AH-1297]: fix index creation ( #3946 )
...
* fix: [AH-1297]: remove migrations
* fix: [AH-1297]: fix index creation
2025-06-30 15:50:19 +00:00
Karan Saraswat
6f699efed8
fix: [CODE-4025]: Fix sorting for repos on the basis of identifier and state ( #3935 )
...
* fix: [CODE-4025]: Fix sorting for repos on the basis of identifier and state
2025-06-27 17:23:22 +00:00
Arvind Choudhary
e362d21aff
feat: [AH-1297]: Docker pull / push optimisations ( #3902 )
...
* [AH-1297]: Updated indexes
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-1297-performance-oci
* [AH-1297]: Merge commit
* [AH-1297]: revert local env
* [AH-1297]: Major changes
* [AH-1297]: Major changes
* [AH-1297]: updated reg
* [AH-1297]: Current changes
* [AH-1297]: Updated more code
* [AH-1297]: temp changes
* [AH-1297]: Updated registry fetches
* [AH-1297]: temp changes
2025-06-27 07:17:28 +00:00
Ansuman Satapathy
fa12effcce
feat: [CDE-816]: clean-up messages and force reset gitspace infrastructure ( #3934 )
...
* feat: [CDE-816]: clean-up messages
* feat: [CDE-816]: added API to reset gitspaces.
2025-06-27 06:16:38 +00:00
Ansuman Satapathy
61bc9e242c
feat: [CDE-816]: made reset API async ( #3929 )
...
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
2025-06-26 10:18:09 +00:00
Ansuman Satapathy
35a627eea9
feat: [CDE-816]: added API to reset gitspaces. ( #3906 )
...
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
* feat: [CDE-816]: added API to reset gitspaces.
2025-06-26 07:58:37 +00:00