Skip to content

Commit 3c9aaf3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a005daa of spec repo
1 parent b5acffb commit 3c9aaf3

File tree

8 files changed

+12027
-11989
lines changed

8 files changed

+12027
-11989
lines changed

config/_default/menus/api.en.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2426,16 +2426,16 @@ menu:
24262426
unstable:
24272427
- v2
24282428
order: 43
2429-
- name: Cancel a historical job
2430-
url: '#cancel-a-historical-job'
2431-
identifier: security-monitoring-cancel-a-historical-job
2429+
- name: Cancel a threat hunting job
2430+
url: '#cancel-a-threat-hunting-job'
2431+
identifier: security-monitoring-cancel-a-threat-hunting-job
24322432
parent: security-monitoring
24332433
generated: true
24342434
params:
24352435
versions:
24362436
- v2
24372437
operationids:
2438-
- CancelHistoricalJob
2438+
- CancelThreatHuntingJob
24392439
unstable:
24402440
- v2
24412441
order: 22
@@ -2448,7 +2448,7 @@ menu:
24482448
versions:
24492449
- v2
24502450
operationids:
2451-
- GetHistoricalJob
2451+
- GetThreatHuntingJob
24522452
unstable:
24532453
- v2
24542454
order: 21
@@ -2461,7 +2461,7 @@ menu:
24612461
versions:
24622462
- v2
24632463
operationids:
2464-
- DeleteHistoricalJob
2464+
- DeleteThreatHuntingJob
24652465
unstable:
24662466
- v2
24672467
order: 23
@@ -2478,29 +2478,29 @@ menu:
24782478
unstable:
24792479
- v2
24802480
order: 24
2481-
- name: Run a historical job
2482-
url: '#run-a-historical-job'
2483-
identifier: security-monitoring-run-a-historical-job
2481+
- name: Run a threat hunting job
2482+
url: '#run-a-threat-hunting-job'
2483+
identifier: security-monitoring-run-a-threat-hunting-job
24842484
parent: security-monitoring
24852485
generated: true
24862486
params:
24872487
versions:
24882488
- v2
24892489
operationids:
2490-
- RunHistoricalJob
2490+
- RunThreatHuntingJob
24912491
unstable:
24922492
- v2
24932493
order: 19
2494-
- name: List historical jobs
2495-
url: '#list-historical-jobs'
2496-
identifier: security-monitoring-list-historical-jobs
2494+
- name: List threat hunting jobs
2495+
url: '#list-threat-hunting-jobs'
2496+
identifier: security-monitoring-list-threat-hunting-jobs
24972497
parent: security-monitoring
24982498
generated: true
24992499
params:
25002500
versions:
25012501
- v2
25022502
operationids:
2503-
- ListHistoricalJobs
2503+
- ListThreatHuntingJobs
25042504
unstable:
25052505
- v2
25062506
order: 20

content/en/api/v2/security-monitoring/examples.json

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"data": {
3+
"type": "historicalDetectionsJobCreate",
4+
"attributes": {
5+
"jobDefinition": {
6+
"type": "log_detection",
7+
"name": "Excessive number of failed attempts.",
8+
"queries": [
9+
{
10+
"query": "source:non_existing_src_weekend",
11+
"aggregation": "count",
12+
"groupByFields": [],
13+
"distinctFields": []
14+
}
15+
],
16+
"cases": [
17+
{
18+
"name": "Condition 1",
19+
"status": "info",
20+
"notifications": [],
21+
"condition": "a > 1"
22+
}
23+
],
24+
"options": {
25+
"keepAlive": 3600,
26+
"maxSignalDuration": 86400,
27+
"evaluationWindow": 900
28+
},
29+
"message": "A large number of failed login attempts.",
30+
"tags": [],
31+
"from": 1730387522611,
32+
"to": 1730387532611,
33+
"index": "main"
34+
}
35+
}
36+
}
37+
}

data/api/v2/CodeExamples.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,11 +1532,11 @@
15321532
"description": "Patch a vulnerability-based notification rule returns \"Notification rule successfully patched.\" response"
15331533
}
15341534
],
1535-
"RunHistoricalJob": [
1535+
"RunThreatHuntingJob": [
15361536
{
15371537
"group": "security_monitoring",
15381538
"suffix": "",
1539-
"description": "Run a historical job returns \"Status created\" response"
1539+
"description": "Run a threat hunting job returns \"Status created\" response"
15401540
}
15411541
],
15421542
"TestSecurityMonitoringRule": [

0 commit comments

Comments
 (0)