audit-core/audit_core
tegwick fc48378a3f
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Accept a brokered libpq environment as connection information
AUDIT-WP-0005-T02. The rapp-postgres credential playbook has the
railiance-platform broker inject PGUSER/PGPASSWORD/PGHOST/PGPORT/PGDATABASE
into the child process. audit-core only accepted AUDIT_CORE_DATABASE_URL, so
consuming a brokered lease would have meant assembling a DSN by hand from the
injected variables - putting the credential back into audit-core's own
configuration, which is what the lane exists to avoid.

An empty conninfo lets libpq read those variables directly, so a brokered lease
now needs no DSN at all. AUDIT_CORE_DATABASE_URL still works for local and test
use. Missing both is a clear startup error naming each option.

Tests 80 -> 82.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-11 23:24:25 +02:00
..
__init__.py Route ingestion through the backend contract; fix error semantics 2026-08-10 14:30:20 +02:00
__main__.py Add mock file audit backend 2026-06-01 23:44:03 +02:00
cli.py Establish pre-production record disposition and add the migration tool 2026-08-10 17:31:18 +02:00
ingestion.py Accept a brokered libpq environment as connection information 2026-08-11 23:24:25 +02:00
interface.py Route ingestion through the backend contract; fix error semantics 2026-08-10 14:30:20 +02:00
migrate_store.py Establish pre-production record disposition and add the migration tool 2026-08-10 17:31:18 +02:00
mock_file_backend.py Moved audit forward somewhat 2026-07-04 00:39:03 +02:00
postgres_backend.py Accept a brokered libpq environment as connection information 2026-08-11 23:24:25 +02:00
redaction.py Redact secret-shaped fields by default, countable per field path 2026-08-10 16:02:22 +02:00
senders.py Redact secret-shaped fields by default, countable per field path 2026-08-10 16:02:22 +02:00
sqlite_backend.py Redact secret-shaped fields by default, countable per field path 2026-08-10 16:02:22 +02:00