File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed
Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -38,19 +38,11 @@ jobs:
3838 ${{ runner.os }}-
3939 - run : npm ci
4040 - run : npm install -g @contrast/contrast-cli
41- - run : contrast-cli --api_key $CONTRAST_API_KEY --authorization $CONTRAST_AUTHORIZATION --organization_id $CONTRAST_ORG_ID --host $CONTRAST_HOST --application_id $CONTRAST_APPLICATION_ID
42- name : Contrast OSS Submit
41+ - run : echo $CONTRAST_OSS_YAML > contrast_security.yaml
42+ name : Retrieve contrast_security.yaml
4343 env :
44- CONTRAST_API_KEY : ${{ secrets.CONTRAST_API_KEY }}
45- CONTRAST_AUTHORIZATION : ${{ secrets.CONTRAST_AUTHORIZATION }}
46- CONTRAST_ORG_ID : ${{ secrets.CONTRAST_ORG_ID }}
47- CONTRAST_HOST : ${{ secrets.CONTRAST_HOST }}
48- CONTRAST_APPLICATION_ID : ${{ secrets.CONTRAST_APPLICATION_ID }}
49- - run : contrast-cli -r -f -s high --api_key $CONTRAST_API_KEY --authorization $CONTRAST_AUTHORIZATION --organization_id $CONTRAST_ORG_ID --host $CONTRAST_HOST --application_id $CONTRAST_APPLICATION_ID
44+ CONTRAST_OSS_YAML : ${{ secrets.CONTRAST_OSS_YAML }}
45+ - run : contrast-cli --yamlPath contrast_security.yaml
46+ name : Contrast OSS Submit
47+ - run : contrast-cli -r -f -s high --yamlPath contrast_security.yaml
5048 name : Contrast OSS Check
51- env :
52- CONTRAST_API_KEY : ${{ secrets.CONTRAST_API_KEY }}
53- CONTRAST_AUTHORIZATION : ${{ secrets.CONTRAST_AUTHORIZATION }}
54- CONTRAST_ORG_ID : ${{ secrets.CONTRAST_ORG_ID }}
55- CONTRAST_HOST : ${{ secrets.CONTRAST_HOST }}
56- CONTRAST_APPLICATION_ID : ${{ secrets.CONTRAST_APPLICATION_ID }}
You can’t perform that action at this time.
0 commit comments