Event-Driven Ansible¶
A containerized Event-Driven Ansible (EDA) environment that listens for PAN-OS log events via HTTP Server Profiles and triggers automated remediation playbooks.
How It Works¶
graph LR
A[PAN-OS Firewall] -->|HTTP Server Profile| B[EDA Container :5000]
B -->|Rulebook Match| C[Remediation Playbook]
C -->|API Call| D[AAP / Direct Execution]
- PAN-OS sends log events to the EDA container via HTTP Server Profiles on port 5000
- EDA rulebooks evaluate incoming events against defined conditions
- Matching events trigger remediation playbooks for decryption issues, DLP violations, or system log events
- Playbooks execute remediation actions (TLS certificate deployment, Slack alerts, ServiceNow tickets)
Container Image¶
The Dockerfile builds a container with:
ansible-rulebookfor event-driven automationaiohttpfor the HTTP event source- Pre-loaded rulebooks and playbooks
Supported Event Types¶
| Log Type | Trigger | Remediation |
|---|---|---|
| Decryption | TLS certificate errors | Certificate push to endpoints |
| DLP | Data loss prevention violations | Slack notification |
| System | System log events | ServiceNow ticket creation |