util.secscan.api: init read-only failover
This commit is contained in:
parent
b4efa7e45b
commit
e81926fcba
2 changed files with 53 additions and 22 deletions
|
@ -310,6 +310,9 @@ class DefaultConfig(object):
|
|||
# If specified, the endpoint to be used for all POST calls to the security scanner.
|
||||
SECURITY_SCANNER_ENDPOINT_BATCH = None
|
||||
|
||||
# If specified, GET requests that return non-200 will be retried at the following instances.
|
||||
SECURITY_SCANNER_READONLY_FAILOVER_ENDPOINTS = []
|
||||
|
||||
# The indexing engine version running inside the security scanner.
|
||||
SECURITY_SCANNER_ENGINE_VERSION_TARGET = 2
|
||||
|
||||
|
|
Reference in a new issue