27 lines
742 B
Django/Jinja
27 lines
742 B
Django/Jinja
SNEAKYSCANNER ALERT - {{ alert.severity|upper }}
|
|
|
|
Alert: {{ alert.message }}
|
|
Type: {{ alert.type|title|replace('_', ' ') }}
|
|
Severity: {{ alert.severity|upper }}
|
|
|
|
Scan Information:
|
|
Title: {{ scan.title }}
|
|
Status: {{ scan.status }}
|
|
Duration: {{ scan.duration }}s
|
|
Triggered By: {{ scan.triggered_by }}
|
|
|
|
Rule Information:
|
|
Name: {{ rule.name }}
|
|
Type: {{ rule.type }}
|
|
{% if rule.threshold %} Threshold: {{ rule.threshold }}
|
|
{% endif %}
|
|
{% if alert.ip_address %}IP Address: {{ alert.ip_address }}
|
|
{% endif %}{% if alert.port %}Port: {{ alert.port }}
|
|
{% endif %}
|
|
Alert ID: {{ alert.id }}
|
|
Scan ID: {{ scan.id }}
|
|
Timestamp: {{ timestamp.strftime('%Y-%m-%d %H:%M:%S UTC') }}
|
|
|
|
---
|
|
Generated by {{ app.name }} v{{ app.version }}
|
|
{{ app.url }} |