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.
36 lines
857 B
Python
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",
|
|
]
|