Skip to content

Report Export Walkthrough

Report Export

Sample Report Screenshots

Executive Summary AI Insights
PDF Report — Page 1 PDF Report — AI Summary

CISentinel generates professional compliance reports in PDF and HTML formats, consolidating findings from all scanning tools into a unified document.

Report Format Matrix

View which formats each tool produces:

# Current platform only
cis-hardening-tool report-formats

# All platforms
cis-hardening-tool report-formats --all-platforms

Per-Tool Raw Artifacts

Tool Platform Raw Formats
OpenSCAP Linux XML (ARF), HTML report
Lynis Linux .dat log, .log stdout
USG Ubuntu Text output
CIS-CAT Cross-platform HTML, CSV, XML
HardeningKitty Windows CSV, Log
SCT Windows XML, POL

Unified Export Formats

Scope Formats How
Consolidated PDF, HTML scan --export <fmt> or history --id <id> --export <fmt>

Exporting During Scan

# Export PDF immediately after scan
sudo cis-hardening-tool scan \
  --tools lynis,openscap \
  --non-interactive \
  --export pdf \
  --output /tmp/compliance_$(date +%Y%m%d).pdf

# Export HTML
sudo cis-hardening-tool scan \
  --tools lynis \
  --non-interactive \
  --export html \
  --output /tmp/compliance.html

Exporting from History

# Step 1: Find the scan ID
cis-hardening-tool history

# Step 2: Export it
cis-hardening-tool history --id a1b2c3d4 --export pdf --output archived_report.pdf

Report Contents

The consolidated report includes:

  1. Header: Scan metadata (ID, timestamp, OS, duration)
  2. Executive Summary: Overall pass/fail statistics
  3. Per-Tool Sections: Detailed findings per scanning engine
  4. Severity Distribution: Color-coded severity breakdown
  5. 🔴 Critical (dark background)
  6. 🟠 High
  7. 🟡 Medium / Warning
  8. 🟢 Low
  9. ⚪ Informational
  10. AI Summary (if available): AI-generated insights and recommendations

PDF Report Styling

Reports use severity-based background colors for visual distinction: - Critical: Dark red background - High: Orange-red background - Warning: Amber background - Medium: Light yellow background - Low: Light green background

The HTML template is powered by Jinja2 and rendered to PDF using WeasyPrint/xhtml2pdf.

Sample Report Screenshots

Page 1 — Executive Summary + AI Insights

AI Summary Section (Gemini-generated)