Skip to content

Commit 3948fd8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7fe71d9f of spec repo
1 parent dcff7d5 commit 3948fd8

File tree

6 files changed

+15
-32
lines changed

6 files changed

+15
-32
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-06-13 13:39:04.008694",
8-
"spec_repo_commit": "9757e1ea"
7+
"regenerated": "2025-06-13 20:50:54.558539",
8+
"spec_repo_commit": "7fe71d9f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-13 13:39:04.025215",
13-
"spec_repo_commit": "9757e1ea"
12+
"regenerated": "2025-06-13 20:50:54.575411",
13+
"spec_repo_commit": "7fe71d9f"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19273,12 +19273,6 @@ components:
1927319273
JobDefinitionFromRule:
1927419274
description: Definition of a historical job based on a security monitoring rule.
1927519275
properties:
19276-
caseIndex:
19277-
description: Index of the rule case applied by the job.
19278-
example: 0
19279-
format: int32
19280-
maximum: 9
19281-
type: integer
1928219276
from:
1928319277
description: Starting time of data analyzed by the job.
1928419278
example: 1729843470000
@@ -19309,7 +19303,6 @@ components:
1930919303
- from
1931019304
- to
1931119305
- index
19312-
- caseIndex
1931319306
type: object
1931419307
KindAttributes:
1931519308
description: Kind attributes.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-11-08T09:54:40.192Z"
1+
"2025-06-12T14:01:05.945Z"

cassettes/v2/Security-Monitoring_1187227211/Run-a-historical-job-returns-Not-Found-response_258356351/recording.har

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "8056350d00d9df6e525e771fe22b1354",
11+
"_id": "6baefcd2575a7f9d36bff35d836edcfc",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 184,
15+
"bodySize": 170,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -26,23 +26,23 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 581,
29+
"headersSize": 582,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"fromRule\":{\"caseIndex\":0,\"from\":1730201035064,\"id\":\"non-existng\",\"index\":\"main\",\"notifications\":[],\"to\":1730204635115}},\"type\":\"historicalDetectionsJobCreate\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"fromRule\":{\"from\":1730201035064,\"id\":\"non-existng\",\"index\":\"main\",\"notifications\":[],\"to\":1730204635115}},\"type\":\"historicalDetectionsJobCreate\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/siem-historical-detections/jobs"
3939
},
4040
"response": {
41-
"bodySize": 67,
41+
"bodySize": 49,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 67,
45-
"text": "{\"errors\":[{\"status\":\"404\",\"detail\":\"failed to get rule details\"}]}"
44+
"size": 49,
45+
"text": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\"}]}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,8 +57,8 @@
5757
"status": 404,
5858
"statusText": "Not Found"
5959
},
60-
"startedDateTime": "2024-11-08T09:54:40.194Z",
61-
"time": 73
60+
"startedDateTime": "2025-06-12T14:01:06.563Z",
61+
"time": 328
6262
}
6363
],
6464
"pages": [],

features/v2/security_monitoring.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ Feature: Security Monitoring
10951095
Scenario: Run a historical job returns "Not Found" response
10961096
Given operation "RunHistoricalJob" enabled
10971097
And new "RunHistoricalJob" request
1098-
And body with value {"data": { "type": "historicalDetectionsJobCreate", "attributes": {"fromRule": {"caseIndex": 0, "from": 1730201035064, "id": "non-existng", "index": "main", "notifications": [], "to": 1730204635115}}}}
1098+
And body with value {"data": { "type": "historicalDetectionsJobCreate", "attributes": {"fromRule": {"from": 1730201035064, "id": "non-existng", "index": "main", "notifications": [], "to": 1730204635115}}}}
10991099
When the request is sent
11001100
Then the response status is 404 Not Found
11011101

packages/datadog-api-client-v2/models/JobDefinitionFromRule.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1010
* Definition of a historical job based on a security monitoring rule.
1111
*/
1212
export class JobDefinitionFromRule {
13-
/**
14-
* Index of the rule case applied by the job.
15-
*/
16-
"caseIndex": number;
1713
/**
1814
* Starting time of data analyzed by the job.
1915
*/
@@ -51,12 +47,6 @@ export class JobDefinitionFromRule {
5147
* @ignore
5248
*/
5349
static readonly attributeTypeMap: AttributeTypeMap = {
54-
caseIndex: {
55-
baseName: "caseIndex",
56-
type: "number",
57-
required: true,
58-
format: "int32",
59-
},
6050
from: {
6151
baseName: "from",
6252
type: "number",

0 commit comments

Comments
 (0)