Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jryburn committed Feb 22, 2024
1 parent 8942e96 commit 9183e25
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,30 @@ This event source plugin from Kentik accepts alert notification JSON and works i
* Ansible Automation Platform with EDA Controller instance

## Example rulebook
TODO
```
---
- name: Listen for alerts using kentik_webhook
hosts: all
## Define our source for events
sources:
- kentik_webhook: # for local tests only. In production use kentik.ansible_eda.kentik_webhook
host: 0.0.0.0
port: 80
## Define the conditions we are looking for
rules:
- name: Print out the alert
condition: event.i == 1
## Define the action we should take should the condition be met
action:
run_playbook:
name: playbooks/example_playbook.yml
```

## Licensing
We are using GPL 3.0 as our default.
Expand Down

0 comments on commit 9183e25

Please sign in to comment.