Skip to content

Commit

Permalink
Merge branch 'main' into ARC-2643-audit-log-table-entry
Browse files Browse the repository at this point in the history
  • Loading branch information
gxueatlassian authored Nov 30, 2023
2 parents b629c85 + 635b2d9 commit a9e1bd9
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 1 deletion.
40 changes: 40 additions & 0 deletions etc/poco/bundle/extras-prod-test.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
{
"tests": [
{
"name": "Allow Prod Backfill Cloud Critical Pollinator Test to call Get Audit Log endpoints",
"path": "/api/audit-log/subscription/12345",
"method": "GET",
"mechanism": "asap",
"principals": [
"pollinator-check/f24ec1a9-d03d-45c7-bbd8-f2094543eaba"
],
"allowed": true
},
{
"name": "Allow Prod Backfill GHE Critical Pollinator Test to call Get Audit Log endpoints",
"path": "/api/audit-log/subscription/12345",
"method": "GET",
"mechanism": "asap",
"principals": [
"pollinator-check/8692803e-287a-48e3-bad1-49a60a7a4f9d"
],
"allowed": true
},
{
"name": "Allow Prod Backfill Cloud Critical Pollinator Test to call Delete Installation endpoints",
"path": "/api/deleteInstallation/21266506/https%3A%2F%2Ffusion-arc-pollinator-staging-app.atlassian.net",
"method": "DELETE",
"mechanism": "asap",
"principals": [
"pollinator-check/f24ec1a9-d03d-45c7-bbd8-f2094543eaba"
],
"allowed": true
},
{
"name": "Allow Prod Backfill GHE Critical Pollinator Test to call Delete Installation endpoints",
"path": "/api/deleteInstallation/21266506/https%3A%2F%2Ffusion-arc-pollinator-staging-app.atlassian.net",
"method": "DELETE",
"mechanism": "asap",
"principals": [
"pollinator-check/8692803e-287a-48e3-bad1-49a60a7a4f9d"
],
"allowed": true
},
{
"name": "Allow pollinator test to call Delete Installation endpoints",
"path": "/api/deleteInstallation/21266506/https%3A%2F%2Ffusion-arc-pollinator-staging-app.atlassian.net",
Expand Down
21 changes: 20 additions & 1 deletion etc/poco/bundle/extras-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,30 @@
"pollinator-check/9d09aa37-c3e7-4b85-b86d-4d299ad54954",
"pollinator-check/d99d882f-74a9-4093-822a-9ddf38b5e523",
"pollinator-check/713bec45-18fb-48c7-b6c2-46e6e824caec",
"pollinator-check/b33f33a7-c308-468e-a2a2-06c1f2443bfb"
"pollinator-check/b33f33a7-c308-468e-a2a2-06c1f2443bfb",
"pollinator-check/f24ec1a9-d03d-45c7-bbd8-f2094543eaba",
"pollinator-check/8692803e-287a-48e3-bad1-49a60a7a4f9d"
]
}
}
},
{
"description": "Allow stage pollinator checks to call view audit log endpoints for testing",
"paths": [
"/api/audit-log/**"
],
"methods": [
"GET"
],
"principals": {
"asap": {
"issuers": [
"pollinator-check/f24ec1a9-d03d-45c7-bbd8-f2094543eaba",
"pollinator-check/8692803e-287a-48e3-bad1-49a60a7a4f9d"
]
}
}
},
{
"description": "Allow prod pollinator checks to call post configuration endpoints for testing",
"paths": [
Expand Down

0 comments on commit a9e1bd9

Please sign in to comment.