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

Type declaration

  • Optionalalert_source?: string

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

  • Optionalhas_active_decision?: boolean

    delete only alerts with decisions not expired yet

  • Optionalip?: string

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

  • Optionalrange?: string

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

  • Optionalscenario?: string

    delete alerts for this scenario

  • Optionalscope?: string

    delete alerts for this scope

  • Optionalsince?: string

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

    date-time

  • Optionaluntil?: string

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

    date-time

  • Optionalvalue?: string

    delete alerts for this value (used with scope)