Skip to content

Commit d28c010

Browse files
level0 for PRs
1 parent 93e5796 commit d28c010

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/actions/build-proxies/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ runs:
5959
make build-json-oas-spec APIM_ENV=dev
6060
else
6161
make build-json-oas-spec APIM_ENV=dev-pr
62+
jq '.security = [{"app-level0": []}]' build/notify-supplier.json > build/notify-supplier_target.json && mv build/notify-supplier_target.json build/notify-supplier.json
6263
fi
6364
6465
- name: Set target
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
[]
1+
- title: Application Restricted
2+
grants:
3+
app-level0: []

specification/api/notify-supplier-phase1.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ components:
5757
securitySchemes:
5858
app-level3:
5959
$ref: https://proxygen.ptl.api.platform.nhs.uk/components/securitySchemes/app-level3
60+
app-level0:
61+
$ref: https://proxygen.ptl.api.platform.nhs.uk/components/securitySchemes/app-level0
62+
6063
tags:
6164
- name: letter
6265
description: ''

0 commit comments

Comments
 (0)