explain_firewall_change
Compares two OPNsense firewall configs and explains each added, removed, edited, or moved rule in plain English, with risk rating, shadowed-rule notes, and the API call that caused the change.
Instructions
Explain a change between two OPNsense config.xml captures rule by rule: which rules were added, removed, edited or moved (keyed by uuid, so an edit is not mistaken for delete-plus-add), what each rule does in plain English, a risk rating with its stated grounds (any-source to a management port, any-source to the firewall itself, any/any/any pass), shadowed-rule notes, and which API call made the change. Save-stamp noise is recognised and set aside.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| before | Yes | ||
| device | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |