Skip to content

Commit 01fcafb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add missing cloud workload security fields (#1236)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent a6a95f9 commit 01fcafb

File tree

3 files changed

+53
-4
lines changed

3 files changed

+53
-4
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.5",
7-
"regenerated": "2023-07-11 16:39:40.978975",
8-
"spec_repo_commit": "824086bb"
7+
"regenerated": "2023-07-13 19:08:07.102067",
8+
"spec_repo_commit": "9ad4f63e"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-11 16:39:40.997312",
13-
"spec_repo_commit": "824086bb"
12+
"regenerated": "2023-07-13 19:08:07.115252",
13+
"spec_repo_commit": "9ad4f63e"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2756,10 +2756,17 @@ components:
27562756
CloudWorkloadSecurityAgentRuleAttributes:
27572757
description: A Cloud Workload Security Agent rule returned by the API.
27582758
properties:
2759+
agentConstraint:
2760+
description: The version of the agent.
2761+
type: string
27592762
category:
27602763
description: The category of the Agent rule.
27612764
example: Process Activity
27622765
type: string
2766+
creationAuthorUuId:
2767+
description: The ID of the user who created the rule.
2768+
example: e51c9744-d158-11ec-ad23-da7ad0900002
2769+
type: string
27632770
creationDate:
27642771
description: When the Agent rule was created, timestamp in milliseconds.
27652772
example: 1624366480320
@@ -2787,6 +2794,15 @@ components:
27872794
description: The name of the Agent rule.
27882795
example: my_agent_rule
27892796
type: string
2797+
updateAuthorUuId:
2798+
description: The ID of the user who updated the rule.
2799+
example: e51c9744-d158-11ec-ad23-da7ad0900002
2800+
type: string
2801+
updateDate:
2802+
description: Timestamp in milliseconds when the Agent rule was last updated.
2803+
example: 1624366480320
2804+
format: int64
2805+
type: integer
27902806
updatedAt:
27912807
description: When the Agent rule was last updated, timestamp in milliseconds.
27922808
example: 1624366480320

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,18 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1212
* A Cloud Workload Security Agent rule returned by the API.
1313
*/
1414
export class CloudWorkloadSecurityAgentRuleAttributes {
15+
/**
16+
* The version of the agent.
17+
*/
18+
"agentConstraint"?: string;
1519
/**
1620
* The category of the Agent rule.
1721
*/
1822
"category"?: string;
23+
/**
24+
* The ID of the user who created the rule.
25+
*/
26+
"creationAuthorUuId"?: string;
1927
/**
2028
* When the Agent rule was created, timestamp in milliseconds.
2129
*/
@@ -44,6 +52,14 @@ export class CloudWorkloadSecurityAgentRuleAttributes {
4452
* The name of the Agent rule.
4553
*/
4654
"name"?: string;
55+
/**
56+
* The ID of the user who updated the rule.
57+
*/
58+
"updateAuthorUuId"?: string;
59+
/**
60+
* Timestamp in milliseconds when the Agent rule was last updated.
61+
*/
62+
"updateDate"?: number;
4763
/**
4864
* When the Agent rule was last updated, timestamp in milliseconds.
4965
*/
@@ -66,10 +82,18 @@ export class CloudWorkloadSecurityAgentRuleAttributes {
6682
* @ignore
6783
*/
6884
static readonly attributeTypeMap: AttributeTypeMap = {
85+
agentConstraint: {
86+
baseName: "agentConstraint",
87+
type: "string",
88+
},
6989
category: {
7090
baseName: "category",
7191
type: "string",
7292
},
93+
creationAuthorUuId: {
94+
baseName: "creationAuthorUuId",
95+
type: "string",
96+
},
7397
creationDate: {
7498
baseName: "creationDate",
7599
type: "number",
@@ -99,6 +123,15 @@ export class CloudWorkloadSecurityAgentRuleAttributes {
99123
baseName: "name",
100124
type: "string",
101125
},
126+
updateAuthorUuId: {
127+
baseName: "updateAuthorUuId",
128+
type: "string",
129+
},
130+
updateDate: {
131+
baseName: "updateDate",
132+
type: "number",
133+
format: "int64",
134+
},
102135
updatedAt: {
103136
baseName: "updatedAt",
104137
type: "number",

0 commit comments

Comments
 (0)