Add opnsense integration and webhook for eda

This commit is contained in:
2024-02-11 09:46:50 -05:00
parent f9db71bdb7
commit 1efc6b8fe7
3 changed files with 61 additions and 0 deletions

4
templates/hosts.j2 Normal file
View File

@@ -0,0 +1,4 @@
hostname, domain, description, enabled, mx, mxprio, prio, record_type, server, value, uuid
{% for i in existing_entries.data %}
{{ i.hostname }},{{ i.domain }},{{ i.description }},{{ i.enabled }},{{ i.mx }},{{ i.mxprio }},{{ i.prio }},{{ i.record_type }},{{ i.server }},{{ i.value }},{{ i.uuid }}
{% endfor %}