Auto Thresholds

Get all threshold automaton configs

get

Returns all auto-threshold automaton configs configured for all DMs in a given customer.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

List of threshold automaton configs for a customer

application/json
get
/api/v1/thresholder/automaton

Update threshold automaton config

post

Updates the auto-threshold automaton config for a given detection model.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

Threshold Automaton Create or Update Config

algorithmstringOptional

name of detection model

Example: 1ms0rryminer_detection
data_intervalstringOptional

defines the how specific a time frame the Threshold override produced by Auto Thresholding applies to.

Example: 1d
data_lookbackstringOptional

determines how many previous days aggregate data and Auto Thresholding configuration will use to generate Threshold overrides

Example: 180d
data_windowstringOptional

defines the period of over which values are aggregated for Track By aggregates.

Example: 1h
disabledbooleanOptional

disables auto-thresholding for the given automaton

Example: false
filtersstring[]Optional
force_overridebooleanOptional

optional, if set will override the default behavior preventing threshold values below the global average

Example: true
high_sigmanumberOptional

optional, number of standard deviations to use when calculating high-severity thresholds

Example: 3
med_sigmanumberOptional

optional, number of standard deviations to use when calculating medium-severity thresholds

Example: 2
low_sigmanumberOptional

optional, number of standard deviations to use when calculating low-severity thresholds

Example: 1
strategystringOptional

used to determine the default threshold, either uses the maximum or average of data values.

Example: average
thresholdsstring[]OptionalExample: ["avg(bits)"]
track_bystring[]Optional

values to aggregate data on, should match parent DM track-by fields.

Example: ["avg(bits)"]
update_intervalstringOptionalExample: 10m
Responses
200

Threshold Automaton config

application/json
post
/api/v1/thresholder/automaton

Get threshold automaton config

get

Returns the auto-threshold automaton config for a detection model

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
algorithmstringRequired

The name of the detection model to fetch automaton config for

Responses
200

Threshold Automaton config

application/json
get
/api/v1/thresholder/automaton/{algorithm}

Delete automaton config

delete

Deletes the threshold automaton config for a given detection model

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
algorithmstringRequired

The name of the detection model to delete.

Responses
delete
/api/v1/thresholder/automaton/{algorithm}

No content

Update threshold automaton config specific value

patch

Updates specific values in the auto-threshold automaton config for a given detection model.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
algorithmstringRequired

The name of the detection model to update.

Body
objectOptional

Threshold Automaton Record

Responses
200

Threshold Automaton config

application/json
patch
/api/v1/thresholder/automaton/{algorithm}

Get track values

get

Returns auto-threshold track data for the given track

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
algorithmstringRequired

The name of the detection model to fetch track data for

trackstringRequired

The name of the track (group) to fetch data for

Query parameters
fromnumberRequired

Unix timestamp defining the start of the data range to query

tonumberRequired

Unix timestamp defining the end of the data range to query

Responses
200

List of track values for a given auto threshold

application/json
get
/api/v1/thresholder/automaton/{algorithm}/trackby/{track}

Last updated