Skip to main content

Module audit

Module audit 

Source
Expand description

Structured audit trail (NIAP CA PP FAU family).

All EST and administrative operations that must be logged for Common Criteria evaluation call record. The function inserts one row into audit_events, enforces the overflow policy (FAU_STG.4), and maintains the rolling security-violation counter for the alarm response (FAU_ARP.1).

§NIAP CA PP requirements implemented

SFRRequirementImplementation
FAU_GEN.1Audit record generationAuditEventType taxonomy covers all required events
FAU_STG.1(1)Audit trail protectionAppend-only at application level
FAU_STG.4Audit storage exhaustion[OverflowAction::Halt] rejects EST operations
FAU_ARP.1Security alarmAlarm after N consecutive violations

Structs§

AuditEvent
A single audit event ready for recording.
AuditState
Shared audit state (overflow flag, alarm counter).

Enums§

AuditEventType
Every auditable operation the server can perform.

Functions§

record
Record an audit event to the database.