Skip to content

Commit 12e9c9f

Browse files
committed
uncomment snyk attestations
1 parent a2b9536 commit 12e9c9f

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/test.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,16 @@ jobs:
193193
run:
194194
snyk code test --sarif --policy-path=.snyk --sarif-file-output=snyk-code.json --prune-repeated-subdependencies
195195

196-
# - name: Report Snyk Code to Kosli
197-
# if: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) && (success() || failure()) && inputs.report_results }}
198-
# env:
199-
# KOSLI_API_TOKEN: ${{ secrets.kosli_reporting_api_token }}
200-
# run: kosli attest snyk
201-
# --name snyk-code-test
202-
# --flow ${{ inputs.FLOW_NAME }}
203-
# --trail ${{ inputs.TRAIL_NAME }}
204-
# --scan-results snyk-code.json
205-
# --org ${{ inputs.KOSLI_ORG }}
196+
- name: Report Snyk Code to Kosli
197+
if: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) && (success() || failure()) && inputs.report_results }}
198+
env:
199+
KOSLI_API_TOKEN: ${{ secrets.kosli_reporting_api_token }}
200+
run: kosli attest snyk
201+
--name snyk-code-test
202+
--flow ${{ inputs.FLOW_NAME }}
203+
--trail ${{ inputs.TRAIL_NAME }}
204+
--scan-results snyk-code.json
205+
--org ${{ inputs.KOSLI_ORG }}
206206

207207
snyk-dependency-test:
208208
if: ${{ inputs.run_snyk }}
@@ -230,14 +230,14 @@ jobs:
230230
run:
231231
snyk test --sarif --policy-path=.snyk --sarif-file-output=snyk-dependency.json --prune-repeated-subdependencies
232232

233-
# - name: Report Snyk Test to Kosli
234-
# if: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) && (success() || failure()) && inputs.report_results }}
235-
# env:
236-
# KOSLI_API_TOKEN: ${{ secrets.kosli_reporting_api_token }}
237-
# run: kosli attest snyk
238-
# --name snyk-dependency-test
239-
# --flow ${{ inputs.FLOW_NAME }}
240-
# --trail ${{ inputs.TRAIL_NAME }}
241-
# --scan-results snyk-dependency.json
242-
# --org ${{ inputs.KOSLI_ORG }}
233+
- name: Report Snyk Test to Kosli
234+
if: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) && (success() || failure()) && inputs.report_results }}
235+
env:
236+
KOSLI_API_TOKEN: ${{ secrets.kosli_reporting_api_token }}
237+
run: kosli attest snyk
238+
--name snyk-dependency-test
239+
--flow ${{ inputs.FLOW_NAME }}
240+
--trail ${{ inputs.TRAIL_NAME }}
241+
--scan-results snyk-dependency.json
242+
--org ${{ inputs.KOSLI_ORG }}
243243

0 commit comments

Comments
 (0)