Skip to content

Commit

Permalink
appease trivy
Browse files Browse the repository at this point in the history
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
  • Loading branch information
zroubalik committed Nov 10, 2022
1 parent 17b9708 commit 794bed9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/template-trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
output: ${{ inputs.output }}
exit-code: ${{ inputs.exit-code }}
severity: ${{ inputs.severity }}
# otlpconfig/tls.go contains AsymmetricPrivateKey which is just an example
skip-files: vendor/go.opentelemetry.io/otel/exporters/otlp/internal/otlpconfig/tls.go

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
Expand Down
4 changes: 4 additions & 0 deletions trivy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
scan:
skip-dirs:
# otlpconfig/tls.go contains AsymmetricPrivateKey which is just an example
- vendor/go.opentelemetry.io/otel/exporters/otlp/internal/otlpconfig/tls.go

0 comments on commit 794bed9

Please sign in to comment.