RequestQuery: {
    alert_source?: string;
    has_active_decision?: boolean;
    ip?: string;
    range?: string;
    scenario?: string;
    scope?: string;
    since?: string;
    until?: string;
    value?: string;
}

Type declaration

  • Optional alert_source?: string

    delete only alerts with matching source (ie. cscli/crowdsec)

  • Optional has_active_decision?: boolean

    delete only alerts with decisions not expired yet

  • Optional ip?: string

    delete Alerts with IP (shorthand for scope=ip&value=)

  • Optional range?: string

    delete alerts concerned by range (shorthand for scope=range&value=)

  • Optional scenario?: string

    delete alerts for this scenario

  • Optional scope?: string

    delete alerts for this scope

  • Optional since?: string

    delete alerts added after YYYY-mm-DD-HH:MM:SS

    Format

    date-time

  • Optional until?: string

    delete alerts added before YYYY-mm-DD-HH:MM:SS

    Format

    date-time

  • Optional value?: string

    delete alerts for this value (used with scope)

Generated using TypeDoc