Add analyzer configuration parameters to configmap and values files
This commit is contained in:
@@ -32,3 +32,10 @@ data:
|
|||||||
retention_days: {{ .Values.config.database.retention_days }}
|
retention_days: {{ .Values.config.database.retention_days }}
|
||||||
behavior:
|
behavior:
|
||||||
probability_error_codes: {{ .Values.config.behavior.probability_error_codes }}
|
probability_error_codes: {{ .Values.config.behavior.probability_error_codes }}
|
||||||
|
analyzer:
|
||||||
|
http_risky_methods_threshold: {{ .Values.config.analyzer.http_risky_methods_threshold }}
|
||||||
|
violated_robots_threshold: {{ .Values.config.analyzer.violated_robots_threshold }}
|
||||||
|
uneven_request_timing_threshold: {{ .Values.config.analyzer.uneven_request_timing_threshold }}
|
||||||
|
uneven_request_timing_time_window_seconds: {{ .Values.config.analyzer.uneven_request_timing_time_window_seconds }}
|
||||||
|
user_agents_used_threshold: {{ .Values.config.analyzer.user_agents_used_threshold }}
|
||||||
|
attack_urls_threshold: {{ .Values.config.analyzer.attack_urls_threshold }}
|
||||||
|
|||||||
@@ -89,6 +89,13 @@ config:
|
|||||||
retention_days: 30
|
retention_days: 30
|
||||||
behavior:
|
behavior:
|
||||||
probability_error_codes: 0
|
probability_error_codes: 0
|
||||||
|
analyzer:
|
||||||
|
http_risky_methods_threshold: 0.1
|
||||||
|
violated_robots_threshold: 0.1
|
||||||
|
uneven_request_timing_threshold: 2
|
||||||
|
uneven_request_timing_time_window_seconds: 300
|
||||||
|
user_agents_used_threshold: 2
|
||||||
|
attack_urls_threshold: 1
|
||||||
|
|
||||||
# Database persistence configuration
|
# Database persistence configuration
|
||||||
database:
|
database:
|
||||||
|
|||||||
Reference in New Issue
Block a user