Skip to content

Home > @opengovsg/logging > PrivilegeEscalationDeniedInput

PrivilegeEscalationDeniedInput interface ​

Input for FailuresAudit.privilegeEscalationDenied().

Signature:

typescript
export interface PrivilegeEscalationDeniedInput extends AuditInputBase

Extends: AuditInputBase

Properties ​

PropertyModifiersTypeDescription
attemptedRolestringThe role/permission the actor tried to gain.
reasonstringWhy it was denied.
targetUserId?string(Optional) The account targeted, if the escalation was on another user. Emitted as context.target_user_id.