Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions config/_default/menus/api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2426,16 +2426,16 @@ menu:
unstable:
- v2
order: 43
- name: Cancel a historical job
url: '#cancel-a-historical-job'
identifier: security-monitoring-cancel-a-historical-job
- name: Cancel a threat hunting job
url: '#cancel-a-threat-hunting-job'
identifier: security-monitoring-cancel-a-threat-hunting-job
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- CancelHistoricalJob
- CancelThreatHuntingJob
unstable:
- v2
order: 22
Expand All @@ -2448,7 +2448,7 @@ menu:
versions:
- v2
operationids:
- GetHistoricalJob
- GetThreatHuntingJob
unstable:
- v2
order: 21
Expand All @@ -2461,7 +2461,7 @@ menu:
versions:
- v2
operationids:
- DeleteHistoricalJob
- DeleteThreatHuntingJob
unstable:
- v2
order: 23
Expand All @@ -2478,29 +2478,29 @@ menu:
unstable:
- v2
order: 24
- name: Run a historical job
url: '#run-a-historical-job'
identifier: security-monitoring-run-a-historical-job
- name: Run a threat hunting job
url: '#run-a-threat-hunting-job'
identifier: security-monitoring-run-a-threat-hunting-job
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- RunHistoricalJob
- RunThreatHuntingJob
unstable:
- v2
order: 19
- name: List historical jobs
url: '#list-historical-jobs'
identifier: security-monitoring-list-historical-jobs
- name: List threat hunting jobs
url: '#list-threat-hunting-jobs'
identifier: security-monitoring-list-threat-hunting-jobs
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- ListHistoricalJobs
- ListThreatHuntingJobs
unstable:
- v2
order: 20
Expand Down
18 changes: 9 additions & 9 deletions content/en/api/v2/security-monitoring/examples.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"data": {
"type": "historicalDetectionsJobCreate",
"attributes": {
"jobDefinition": {
"type": "log_detection",
"name": "Excessive number of failed attempts.",
"queries": [
{
"query": "source:non_existing_src_weekend",
"aggregation": "count",
"groupByFields": [],
"distinctFields": []
}
],
"cases": [
{
"name": "Condition 1",
"status": "info",
"notifications": [],
"condition": "a > 1"
}
],
"options": {
"keepAlive": 3600,
"maxSignalDuration": 86400,
"evaluationWindow": 900
},
"message": "A large number of failed login attempts.",
"tags": [],
"from": 1730387522611,
"to": 1730387532611,
"index": "main"
}
}
}
}
4 changes: 2 additions & 2 deletions data/api/v2/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -1532,11 +1532,11 @@
"description": "Patch a vulnerability-based notification rule returns \"Notification rule successfully patched.\" response"
}
],
"RunHistoricalJob": [
"RunThreatHuntingJob": [
{
"group": "security_monitoring",
"suffix": "",
"description": "Run a historical job returns \"Status created\" response"
"description": "Run a threat hunting job returns \"Status created\" response"
}
],
"TestSecurityMonitoringRule": [
Expand Down
Loading
Loading