audit-core/audit_core/__init__.py
tegwick ded432a63f
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Implement AUDIT-WP-0006 honest operational custody.
Postgres now reports custody_class=operational with a cited 30-day
recoverable window. Join ITC-CAP operations.audit at D4, publish the
interface card, and overlay user-engine tenants [*] from Git so an
ExternalSecret refresh cannot shrink it.
2026-08-16 00:24:33 +02:00

36 lines
857 B
Python

"""Audit Core public interface.
Contract reference: ``docs/audit-backend-contract.md``.
"""
from audit_core.interface import (
AcceptResult,
AuditBackend,
AuditEvent,
BackendUnavailableError,
EventConflictError,
EventValidationError,
IdempotentAuditBackend,
RetentionPolicy,
SCHEMA_VERSION_V1ALPHA1,
custody_class_satisfies,
validate_event,
)
from audit_core.mock_file_backend import MockFileAuditBackend
from audit_core.sqlite_backend import SQLiteAuditBackend
__all__ = [
"AcceptResult",
"AuditBackend",
"AuditEvent",
"BackendUnavailableError",
"EventConflictError",
"EventValidationError",
"IdempotentAuditBackend",
"MockFileAuditBackend",
"RetentionPolicy",
"SCHEMA_VERSION_V1ALPHA1",
"SQLiteAuditBackend",
"custody_class_satisfies",
"validate_event",
]