Files
apex-twin/tests
lotherk 4018eb0ea4 apex-twin 1.16.0: SNMP walk, LDAP search, OpenAPI discovery, systemd audit
Red:
- snmp_walk: GETNEXT over 1.3.6.1.2.1.1 for up to 30 steps, decoding the
  returned OID and value (string, integer, timeticks, counter, IP, OID).
- ldap_search: anonymous bind, namingContexts resolved from the rootDSE when no
  base is given, then one subtree search (scope 2, size limit 20) for
  present(objectClass); collects DNs with cn/uid/mail.
- openapi_discovery: six usual spec paths; version, info title and path count,
  document saved as evidence.

Blue:
- systemd_audit: unit files under /etc/systemd/system and
  /usr/lib/systemd/system (root prefix supported): ExecStart in /tmp,
  /dev/shm or /var/tmp, services without User=, world-writable unit files and
  the number of .wants/.requires links.

Tests: a UDP SNMP agent returning a GETNEXT chain, an LDAP server with rootDSE
plus two subtree entries, an OpenAPI endpoint and a systemd tree. 649 checks,
ASan suite green, analyze clean, release-check green including distcheck
1.16.0.

Two parser bugs the fixtures caught: the system OID prefix is 14 characters
(not 15), and the rootDSE response's searchResultDone must be drained before
reading the subtree answer.
2026-11-21 15:18:01 +00:00
..