Detect And Respond Traffic Detection Models
Returns an array of Traffic Detection Models.
List of Requested Traffic Detection Models
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
GET /api/v1/rule-engine/algorithms HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"algo_type": "TDM",
"beta": false,
"created": 1640995200,
"id": "127e5619-5c3c-4314-9d74-c11d07c9361e",
"recommended": false,
"subscription": {
"all": "subscribed"
},
"subscriptiontype": "optout",
"system": false,
"systemdefault": false,
"updated": 1641995200,
"bypassdisplay": false,
"bypassrule": false,
"categories": [
"system"
],
"description": "detection model description",
"discards": [
"bits > 10000"
],
"enabled": true,
"factors": [
"srcip"
],
"name": "new_ndm_name",
"rollupperiod": 300,
"search_by": [
{
"search": [
"bits > 10000"
],
"type": "all"
}
],
"thresholds": [
{
"severity": "medium",
"threshold": "average(bits) > 500"
}
],
"track_by": [
[
"srcip"
]
],
"updateinterval": 0,
"algo_record_type": "flow"
}
]
}Creates a traffic detection model from the data that's been supplied. Do not provide an id. IDs are auto generated
Traffic Detection Model Create or Update Config
If true, portal and API will not display new events
falseIf true, alerts will not be processed by policies and integrations
falseCategories for the detection model
["system"]Detection model description
detection model descriptionDiscard lists are NQL statements that if matched do not get processed through the event. It enables skipping certain combinations without disabling the detection model
["bits > 10000"]If true, the detection model is enabled
trueFactors for the detection model
["srcip"]Name of the detection model
new_ndm_nameThe lookback period for the detection model. Min 15 seconds. Max 1 hour (3600)
300When ongoing updates should be sent. Max 6 hours (21600). 0 for disabled
0The context of record to be used for the detection model
flowPossible values: Requested Traffic Detection Model
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
POST /api/v1/rule-engine/algorithm HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 408
{
"bypassdisplay": false,
"bypassrule": false,
"categories": [
"system"
],
"description": "detection model description",
"discards": [
"bits > 10000"
],
"enabled": true,
"factors": [
"srcip"
],
"name": "new_ndm_name",
"rollupperiod": 300,
"search_by": [
{
"search": [
"bits > 10000"
],
"type": "all"
}
],
"thresholds": [
{
"severity": "medium",
"threshold": "average(bits) > 500"
}
],
"track_by": [
[
"srcip"
]
],
"updateinterval": 0,
"algo_record_type": "flow"
}{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"algo_type": "TDM",
"beta": false,
"created": 1640995200,
"id": "127e5619-5c3c-4314-9d74-c11d07c9361e",
"recommended": false,
"subscription": {
"all": "subscribed"
},
"subscriptiontype": "optout",
"system": false,
"systemdefault": false,
"updated": 1641995200,
"bypassdisplay": false,
"bypassrule": false,
"categories": [
"system"
],
"description": "detection model description",
"discards": [
"bits > 10000"
],
"enabled": true,
"factors": [
"srcip"
],
"name": "new_ndm_name",
"rollupperiod": 300,
"search_by": [
{
"search": [
"bits > 10000"
],
"type": "all"
}
],
"thresholds": [
{
"severity": "medium",
"threshold": "average(bits) > 500"
}
],
"track_by": [
[
"srcip"
]
],
"updateinterval": 0,
"algo_record_type": "flow"
}
]
}Fetches a specific traffic detection model from the ID supplied in the path.
The ID of the traffic detection model to be returned.
Requested Traffic Detection Model
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
GET /api/v1/rule-engine/algorithm/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"algo_type": "TDM",
"beta": false,
"created": 1640995200,
"id": "127e5619-5c3c-4314-9d74-c11d07c9361e",
"recommended": false,
"subscription": {
"all": "subscribed"
},
"subscriptiontype": "optout",
"system": false,
"systemdefault": false,
"updated": 1641995200,
"bypassdisplay": false,
"bypassrule": false,
"categories": [
"system"
],
"description": "detection model description",
"discards": [
"bits > 10000"
],
"enabled": true,
"factors": [
"srcip"
],
"name": "new_ndm_name",
"rollupperiod": 300,
"search_by": [
{
"search": [
"bits > 10000"
],
"type": "all"
}
],
"thresholds": [
{
"severity": "medium",
"threshold": "average(bits) > 500"
}
],
"track_by": [
[
"srcip"
]
],
"updateinterval": 0,
"algo_record_type": "flow"
}
]
}Update a traffic detection model given the provided object. This does not do a diff. You must send the complete object.
The ID of the traffic detection model to be updated
Traffic Detection Model Create or Update Config
If true, portal and API will not display new events
falseIf true, alerts will not be processed by policies and integrations
falseCategories for the detection model
["system"]Detection model description
detection model descriptionDiscard lists are NQL statements that if matched do not get processed through the event. It enables skipping certain combinations without disabling the detection model
["bits > 10000"]If true, the detection model is enabled
trueFactors for the detection model
["srcip"]Name of the detection model
new_ndm_nameThe lookback period for the detection model. Min 15 seconds. Max 1 hour (3600)
300When ongoing updates should be sent. Max 6 hours (21600). 0 for disabled
0The context of record to be used for the detection model
flowPossible values: Requested Traffic Detection Model
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/rule-engine/algorithm/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 408
{
"bypassdisplay": false,
"bypassrule": false,
"categories": [
"system"
],
"description": "detection model description",
"discards": [
"bits > 10000"
],
"enabled": true,
"factors": [
"srcip"
],
"name": "new_ndm_name",
"rollupperiod": 300,
"search_by": [
{
"search": [
"bits > 10000"
],
"type": "all"
}
],
"thresholds": [
{
"severity": "medium",
"threshold": "average(bits) > 500"
}
],
"track_by": [
[
"srcip"
]
],
"updateinterval": 0,
"algo_record_type": "flow"
}{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"algo_type": "TDM",
"beta": false,
"created": 1640995200,
"id": "127e5619-5c3c-4314-9d74-c11d07c9361e",
"recommended": false,
"subscription": {
"all": "subscribed"
},
"subscriptiontype": "optout",
"system": false,
"systemdefault": false,
"updated": 1641995200,
"bypassdisplay": false,
"bypassrule": false,
"categories": [
"system"
],
"description": "detection model description",
"discards": [
"bits > 10000"
],
"enabled": true,
"factors": [
"srcip"
],
"name": "new_ndm_name",
"rollupperiod": 300,
"search_by": [
{
"search": [
"bits > 10000"
],
"type": "all"
}
],
"thresholds": [
{
"severity": "medium",
"threshold": "average(bits) > 500"
}
],
"track_by": [
[
"srcip"
]
],
"updateinterval": 0,
"algo_record_type": "flow"
}
]
}Deletes a traffic detection model
The ID of the traffic detection model to be deleted
An empty array
No content
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
DELETE /api/v1/rule-engine/algorithm/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Enables a traffic detection model
The ID of the traffic detection model to be enabled
Requested Traffic Detection Model
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/rule-engine/algorithm/{id}/enable HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"algo_type": "TDM",
"beta": false,
"created": 1640995200,
"id": "127e5619-5c3c-4314-9d74-c11d07c9361e",
"recommended": false,
"subscription": {
"all": "subscribed"
},
"subscriptiontype": "optout",
"system": false,
"systemdefault": false,
"updated": 1641995200,
"bypassdisplay": false,
"bypassrule": false,
"categories": [
"system"
],
"description": "detection model description",
"discards": [
"bits > 10000"
],
"enabled": true,
"factors": [
"srcip"
],
"name": "new_ndm_name",
"rollupperiod": 300,
"search_by": [
{
"search": [
"bits > 10000"
],
"type": "all"
}
],
"thresholds": [
{
"severity": "medium",
"threshold": "average(bits) > 500"
}
],
"track_by": [
[
"srcip"
]
],
"updateinterval": 0,
"algo_record_type": "flow"
}
]
}Disables a traffic detection model
The ID of the traffic detection model to be disabled
Requested Traffic Detection Model
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/rule-engine/algorithm/{id}/disable HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"algo_type": "TDM",
"beta": false,
"created": 1640995200,
"id": "127e5619-5c3c-4314-9d74-c11d07c9361e",
"recommended": false,
"subscription": {
"all": "subscribed"
},
"subscriptiontype": "optout",
"system": false,
"systemdefault": false,
"updated": 1641995200,
"bypassdisplay": false,
"bypassrule": false,
"categories": [
"system"
],
"description": "detection model description",
"discards": [
"bits > 10000"
],
"enabled": true,
"factors": [
"srcip"
],
"name": "new_ndm_name",
"rollupperiod": 300,
"search_by": [
{
"search": [
"bits > 10000"
],
"type": "all"
}
],
"thresholds": [
{
"severity": "medium",
"threshold": "average(bits) > 500"
}
],
"track_by": [
[
"srcip"
]
],
"updateinterval": 0,
"algo_record_type": "flow"
}
]
}Resets a customized system traffic detection model
The ID of the traffic detection model to be reseted
Requested Traffic Detection Model
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/rule-engine/algorithm/{id}/reset HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"algo_type": "TDM",
"beta": false,
"created": 1640995200,
"id": "127e5619-5c3c-4314-9d74-c11d07c9361e",
"recommended": false,
"subscription": {
"all": "subscribed"
},
"subscriptiontype": "optout",
"system": false,
"systemdefault": false,
"updated": 1641995200,
"bypassdisplay": false,
"bypassrule": false,
"categories": [
"system"
],
"description": "detection model description",
"discards": [
"bits > 10000"
],
"enabled": true,
"factors": [
"srcip"
],
"name": "new_ndm_name",
"rollupperiod": 300,
"search_by": [
{
"search": [
"bits > 10000"
],
"type": "all"
}
],
"thresholds": [
{
"severity": "medium",
"threshold": "average(bits) > 500"
}
],
"track_by": [
[
"srcip"
]
],
"updateinterval": 0,
"algo_record_type": "flow"
}
]
}Last updated