Skip to content

Commit

Permalink
Rename snyk policy file back to .snyk (#147)
Browse files Browse the repository at this point in the history
Despite what the docs say, you cannot use a policy file
    with any other name than .snyk
    If you do, it is ignored with no warnings.
    Sheesh.
  • Loading branch information
JonJagger committed Feb 28, 2024
1 parent 0f2a257 commit 9880669
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ jobs:
--file=Dockerfile
--sarif
--sarif-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
4 changes: 2 additions & 2 deletions .github/workflows/main_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,12 @@ jobs:
--file=Dockerfile
--sarif
--sarif-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 9880669

Please sign in to comment.