Files
chittick_projects/sophos-xgs-ansible/roles/sophos_waf/templates/waf_backend.json.j2
Jake Kasper 4f1e8d3add Claude 1
2025-12-09 09:33:48 -06:00

16 lines
470 B
Django/Jinja

<Request>
<Login>
<Username>{{ sophos_api_username }}</Username>
<Password>{{ sophos_api_password }}</Password>
</Login>
<Set operation="add">
<WebServer>
<Name>{{ item.name }}</Name>
<Host>{{ item.host }}</Host>
<Port>{{ item.port }}</Port>
<Protocol>{{ item.protocol | upper }}</Protocol>
<HealthCheck>{{ 'Enable' if item.health_check | default(true) else 'Disable' }}</HealthCheck>
</WebServer>
</Set>
</Request>