API: rule-analysis
GET /api/hosts/{host_id}/live-rules/{rule_uuid}/history#
Live Rule History
What happened to one rule on one firewall: observed changes (also hand-made ones), saved revisions of rules OPNexus manages and the audit entries, newest first. Reads the database only.
Berechtigung policy.read (ansehen)
Parameter
host_id * | path | string (uuid) | |
rule_uuid * | path | string | |
limit | query | integer |
Antwort 200
GET /api/hosts/{host_id}/rule-analysis/cleanup#
Host Cleanup
Cleanup candidates (unused, shadowed, duplicate, disabled for a long time) with confidence and whether each rule could be offered for removal. Read-only; removal is not part of this endpoint.
Berechtigung policy.read (ansehen)
Parameter
host_id * | path | string (uuid) | |
unused_days | query | integer | observation window for 'unused' / 'disabled for a long time' |
refresh | query | boolean |
Antwort 200
GET /api/hosts/{host_id}/rule-analysis/match#
Host Match
Berechtigung policy.read (ansehen)
Parameter
host_id * | path | string (uuid) | |
src * | query | string | |
dst * | query | string | |
proto | query | string | |
sport | query | string | null | |
dport | query | string | null | |
icmptype | query | string | null | |
iface | query | string | null | |
direction | query | string | |
egress | query | string | null | |
refresh | query | boolean |
Antwort 200
GET /api/rule-analysis/match#
Fleet Match
Berechtigung policy.read (ansehen)
Parameter
src * | query | string | |
dst * | query | string | |
proto | query | string | |
sport | query | string | null | |
dport | query | string | null | |
icmptype | query | string | null | |
iface | query | string | null | |
direction | query | string | |
egress | query | string | null | |
host_ids | query | string | null | comma separated host ids; default: all enabled hosts |
group_id | query | string (uuid) | null | |
refresh | query | boolean |