Skip to content

Commit 78cb280

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 76086f13 of spec repo (#2434)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 2ef0f20 commit 78cb280

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-26 16:04:26.018345",
8-
"spec_repo_commit": "c051b78b"
7+
"regenerated": "2025-06-26 17:56:17.634630",
8+
"spec_repo_commit": "76086f13"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-26 16:04:26.034930",
13-
"spec_repo_commit": "c051b78b"
12+
"regenerated": "2025-06-26 17:56:17.650561",
13+
"spec_repo_commit": "76086f13"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19592,12 +19592,6 @@ components:
1959219592
JobDefinitionFromRule:
1959319593
description: Definition of a historical job based on a security monitoring rule.
1959419594
properties:
19595-
caseIndex:
19596-
description: Index of the rule case applied by the job.
19597-
example: 0
19598-
format: int32
19599-
maximum: 9
19600-
type: integer
1960119595
from:
1960219596
description: Starting time of data analyzed by the job.
1960319597
example: 1729843470000
@@ -19628,7 +19622,6 @@ components:
1962819622
- from
1962919623
- to
1963019624
- index
19631-
- caseIndex
1963219625
type: object
1963319626
KindAttributes:
1963419627
description: Kind attributes.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-11-08T09:54:40.192Z"
1+
"2025-06-26T16:57:47.524Z"

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-26T16:57:47.528Z",
61+
"time": 100
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)