Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Network/ssl-tls-auditor/ssl_tls_auditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,11 +596,13 @@ def write_html(report: dict, prefix: str, client_name: str = "",
footer_client = html.escape(client_name) if client_name else "Security Assessment"
footer_assessor = html.escape(assessor) if assessor else "SecurityAuditScripts"

client_title_suffix = f" — {html.escape(client_name)}" if client_name else ""

html_content = f"""<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SSL/TLS Audit \u2014 {html.escape(domain)}{' \u2014 ' + html.escape(client_name) if client_name else ''}</title>
<title>SSL/TLS Audit {html.escape(domain)}{client_title_suffix}</title>
<style>
{get_styles()}
</style>
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,13 @@ Each auditor produces JSON + CSV + HTML output and maps findings to CIS v8 Contr

Pull requests and issues welcome. Use `tools/add_auditor.py` to scaffold new auditors — it auto-wires the script into `audit.py` and `exec_summary.py`.

### Local test setup

```bash
pip install -r requirements-test.txt
pytest AWS/ OnPrem/Linux/ Network/ Email/ tests/ -v --import-mode=importlib
```

---

## Disclaimer
Expand Down
2 changes: 1 addition & 1 deletion audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def parse_args(argv: Optional[List[str]] = None) -> argparse.Namespace:
* Supports --regions (multi-region scan). All others use the default region
from your AWS CLI profile.

━━━ LINUX AUDITORS (--linux runs all 4) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━ LINUX AUDITORS (--linux runs all 5) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

--linux_user Local users, sudoers, password policy, SSH keys
--linux_firewall iptables/nftables/ufw rules, default policy
Expand Down
2 changes: 1 addition & 1 deletion tests/test_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_linux_selects_all_linux(self):
self.assertIn(name, selected)
self.assertFalse(show_ps1)

def test_linux_selects_exactly_4(self):
def test_linux_selects_exactly_5(self):
args = self._args("--linux")
selected, _ = audit.select_auditors(args)
self.assertEqual(len(selected), 5)
Expand Down
Loading