From 5ce4ab1955ef81dcd9b37dcabcc6e38352347a13 Mon Sep 17 00:00:00 2001 From: Lorenzo Venerandi Date: Fri, 23 Jan 2026 21:50:45 +0100 Subject: [PATCH] Add analyzer configuration parameters to configmap and values files --- helm/templates/configmap.yaml | 7 +++++++ helm/values.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/helm/templates/configmap.yaml b/helm/templates/configmap.yaml index 808d9f5..d6e5f5c 100644 --- a/helm/templates/configmap.yaml +++ b/helm/templates/configmap.yaml @@ -32,3 +32,10 @@ data: retention_days: {{ .Values.config.database.retention_days }} behavior: 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 }} diff --git a/helm/values.yaml b/helm/values.yaml index 60b1a66..0b83892 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -89,6 +89,13 @@ config: retention_days: 30 behavior: 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: