iya-sts
    Preparing search index...

    Class export=

    Records the decisions a remote PEP pushed to POST /admin-api/pep-audit as audit rows (#1827).

    Index
    ACTION_OF_KIND: Record<string, string> = ACTION_OF_KIND

    The module's ACTION_OF_KIND.

    MAX_EVENTS: 500 = MAX_EVENTS

    The module's MAX_EVENTS.

    • One record as the audit event it becomes, or null when it cannot be one.

      Parameters

      • event: any

        the record the PEP sent

      • pep: string

        the PEP's registered name

      • instance: string

        the PEP process the batch came from

      • deps: PepAuditDeps

        for the error-code table

      Returns any

      the audit event, or null

    • A list member of a record as text, or [].

      Parameters

      • value: unknown

        anything

      Returns string[]

      the strings it held

    • Records one push: every record a row, the highest seq acknowledged.

      Parameters

      • body: any

        the parsed request body

      • pep: string

        the caller's name (the token's subject), the PEP's registered name

      • deps: PepAuditDeps

        the modules it writes through

      Returns PepAuditAnswer

      the status and body to send

    • Why a body is not a push, or '' when it is one.

      Parameters

      • body: any

        the parsed request body

      Returns string

      the sentence, or ''

    • A text member of a record, or ''.

      Parameters

      • value: unknown

        anything

      Returns string

      the text