{% extends "base.html" %} {% block title %}HARIS — {% if template %}Edit Template{% else %}New Template{% endif %}{% endblock %} {% block content %}

{% if template %}Edit Template{% else %}New Scan Template{% endif %}

General Settings

Report Formats
AI-Powered Analysis

Adds attack narratives, chain detection, and smart triage to findings. Requires an LLM API key (Anthropic, OpenAI, or local Ollama).

Scanner Options

Configure per-scanner options. Panels are shown based on the selected profile.

{% set active_profile = template.profile if template else 'quick' %} {% set active_scanners = [] %} {% for p in profiles if p.name == active_profile %}{% if active_scanners.extend(p.scanners) %}{% endif %}{% endfor %}
Nuclei Template-based CVE and misconfiguration scanner
Template Directories

Select nuclei template categories to scan. Leave all unchecked to use defaults.

{% set nuclei_dir_opts = [ ('http/misconfiguration', 'Misconfigurations'), ('http/exposures', 'Exposed Files & Data'), ('http/technologies', 'Tech Detection'), ('http/vulnerabilities', 'Vulnerabilities'), ('http/exposed-panels', 'Admin Panels'), ('http/default-logins', 'Default Logins'), ('http/takeovers', 'Subdomain Takeover'), ('http/cves', 'CVEs'), ('ssl', 'SSL/TLS Checks'), ('dast', 'DAST'), ] %} {% for val, lbl in nuclei_dir_opts %} {% endfor %}
Template Tags
{% set nuclei_tag_opts = ['cve', 'misconfig', 'exposure', 'default-login', 'xss', 'sqli', 'ssrf', 'lfi', 'rfi', 'rce', 'tech-detect', 'panel'] %} {% set nuclei_tags_saved = template.scanner_options.nuclei.tags if template and template.scanner_options and 'nuclei' in template.scanner_options and 'tags' in template.scanner_options.nuclei else [] %} {% for tag in nuclei_tag_opts %} {% endfor %}
Severity Filter
{% set nuclei_sev_opts = ['critical', 'high', 'medium', 'low', 'info'] %} {% set nuclei_sev_saved = template.scanner_options.nuclei.severity if template and template.scanner_options and 'nuclei' in template.scanner_options and 'severity' in template.scanner_options.nuclei else [] %} {% for sev in nuclei_sev_opts %} {% endfor %}
Exclude Tags
{% set nuclei_etag_opts = ['dos', 'fuzz', 'token-spray', 'credential-stuffing'] %} {% for etag in nuclei_etag_opts %} {% endfor %}

Skip host after this many errors

Nikto Web server misconfiguration and outdated software scanner
Tuning
{% set nikto_tunings = [ ('1', 'Interesting File'), ('2', 'Misconfiguration'), ('3', 'Info Disclosure'), ('4', 'Injection'), ('5', 'Remote File Retrieval'), ('6', 'DoS'), ('7', 'Remote File Retrieval (Server)'), ('8', 'Command Execution'), ('9', 'SQL Injection'), ('0', 'File Upload'), ('a', 'Auth Bypass'), ('b', 'Software ID'), ] %} {% set nikto_tuning_saved = template.scanner_options.nikto.tuning if template and template.scanner_options and 'nikto' in template.scanner_options and 'tuning' in template.scanner_options.nikto else [] %} {% for val, lbl in nikto_tunings %} {% endfor %}
{% include "partials/template_form_scanners_b.html" %}
Cancel
{% endblock %} {% block head %} {% endblock %} {% block scripts %} {% endblock %}