RequestQuery: {
    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;
}

Type declaration

  • Optionaldecision_type?: string

    restrict results to alerts with decisions matching given type

  • Optionalhas_active_decision?: boolean

    only return alerts with decisions not expired yet

  • Optionalip?: string

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

  • Optionallimit?: number

    number of alerts to return

  • Optionalorigin?: string

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

  • Optionalrange?: string

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

  • Optionalscenario?: string

    show alerts for this scenario

  • Optionalscope?: string

    show alerts for this scope

  • Optionalsimulated?: boolean

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

  • Optionalsince?: string

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

    date-time

  • Optionaluntil?: string

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

    date-time

  • Optionalvalue?: string

    show alerts for this value (used with scope)