Alert

interface Alert {
    capacity: number;
    created_at?: string;
    decisions?: APITypes.Decision[];
    events: APITypes.Event[];
    events_count: number;
    id?: number;
    labels?: string[];
    leakspeed: string;
    machine_id?: string;
    message: string;
    meta?: APITypes.Meta;
    remediation?: boolean;
    scenario: string;
    scenario_hash: string;
    scenario_version: string;
    simulated: boolean;
    source: APITypes.Source;
    start_at: string;
    stop_at: string;
    uuid?: string;
}

Properties

capacity: number

int32

created_at?: string

only relevant for GET, ignored in POST requests

decisions?: APITypes.Decision[]
events: APITypes.Event[]

the Meta of the events leading to overflow

events_count: number

int32

id?: number

only relevant for GET, ignored in POST requests

labels?: string[]
leakspeed: string
machine_id?: string

only relevant for LAPI->CAPI, ignored for cscli->LAPI and crowdsec->LAPI

message: string

a human readable message

meta?: APITypes.Meta

the Meta data of the Alert itself

remediation?: boolean
scenario: string
scenario_hash: string
scenario_version: string
simulated: boolean
start_at: string
stop_at: string
uuid?: string

only relevant for LAPI->CAPI, ignored for cscli->LAPI and crowdsec->LAPI