-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration handling for multiple source buckets.
- Loading branch information
Showing
3 changed files
with
139 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"comments": [ | ||
"Configuration file for malware-scanner service.", | ||
"----", | ||
"To use the configuration in this file, specify the environmental variable:", | ||
" 'CONFIG_FILE=./config.json'", | ||
"", | ||
"'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.", | ||
"" | ||
], | ||
"buckets": [ | ||
{ | ||
"unscanned": "unscanned-bucket-name", | ||
"clean": "clean-bucket-name", | ||
"quarantined": "quarantined-bucket-name" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters