Skip to content

Commit

Permalink
Use .snyk as policy filename (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Feb 26, 2024
1 parent e34d4df commit 4355c9e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/force-ci-run
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Edit this file for a quick way to force a CI run
145
146
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,14 @@ jobs:
snyk container test "${IMAGE_NAME}"
--file=Dockerfile
--json-file-output=snyk.json
--policy-path=snyk.policy
--policy-path=.snyk

- name: Attest Snyk results to Kosli Trail
run:
kosli attest snyk "${IMAGE_NAME}"
--attachments=snyk.policy
--name=dashboard.snyk-scan
--scan-results=snyk.json
--scan-results=.snyk


sdlc-control-gate:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,12 @@ jobs:
snyk container test "${IMAGE_NAME}"
--file=Dockerfile
--json-file-output=snyk.json
--policy-path=snyk.policy
--policy-path=.snyk

- name: Attest Snyk results to Kosli Trail
run:
kosli attest snyk "${IMAGE_NAME}"
--attachments=snyk.policy
--attachments=.snyk
--name=dashboard.snyk-scan
--scan-results=snyk.json

Expand Down
File renamed without changes.

0 comments on commit 4355c9e

Please sign in to comment.