securityscanner: add a min image id option

This will enable us to force some instances of the securityworker to
scan only new images.
This commit is contained in:
Jimmy Zelinskie 2017-03-03 13:55:25 -05:00
parent aa2f88d321
commit 4ed0cdda14
4 changed files with 12 additions and 6 deletions

View file

@ -313,6 +313,9 @@ class DefaultConfig(object):
# The number of seconds between indexing intervals in the security scanner
SECURITY_SCANNER_INDEXING_INTERVAL = 30
# If specified, the security scanner will only index images newer than the provided ID.
SECURITY_SCANNER_INDEXING_MIN_ID = None
# If specified, the endpoint to be used for all POST calls to the security scanner.
SECURITY_SCANNER_ENDPOINT_BATCH = None