Scan Results: {{ state.scan_id }}

{% if state.scan_date %} {{ state.scan_date }} {% endif %}
PDF
{% set pending_count = state.results | selectattr("status", "equalto", "pending") | list | length %} {% if pending_count > 0 %}

Review Phase

There are {{ pending_count }} system prompts awaiting LLM execution. Review them below before sending.

{% endif %}
{% if state.results and state.results|length > 1 %}
{% for result in state.results %} {% endfor %}
Service Status Actions
{{ result.service_name | upper }} {% if result.status == 'failed' %} Error {% elif result.status == 'pending' %} Pending Review {% elif result.remediation_commands %} Action Needed {% else %} Secure {% endif %} {% if result.status == 'pending' %} 0 actions {% else %} {{ result.remediation_commands | length }} actions {% endif %}
{% endif %} {% for result in state.results %}
{{ result.service_name | upper }}
{% if result.status == 'failed' %} Error {% elif result.status == 'pending' %} Awaiting Execution {% elif result.remediation_applied %} Applied {% elif result.remediation_commands %} Action Needed {% else %} Secure {% endif %}
{% if result.status == 'pending' %}
Target Scope (First 350 chars)
Section Content Preview / Configuration
Security Instructions Audit rules, system hardening guidelines, and JSON output schema.
AI Target {{ result.provider }} | {{ result.model }}
Inference Parameters Temp: {{ result.temperature }} / Max Tokens: {{ result.max_tokens }}
Target Service {{ result.service_name | upper }}
OS Context {{ result.prompt.split('Server OS Context:\n')[1].split('\n\n')[0] if 'Server OS Context:\n' in result.prompt else 'Unknown' }}
Attached Configs
{% set files_found = [] %} {% for line in result.prompt.split('\n') %} {% if line.startswith('--- FILE: ') %} {{ line[10:-4] }} {% endif %} {% endfor %}
Total: {{ result.prompt.count('--- FILE:') }} files
VIEW FULL TABLE
Section Content
AI Provider {{ result.provider or 'Unknown' }}
Model Used {{ result.model or 'Unknown' }}
Inference Params Temp: {{ result.temperature }} / Max Tokens: {{ result.max_tokens }}
Attached Configs {% set parts = result.prompt.split('--- FILE: ') %} {% for part in parts[1:] %} {% set file_path = part.split(' ---', 1)[0] | trim %} {% set content_tail = part.split(' ---', 1)[1] if ' ---' in part else '' %} {% set content = content_tail.split('--- END FILE:')[0] | trim %}
{{ file_path }}
{{- content -}}
{% endfor %} {% if parts|length <= 1 %} No configuration files attached. {% endif %}
VIEW FULL RAW PROMPT STRING
{{ result.prompt }}
{% else %} {% if result.summary %}

{{ result.summary }}

{% endif %} {% if result.findings is iterable and result.findings is not string %}
{% for finding in result.findings %} {% endfor %} {% if not result.findings %} {% endif %}
Issue Details Severity Current Value Recommended Value
{{ finding.title }}
{{ finding.description }}
{{ finding.severity }} {{ finding.current_value }} {{ finding.recommended_value }}
No configuration issues detected.
{% else %}
{%- if result.findings -%} {{ result.findings }} {%- else -%} No findings logged. {%- endif -%}
{% endif %} {% if result.remediation_commands %}

Suggested Fixes

{% if not result.remediation_applied %} {% endif %}
{% for cmd in result.remediation_commands %} $ {{ cmd }}
{% endfor %}
{% endif %} {% if result.prompt %}
VIEW FULL TABLE
Section Audit Configuration
AI Provider {{ result.provider or 'Unknown' }}
Model Used {{ result.model or 'Unknown' }}
Inference Params Temp: {{ result.temperature }} / Max Tokens: {{ result.max_tokens }}
Target Service {{ result.service_name }}
Attached Configs {% set parts = result.prompt.split('--- FILE: ') %} {% for part in parts[1:] %} {% set file_path = part.split(' ---', 1)[0] | trim %} {% set content_tail = part.split(' ---', 1)[1] if ' ---' in part else '' %} {% set content = content_tail.split('--- END FILE:')[0] | trim %}
{{ file_path }}
{{- content -}}
{% endfor %} {% if parts|length <= 1 %} No configuration files attached. {% endif %}
VIEW FULL RAW PROMPT STRING
{{ result.prompt }}
{% endif %} {% endif %}
{% endfor %}