Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,17 @@ jobs:
exit-code: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && '0' || '1' }}
severity: "CRITICAL,HIGH,MEDIUM,LOW"
trivyignores: "./security/code/.trivyignore"
# Skip private keys used only for local testing, not production:
# - tools/osquery/in-a-box/osquery/fleet.key: TLS key for the "Fleet in a box" demo
# - tools/osquery/fleet.key: TLS key for the standalone osquery dev sandbox
# - orbit/pkg/insecure/proxy.go: TLS key used when running orbit with `--insecure` mode for development/testing.
# - ee/orbit/pkg/httpsigproxy/httpsigproxy.go: TLS key only used for osquery to orbit _local_ communication
# (for injection of HTTP signatures for the TPM-backed feature in Linux).
skip-files: |
tools/osquery/in-a-box/osquery/fleet.key
tools/osquery/fleet.key
orbit/pkg/insecure/proxy.go
ee/orbit/pkg/httpsigproxy/httpsigproxy.go

- name: Upload Trivy scan results to GitHub Security tab
# Only upload on schedule/manual runs. PR/push uploads register
Expand Down
Loading