Files
apex-twin/tests
lotherk 39dd608291 apex-twin 1.79.0: ufw, monit and ClamAV audits, Jira probe
Three blue config audits and one red probe:

- ufw_audit: ENABLED=no, a default input policy that is not DROP/REJECT,
  and every ACCEPT in user.rules that reaches a database, remote access or
  mail port with no -s restriction; a world-writable ufw.conf or user.rules.
- monit_audit: an httpd block not bound to localhost, allow user:password
  with a literal password, a world-writable monitrc.
- clamav_audit: TCPSocket on, a TCPAddr beyond loopback, a VirusEvent or
  OnUpdateExecute hook, LogRotate off, a world-writable clamd.conf.
- jira_probe: /rest/api/2/project on 8080 without credentials; the project
  list is saved as evidence.

Two parser bugs found by the new checks: clamav_audit read only "false"/"0"
for LogRotate (not "no"), and the Jira probe parsed the status line with
atoi instead of apex_status_code.

Tests: make test 1371/1371, test-asan 1371/1371, analyze 0 warnings,
240 fuzz cases clean, coverage 84.9%, release-check exit 0 including
distcheck. Red proof: breaking the LogRotate branch turns the ClamAV
check red.
2026-11-23 08:16:49 +00:00
..