Home > @opengovsg/logging > PrivilegeEscalationDeniedInput
PrivilegeEscalationDeniedInput interface
Input for FailuresAudit.privilegeEscalationDenied().
Signature:
typescript
export interface PrivilegeEscalationDeniedInput extends AuditInputBaseExtends: AuditInputBase
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| attemptedRole | string | The role/permission the actor tried to gain. | |
| reason | string | Why it was denied. | |
| targetUserId? | string | (Optional) The account targeted, if the escalation was on another user. Emitted as context.target_user_id. |