Skip to content

Commit a08b9ba

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 37786faa of spec repo
1 parent acb8def commit a08b9ba

File tree

5 files changed

+26
-5
lines changed

5 files changed

+26
-5
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-04-08 20:55:42.865376",
8-
"spec_repo_commit": "21cf6edb"
7+
"regenerated": "2025-04-09 12:18:29.271596",
8+
"spec_repo_commit": "37786faa"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-08 20:55:42.884212",
13-
"spec_repo_commit": "21cf6edb"
12+
"regenerated": "2025-04-09 12:18:29.288429",
13+
"spec_repo_commit": "37786faa"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27223,16 +27223,23 @@ components:
2722327223
format: int64
2722427224
minimum: 0
2722527225
type: integer
27226+
userBehaviorName:
27227+
$ref: '#/components/schemas/SecurityMonitoringRuleCaseActionOptionsUserBehaviorName'
2722627228
type: object
27229+
SecurityMonitoringRuleCaseActionOptionsUserBehaviorName:
27230+
description: Name of the user behavior.
27231+
type: string
2722727232
SecurityMonitoringRuleCaseActionType:
2722827233
description: The action type.
2722927234
enum:
2723027235
- block_ip
2723127236
- block_user
27237+
- user_behavior
2723227238
type: string
2723327239
x-enum-varnames:
2723427240
- BLOCK_IP
2723527241
- BLOCK_USER
27242+
- USER_BEHAVIOR
2723627243
SecurityMonitoringRuleCaseCreate:
2723727244
description: Case when signal is generated.
2723827245
properties:

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2361,7 +2361,11 @@ const enumsMap: { [key: string]: any[] } = {
23612361
SecurityFilterFilteredDataType: ["logs"],
23622362
SecurityFilterType: ["security_filters"],
23632363
SecurityMonitoringFilterAction: ["require", "suppress"],
2364-
SecurityMonitoringRuleCaseActionType: ["block_ip", "block_user"],
2364+
SecurityMonitoringRuleCaseActionType: [
2365+
"block_ip",
2366+
"block_user",
2367+
"user_behavior",
2368+
],
23652369
SecurityMonitoringRuleDetectionMethod: [
23662370
"threshold",
23672371
"new_value",

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ export class SecurityMonitoringRuleCaseActionOptions {
1414
* Duration of the action in seconds. 0 indicates no expiration.
1515
*/
1616
"duration"?: number;
17+
/**
18+
* Name of the user behavior.
19+
*/
20+
"userBehaviorName"?: string;
1721

1822
/**
1923
* A container for additional, undeclared properties.
@@ -36,6 +40,10 @@ export class SecurityMonitoringRuleCaseActionOptions {
3640
type: "number",
3741
format: "int64",
3842
},
43+
userBehaviorName: {
44+
baseName: "userBehaviorName",
45+
type: "string",
46+
},
3947
additionalProperties: {
4048
baseName: "additionalProperties",
4149
type: "any",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import { UnparsedObject } from "../../datadog-api-client-common/util";
1313
export type SecurityMonitoringRuleCaseActionType =
1414
| typeof BLOCK_IP
1515
| typeof BLOCK_USER
16+
| typeof USER_BEHAVIOR
1617
| UnparsedObject;
1718
export const BLOCK_IP = "block_ip";
1819
export const BLOCK_USER = "block_user";
20+
export const USER_BEHAVIOR = "user_behavior";

0 commit comments

Comments
 (0)