|
1 | 1 | {
|
2 | 2 | "tests": [
|
| 3 | + { |
| 4 | + "name": "Allow Prod Backfill Cloud Critical Pollinator Test to call Get Audit Log endpoints", |
| 5 | + "path": "/api/audit-log/subscription/12345", |
| 6 | + "method": "GET", |
| 7 | + "mechanism": "asap", |
| 8 | + "principals": [ |
| 9 | + "pollinator-check/f24ec1a9-d03d-45c7-bbd8-f2094543eaba" |
| 10 | + ], |
| 11 | + "allowed": true |
| 12 | + }, |
| 13 | + { |
| 14 | + "name": "Allow Prod Backfill GHE Critical Pollinator Test to call Get Audit Log endpoints", |
| 15 | + "path": "/api/audit-log/subscription/12345", |
| 16 | + "method": "GET", |
| 17 | + "mechanism": "asap", |
| 18 | + "principals": [ |
| 19 | + "pollinator-check/8692803e-287a-48e3-bad1-49a60a7a4f9d" |
| 20 | + ], |
| 21 | + "allowed": true |
| 22 | + }, |
| 23 | + { |
| 24 | + "name": "Allow Prod Backfill Cloud Critical Pollinator Test to call Delete Installation endpoints", |
| 25 | + "path": "/api/deleteInstallation/21266506/https%3A%2F%2Ffusion-arc-pollinator-staging-app.atlassian.net", |
| 26 | + "method": "DELETE", |
| 27 | + "mechanism": "asap", |
| 28 | + "principals": [ |
| 29 | + "pollinator-check/f24ec1a9-d03d-45c7-bbd8-f2094543eaba" |
| 30 | + ], |
| 31 | + "allowed": true |
| 32 | + }, |
| 33 | + { |
| 34 | + "name": "Allow Prod Backfill GHE Critical Pollinator Test to call Delete Installation endpoints", |
| 35 | + "path": "/api/deleteInstallation/21266506/https%3A%2F%2Ffusion-arc-pollinator-staging-app.atlassian.net", |
| 36 | + "method": "DELETE", |
| 37 | + "mechanism": "asap", |
| 38 | + "principals": [ |
| 39 | + "pollinator-check/8692803e-287a-48e3-bad1-49a60a7a4f9d" |
| 40 | + ], |
| 41 | + "allowed": true |
| 42 | + }, |
| 43 | + { |
| 44 | + "name": "Allow Prod Basic Check Critical Pollinator Test to call Get Audit Log endpoints", |
| 45 | + "path": "/api/audit-log/subscription/255625", |
| 46 | + "method": "GET", |
| 47 | + "mechanism": "asap", |
| 48 | + "principals": [ |
| 49 | + "pollinator-check/d4f03d07-12fe-4a69-9d68-c1841066772e" |
| 50 | + ], |
| 51 | + "allowed": true |
| 52 | + }, |
3 | 53 | {
|
4 | 54 | "name": "Allow pollinator test to call Delete Installation endpoints",
|
5 | 55 | "path": "/api/deleteInstallation/21266506/https%3A%2F%2Ffusion-arc-pollinator-staging-app.atlassian.net",
|
|
10 | 60 | ],
|
11 | 61 | "allowed": true
|
12 | 62 | },
|
| 63 | + { |
| 64 | + "name": "Allow Prod Basic Check Critical Pollinator Test to call Delete Installation endpoints", |
| 65 | + "path": "/api/deleteInstallation/44625349/https%3A%2F%2Ffusion-arc-pollinator-staging-app.atlassian.net", |
| 66 | + "method": "DELETE", |
| 67 | + "mechanism": "asap", |
| 68 | + "principals": [ |
| 69 | + "pollinator-check/d4f03d07-12fe-4a69-9d68-c1841066772e" |
| 70 | + ], |
| 71 | + "allowed": true |
| 72 | + }, |
13 | 73 | {
|
14 | 74 | "name": "Allow pollinator test to call Delete Installation endpoints",
|
15 | 75 | "path": "/api/deleteInstallation/21266506/https%3A%2F%2Ffusion-arc-pollinator-staging-app.atlassian.net",
|
|
50 | 110 | ],
|
51 | 111 | "allowed": false
|
52 | 112 | },
|
| 113 | + { |
| 114 | + "name": "Allow Prod Basic Check Critical Pollinator Test to call other admin endpoints", |
| 115 | + "path": "/api/jira/13453453/verify", |
| 116 | + "method": "DELETE", |
| 117 | + "mechanism": "asap", |
| 118 | + "principals": [ |
| 119 | + "pollinator-check/d4f03d07-12fe-4a69-9d68-c1841066772e" |
| 120 | + ], |
| 121 | + "allowed": false |
| 122 | + }, |
53 | 123 | {
|
54 | 124 | "name": "Not allow Pollinator tests to call other Admin endpoints",
|
55 | 125 | "path": "/api/jira/13453453/verify",
|
|
79 | 149 | "pollinator-check/b33f33a7-c308-468e-a2a2-06c1f2443bfb"
|
80 | 150 | ],
|
81 | 151 | "allowed": false
|
| 152 | + }, |
| 153 | + { |
| 154 | + "name": "Allow Pollinator Pollinator test to call API configuration POST endpoint", |
| 155 | + "path": "/api/configuration", |
| 156 | + "method": "POST", |
| 157 | + "mechanism": "asap", |
| 158 | + "principals": [ |
| 159 | + "pollinator-check/98a88b09-1541-4c0d-aded-4f1cc467d1fd" |
| 160 | + ], |
| 161 | + "allowed": true |
| 162 | + }, |
| 163 | + { |
| 164 | + "name": "Not allow Pollinator Pollinator test to call API configuration POST endpoint for any other principals", |
| 165 | + "path": "/api/configuration", |
| 166 | + "method": "POST", |
| 167 | + "mechanism": "asap", |
| 168 | + "principals": [ |
| 169 | + "pollinator-check/random-one" |
| 170 | + ], |
| 171 | + "allowed": false |
| 172 | + }, |
| 173 | + { |
| 174 | + "name": "Not allow Pollinator Pollinator test to call any API configuration endpoint except POST", |
| 175 | + "path": "/api/configuration", |
| 176 | + "method": "GET", |
| 177 | + "mechanism": "asap", |
| 178 | + "principals": [ |
| 179 | + "pollinator-check/random-one" |
| 180 | + ], |
| 181 | + "allowed": false |
82 | 182 | }
|
83 |
| - ] |
| 183 | + ] |
84 | 184 | }
|
0 commit comments