OPNexusdocs

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 *pathstring (uuid)
rule_uuid *pathstring
limitqueryinteger

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 *pathstring (uuid)
unused_daysqueryintegerobservation window for 'unused' / 'disabled for a long time'
refreshqueryboolean

Antwort 200

GET /api/hosts/{host_id}/rule-analysis/match#

Host Match

Berechtigung policy.read (ansehen)

Parameter

host_id *pathstring (uuid)
src *querystring
dst *querystring
protoquerystring
sportquerystring | null
dportquerystring | null
icmptypequerystring | null
ifacequerystring | null
directionquerystring
egressquerystring | null
refreshqueryboolean

Antwort 200

GET /api/rule-analysis/match#

Fleet Match

Berechtigung policy.read (ansehen)

Parameter

src *querystring
dst *querystring
protoquerystring
sportquerystring | null
dportquerystring | null
icmptypequerystring | null
ifacequerystring | null
directionquerystring
egressquerystring | null
host_idsquerystring | nullcomma separated host ids; default: all enabled hosts
group_idquerystring (uuid) | null
refreshqueryboolean

Antwort 200