Skip to content

Commit

Permalink
Merge pull request #894 from snyk/gitlab-group-endpoints
Browse files Browse the repository at this point in the history
fix: whitelist apprisk gitlab project members endpoint
  • Loading branch information
ancasnyk authored Dec 16, 2024
2 parents ab45019 + d16906f commit 98df6a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions defaultFilters/apprisk/gitlab.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"path": "/api/v4/projects/:project/groups",
"origin": "https://${GITLAB}"
},
{
"//": "list of members in a project",
"method": "GET",
"path": "/api/v4/projects/:project/members",
"origin": "https://${GITLAB}"
},
{
"//": "used to retrieve organization context from catalog-info.yaml",
"method": "GET",
Expand Down
6 changes: 6 additions & 0 deletions test/unit/__snapshots__/runtime-rules-hotloading.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -16343,6 +16343,12 @@ Object {
"origin": "https://\${GITLAB}",
"path": "/api/v4/projects/:project/groups",
},
Object {
"//": "list of members in a project",
"method": "GET",
"origin": "https://\${GITLAB}",
"path": "/api/v4/projects/:project/members",
},
Object {
"//": "used to retrieve organization context from catalog-info.yaml",
"method": "GET",
Expand Down

0 comments on commit 98df6a6

Please sign in to comment.