diff --git a/etc/poco/bundle/extras-prod-test.json b/etc/poco/bundle/extras-prod-test.json index f133610fe..112593eba 100644 --- a/etc/poco/bundle/extras-prod-test.json +++ b/etc/poco/bundle/extras-prod-test.json @@ -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", diff --git a/etc/poco/bundle/extras-prod.json b/etc/poco/bundle/extras-prod.json index b2584a47a..3446acc22 100644 --- a/etc/poco/bundle/extras-prod.json +++ b/etc/poco/bundle/extras-prod.json @@ -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": [