# Reports

> Generate and export CIS compliance reports in SecureBaseline Cloud - PDF and CSV formats, scan result summaries, historical comparison, and audit evidence

Source: https://opennix.org/en/docs/haas/reports/

## Overview

Reports provide detailed documentation of compliance scan results. They can be viewed online, downloaded, or exported for external analysis.

## Navigation

**Menu**: Compliance (reports are accessible via the Report button on scan rows)

## Report Types

### HTML Report

- Interactive web-based report
- Detailed rule information
- Collapsible sections
- Best for viewing in browser

### PDF Report

- Printable document format
- Professional presentation
- Good for sharing with stakeholders
- Suitable for audits

### CSV Export

- Spreadsheet format
- Raw data export
- Good for custom analysis
- Import into Excel or Google Sheets

### JSON Export

- Machine-readable format
- API integration
- Custom processing
- Data archival

## Viewing Reports

### From Compliance Page

1. Go to **Compliance** page
2. Find the completed scan
3. Click **Report** button
4. Select format (HTML or PDF)

### From Scan Details

1. Click on scan row to expand
2. View inline results
3. Click **Report** for full report

## Report Contents

### Executive Summary

- Scan date and time
- Target host information
- SCAP profile used
- Overall compliance score
- Pass/Fail statistics

### Detailed Findings

For each rule:

| Field | Description |
|-------|-------------|
| Rule ID | CIS benchmark rule number |
| Title | Rule description |
| Severity | Low, Medium, High |
| Result | Pass, Fail, Error, Not Applicable |
| Description | What the rule checks |
| Rationale | Why this rule matters |
| Remediation | How to fix if failed |

### Statistics

- Total rules checked
- Rules passed
- Rules failed
- Rules with errors
- Not applicable rules
- Compliance percentage

## Exporting Data

### Export Scan List

From the Compliance page:

1. Click **Export CSV** or **Export JSON**
2. Downloads all scans in the list
3. Includes summary data for each scan

### Export Scan Results

From scan details:

1. Expand the scan
2. Click **Export CSV** or **Export JSON**
3. Downloads all rule results for that scan

### Export Format

**CSV columns**:
- rule_id
- title
- severity
- result
- description

**JSON structure**:
```json
{
  "scan_id": "...",
  "host": "...",
  "results": [
    {
      "rule_id": "...",
      "title": "...",
      "severity": "...",
      "result": "..."
    }
  ]
}
```

## Report Storage

Reports are generated on demand from stored scan results. Scan results are retained according to the data retention settings.

### Retention Period

- Default: 90 days
- Configurable in Settings
- After retention period, data is purged

### Archiving Reports

To keep reports long-term:

1. Download PDF reports
2. Export JSON data
3. Store in your document management system

## Sharing Reports

### Email

1. Download PDF report
2. Attach to email
3. Send to stakeholders

### Integration

Use exported JSON for:

- SIEM integration
- Compliance dashboards
- Ticketing systems
- Custom reporting

## Compliance Trends

### Dashboard Charts

The Compliance page shows trend data:

- Score changes over time
- Profile-specific trends
- Host comparison

### Trend Analysis

Compare scans over time:

1. Run regular scans (weekly)
2. Track score improvements
3. Identify recurring failures

## Best Practices

### Regular Reporting

- Generate reports after each scan
- Archive for audit purposes
- Track trends monthly

### Stakeholder Reports

- Use PDF for management
- Include executive summary
- Highlight critical findings

### Technical Analysis

- Use CSV for detailed analysis
- Filter by severity
- Track specific rules over time

### Audit Preparation

- Maintain report history
- Document remediation actions
- Keep evidence of improvements

## Troubleshooting

### Report Not Loading

1. Check scan completed successfully
2. Try different format (HTML vs PDF)
3. Check browser console for errors
4. Try refreshing the page

### PDF Download Fails

1. Check popup blockers
2. Try right-click and "Save as"
3. Check available disk space
4. Try HTML format instead

### Export Empty

1. Verify scan has results
2. Check filters are not excluding all data
3. Try expanding scan first
4. Refresh the page and retry

### Missing Data in Export

1. Check scan completed without errors
2. Verify all rules were evaluated
3. Some rules may be Not Applicable

## Related Pages

- [Compliance Scanning](/en/docs/haas/compliance-scanning/) - Run scans and view results
- [Settings](/en/docs/haas/settings/) - Configure data retention period

