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

Properties

alert_source?: string

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

has_active_decision?: boolean

delete only alerts with decisions not expired yet

ip?: string

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

range?: string

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

scenario?: string

delete alerts for this scenario

scope?: string

delete alerts for this scope

since?: string

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

Format

date-time

until?: string

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

Format

date-time

value?: string

delete alerts for this value (used with scope)

Generated using TypeDoc