-
Notifications
You must be signed in to change notification settings - Fork 6
feat(plugin): add VPN, NTP, syslog, and certificate inventory controls #512
Copy link
Copy link
Open
Labels
auditPhase 4.3 tasks - Audit Report GenerationPhase 4.3 tasks - Audit Report Generationaudit-modeRelated to audit and compliance functionalityRelated to audit and compliance functionalitycomplianceCompliance scanning and audit featuresCompliance scanning and audit featuresenhancementNew feature or requestNew feature or requestgoPull requests that update go codePull requests that update go codepriority:highHigh priority issueHigh priority issuesp:5Story Points: 5 (significant)Story Points: 5 (significant)
Metadata
Metadata
Assignees
Labels
auditPhase 4.3 tasks - Audit Report GenerationPhase 4.3 tasks - Audit Report Generationaudit-modeRelated to audit and compliance functionalityRelated to audit and compliance functionalitycomplianceCompliance scanning and audit featuresCompliance scanning and audit featuresenhancementNew feature or requestNew feature or requestgoPull requests that update go codePull requests that update go codepriority:highHigh priority issueHigh priority issuesp:5Story Points: 5 (significant)Story Points: 5 (significant)
Summary
Add 4 additional inventory controls to the Firewall compliance plugin, extending the inventory system introduced in #510.
Context
PR #510 added the inventory control infrastructure (
Type: "inventory", Configuration Notes rendering, compliance map exclusion) and shipped 2 initial controls (FIREWALL-062 DHCP Scope Inventory, FIREWALL-063 Active Interface Summary). These 4 controls complete the planned inventory set.Proposed Controls
device.VPN.IPsec.Tunnels,device.VPN.OpenVPN.Servers/Clientsdevice.System.TimeServersdevice.Syslog.RemoteServer*device.Certificates,device.CAsImplementation Pattern
Follow the pattern established in
checks_inventory.go:checkResult{Result: true, Known: true}when data existsType: "inventory",Severity: "info"EvaluatedControlIDsrunInventoryChecksinRunChecksFiles to Modify
internal/plugins/firewall/controls.go— add 4 control definitionsinternal/plugins/firewall/checks_inventory.go— add check functions and description helpersinternal/plugins/firewall/checks_inventory_test.go— add test coverageinternal/plugins/firewall/firewall_test.go— updatetotalControlsconstantReferences