Add analyzer configuration parameters to configmap and values files

This commit is contained in:
Lorenzo Venerandi
2026-01-23 21:50:45 +01:00
parent 4e4c370b72
commit 5ce4ab1955
2 changed files with 14 additions and 0 deletions

View File

@@ -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 }}

View File

@@ -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: