feat: add active firewall rules display to workload insights with managed rule detection and enable status
Add active_firewall_rules_for_workload helper to fetch live firewall rules from provider with NexaFabric policy comment detection and enable status, implement list_firewall_rules method in ProxmoxProvider to retrieve rules via firewall API endpoint, extend WorkloadInsight schema with active_firewall_rules field, add ActiveRulesList component showing rule type/action/protocol/port with enable status and
This commit is contained in:
@@ -315,6 +315,7 @@ class WorkloadInsight(BaseModel):
|
||||
workload: WorkloadRead
|
||||
assigned_ips: list[IpAddressRead]
|
||||
traffic: list[dict[str, Any]]
|
||||
active_firewall_rules: list[dict[str, Any]] = []
|
||||
matching_policies: list[PolicyRead]
|
||||
effective_decision: str
|
||||
audit_mode_notes: list[str]
|
||||
|
||||
Reference in New Issue
Block a user