🛡️ AdPentestAI
Active Directory Penetration Assessment Report
EXECUTIVE SUMMARY Run ID: {{ run_id }} • {{ timestamp }}
{{ risk_score }}
/ 10 RISK
{{ risk_level }} SEVERITY
Critical: {{ findings_count.critical }}
High: {{ findings_count.high }}
Medium: {{ findings_count.medium }}
Low: {{ findings_count.low }}
Target
{{ target }}
Discovered DCs
{{ dcs|length }}
Tools Executed
{{ tool_stats.total }} ({{ tool_stats.completed }} Succeeded)
TARGET & DOMAIN CONTROLLER ARCHITECTURE
{% if dcs %} {% for dc in dcs %} {% endfor %}
Host / IP FQDN Forest / Domain Detection Methods Status
{{ dc.ip }} {{ dc.fqdn or dc.hostname or 'N/A' }} {{ dc.domain or target_overview.domain or 'N/A' }} {% if dc.detection_methods %} {{ dc.detection_methods|join(', ') }} {% elif dc.methods %} {{ dc.methods|join(', ') }} {% else %} DNS / Port Discovery {% endif %} ● Active DC
{% else %}

No active Domain Controllers automatically detected for target: {{ target }}

{% endif %} {% if target_overview.default_naming_context %}
LDAP defaultNamingContext: {{ target_overview.default_naming_context }}
{% endif %}
SECURITY FINDINGS & VULNERABILITIES {{ findings|length }} Total Findings
{% if findings %} {% for f in findings %}
{{ f.severity }} {{ f.title }}
{{ f.target }}

{{ f.description }}

{% if f.remediation %}
Remediation: {{ f.remediation }}
{% endif %}
{% endfor %} {% else %}
✅

No critical or high-risk findings detected in this diagnostic run.

{% endif %}
ACTIONABLE REMEDIATION ROADMAP
    {% for rec in recommendations %}
  1. {{ rec.title }}: {{ rec.description }}
  2. {% endfor %}
TOOL EXECUTION AUDIT & RAW LOGS
{% if execution_results %} {% for tool in execution_results %}
{{ tool.tool }} ({{ tool.host }}) {{ tool.status|upper }} {{ tool.duration_s|round(2) if tool.duration_s else '0.00' }}s
{% if tool.command %}
Command: {{ tool.command }}
{% endif %}
{{ tool.stdout or tool.stderr or 'No standard output recorded.' }}
{% endfor %} {% else %}

No individual tool execution logs recorded.

{% endif %}
Generated by AdPentestAI Framework • Issue #22 Reporting Engine