refactor: Change UFW block anomaly severity to medium
Changed the severity of the UFW block anomaly from "high" to "medium". A high number of blocked connections is not a critical issue as long as the firewall is working correctly.
This commit is contained in:
@@ -333,7 +333,7 @@ def analyze_data_locally(data, baselines, known_issues, port_applications):
|
|||||||
for ip, count in blocked_ips.items():
|
for ip, count in blocked_ips.items():
|
||||||
if count > 10:
|
if count > 10:
|
||||||
anomalies.append({
|
anomalies.append({
|
||||||
"severity": "high",
|
"severity": "medium",
|
||||||
"reason": f"High number of blocked connections ({count}) from IP address: {ip}"
|
"reason": f"High number of blocked connections ({count}) from IP address: {ip}"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user