-
Notifications
You must be signed in to change notification settings - Fork 7
/
scan.hcl
35 lines (28 loc) · 932 Bytes
/
scan.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
# 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 {
go_modules = true
osv = true
secrets {
all = true
}
triage {
suppress {
paths = [
# Ignore test and local tool modules, which are not included in published
# artifacts.
"hack/*",
"testutil/*",
]
}
}
}