interface SearchAlertsParams {
    decision_type?: string;
    has_active_decision?: boolean;
    ip?: string;
    limit?: number;
    origin?: string;
    range?: string;
    scenario?: string;
    scope?: string;
    simulated?: boolean;
    since?: string;
    until?: string;
    value?: string;
}

Properties

decision_type?: string

restrict results to alerts with decisions matching given type

has_active_decision?: boolean

only return alerts with decisions not expired yet

ip?: string

IP to search for (shorthand for scope=ip&value=)

limit?: number

number of alerts to return

origin?: string

restrict results to this origin (ie. lists,CAPI,cscli)

range?: string

range to search for (shorthand for scope=range&value=)

scenario?: string

show alerts for this scenario

scope?: string

show alerts for this scope

simulated?: boolean

if set to true, decisions in simulation mode will be returned as well

since?: string

search alerts newer than delay (format must be compatible with time.ParseDuration)

Format

date-time

until?: string

search alerts older than delay (format must be compatible with time.ParseDuration)

Format

date-time

value?: string

show alerts for this value (used with scope)

Generated using TypeDoc