-
Notifications
You must be signed in to change notification settings - Fork 68
/
config.json.tmpl
28 lines (28 loc) · 1.16 KB
/
config.json.tmpl
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
{
"comments": [
"Configuration file for malware-scanner service.",
"----",
"",
"'buckets' is a list of objects specifying source/destination buckets for scanning, allowing the service to handle multiple buckets",
"Each object must have the 3 properties 'unscanned', 'clean' and 'quarantined', specifying the bucket names to use.",
"",
"'ClamCvdMirrorBucket' is a GCS bucket used to mirror the clamav database definition files to prevent overloading the Clam servers",
"and being rate limited/blacklisted. Its contents are maintained by the updateCvdMirror.sh script",
"",
"Shell environmental variable substitution is supported in this file.",
"At runtime, it will be copied to /etc",
"",
"As an alternative to including this file in the container the contents can be passed as an enviroment variable CONFIG_JSON on",
"Cloud Run startup",
"",
"Note: The comments property is optional and can be removed."
],
"buckets": [
{
"unscanned": "unscanned-bucket-name",
"clean": "clean-bucket-name",
"quarantined": "quarantined-bucket-name"
}
],
"ClamCvdMirrorBucket": "cvd-mirror-bucket-name"
}