-
Notifications
You must be signed in to change notification settings - Fork 20
/
config.toml
72 lines (58 loc) · 1.36 KB
/
config.toml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
dryrun = false
scanner = "metadata"
failon = "high"
metadata_client = "containeranalysis"
binauth_project = "your-project-here"
signer = "kms"
valid_repos = [
"gcr.io/path/to/my/project",
]
trusted_builder_identities = [
"idcloudbuild.gserviceaccount.com"
]
trusted_projects = [
"trusted-builds"
]
[checks]
diy = true
nobody = true
provenance = true
snakeoil = true
[server]
port = 8000
require_auth = true
username = "username here"
password = "bcrypt hash of your password"
[ejson]
dir = "/key"
secrets = "/etc/voucher/secrets.production.ejson"
[metrics]
backend = "statsd"
# OR: backend = "datadog"
# OR: backend = "opentelemetry"
tags = []
# for statsd metrics backend
[statsd]
addr = "localhost:8125"
sample_rate = 0.1
# for opentelemetry backend
[opentelemetry]
addr = "grpc://localhost:4317"
insecure = true
[repository.shopify]
org-url = "https://github.com/Shopify"
[repository.grafeas]
org-url = "https://github.com/grafeas"
[[kms_keys]]
check = "diy"
path = "projects/<GCP project>/locations/global/keyRings/<key ring>-keys/cryptoKeys/<key name>/cryptoKeyVersions/<key version>"
algo = "SHA512"
[[kms_keys]]
check = "snakeoil"
path = "projects/<GCP project>/locations/global/keyRings/<key ring>-keys/cryptoKeys/<key name>/cryptoKeyVersions/<key version>"
algo = "SHA512"
[grafeasos]
hostname = ""
version = ""
vuln_project = ""