2023-12-21 15:11:05 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
|
|
# Configuration for security scanner.
|
|
|
|
# Run on PRs and pushes to `main` and `release/**` branches.
|
|
|
|
# See .github/workflows/security-scan.yml for CI config.
|
|
|
|
|
|
|
|
# To run manually, install scanner and then run `scan repository .`
|
|
|
|
|
|
|
|
# Scan results are triaged via the GitHub Security tab for this repo.
|
|
|
|
# See `security-scanner` docs for more information on how to add `triage` config
|
|
|
|
# for specific results or to exclude paths.
|
|
|
|
|
|
|
|
# .release/security-scan.hcl controls scanner config for release artifacts, which
|
|
|
|
# unlike the scans configured here, will block releases in CRT.
|
|
|
|
|
|
|
|
repository {
|
2024-05-23 17:40:59 +00:00
|
|
|
go_modules = true
|
|
|
|
npm = true
|
|
|
|
osv = true
|
|
|
|
go_stdlib_version_file = ".go-version"
|
2023-12-21 15:11:05 +00:00
|
|
|
|
|
|
|
secrets {
|
|
|
|
all = true
|
|
|
|
}
|
2024-03-26 21:27:50 +00:00
|
|
|
|
|
|
|
# Triage items that are _safe_ to ignore here. Note that this list should be
|
|
|
|
# periodically cleaned up to remove items that are no longer found by the scanner.
|
|
|
|
triage {
|
|
|
|
suppress {
|
2024-11-04 19:52:01 +00:00
|
|
|
vulnerabilities = [
|
2024-03-26 21:27:50 +00:00
|
|
|
]
|
2024-04-08 21:30:04 +00:00
|
|
|
paths = [
|
|
|
|
"internal/tools/proto-gen-rpc-glue/e2e/consul/*",
|
|
|
|
"test/integration/connect/envoy/test-sds-server/*",
|
|
|
|
"test/integration/consul-container/*",
|
|
|
|
"testing/deployer/*",
|
|
|
|
"test-integ/*",
|
2024-09-12 15:08:20 +00:00
|
|
|
"agent/uiserver/dist/assets/vendor-*.js",
|
2024-04-08 21:30:04 +00:00
|
|
|
]
|
2024-03-26 21:27:50 +00:00
|
|
|
}
|
|
|
|
}
|
2023-12-21 15:11:05 +00:00
|
|
|
}
|