webhook templates
This commit is contained in:
27
app/web/templates/webhook_presets/plain_text.j2
Normal file
27
app/web/templates/webhook_presets/plain_text.j2
Normal file
@@ -0,0 +1,27 @@
|
||||
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 }}
|
||||
Reference in New Issue
Block a user