Skip to main content

count

Function count 

Source
pub fn count(
    tx: &Connection,
    entry: &Entry,
    now: OffsetDateTime,
) -> Result<(), AuditError>
Expand description

Adds one to the record for this actor, action and status in the minute of now, making it if needed. For requests that could otherwise grow a log one row each: failed authentications and health checks.