Edit

AlertStateUpdateForAlert interface

Represents a state update for a single alert within a batch request.

Properties

alertId

The ID of the alert to update.

dismissedComment

Comment for dismissal (e.g., "Dismissed by AI scan validation").

dismissedReason

Reason for dismissal. Required when State == Dismissed.

state

The state to transition the alert to (Active, Dismissed, or Draft). Draft means the alert is indeterminate and should remain in its current state.

Property Details

alertId

The ID of the alert to update.

alertId: number

Property Value

number

dismissedComment

Comment for dismissal (e.g., "Dismissed by AI scan validation").

dismissedComment: string

Property Value

string

dismissedReason

Reason for dismissal. Required when State == Dismissed.

dismissedReason: DismissalType

Property Value

state

The state to transition the alert to (Active, Dismissed, or Draft). Draft means the alert is indeterminate and should remain in its current state.

state: State

Property Value