Skip to content

Commit 0007b41

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1a0e3ba of spec repo
1 parent cbc06b7 commit 0007b41

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9421,9 +9421,18 @@ components:
94219421
append:
94229422
description: Whether the value should be appended to the field
94239423
type: boolean
9424+
default_value:
9425+
description: The default value of the set action
9426+
type: string
9427+
expression:
9428+
description: The expression of the set action
9429+
type: string
94249430
field:
94259431
description: The field of the set action
94269432
type: string
9433+
inherited:
9434+
description: Whether the value should be inherited
9435+
type: boolean
94279436
name:
94289437
description: The name of the set action
94299438
type: string
@@ -9543,6 +9552,9 @@ components:
95439552
properties:
95449553
actions:
95459554
$ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions'
9555+
agent_version:
9556+
description: Constrain the rule to specific versions of the Datadog Agent
9557+
type: string
95469558
blocking:
95479559
description: The blocking policies that the rule belongs to
95489560
items:

src/datadog_api_client/v2/model/cloud_workload_security_agent_rule_action_set.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ class CloudWorkloadSecurityAgentRuleActionSet(ModelNormal):
1818
def openapi_types(_):
1919
return {
2020
"append": (bool,),
21+
"default_value": (str,),
22+
"expression": (str,),
2123
"field": (str,),
24+
"inherited": (bool,),
2225
"name": (str,),
2326
"scope": (str,),
2427
"size": (int,),
@@ -28,7 +31,10 @@ def openapi_types(_):
2831

2932
attribute_map = {
3033
"append": "append",
34+
"default_value": "default_value",
35+
"expression": "expression",
3136
"field": "field",
37+
"inherited": "inherited",
3238
"name": "name",
3339
"scope": "scope",
3440
"size": "size",
@@ -39,7 +45,10 @@ def openapi_types(_):
3945
def __init__(
4046
self_,
4147
append: Union[bool, UnsetType] = unset,
48+
default_value: Union[str, UnsetType] = unset,
49+
expression: Union[str, UnsetType] = unset,
4250
field: Union[str, UnsetType] = unset,
51+
inherited: Union[bool, UnsetType] = unset,
4352
name: Union[str, UnsetType] = unset,
4453
scope: Union[str, UnsetType] = unset,
4554
size: Union[int, UnsetType] = unset,
@@ -53,9 +62,18 @@ def __init__(
5362
:param append: Whether the value should be appended to the field
5463
:type append: bool, optional
5564
65+
:param default_value: The default value of the set action
66+
:type default_value: str, optional
67+
68+
:param expression: The expression of the set action
69+
:type expression: str, optional
70+
5671
:param field: The field of the set action
5772
:type field: str, optional
5873
74+
:param inherited: Whether the value should be inherited
75+
:type inherited: bool, optional
76+
5977
:param name: The name of the set action
6078
:type name: str, optional
6179
@@ -73,8 +91,14 @@ def __init__(
7391
"""
7492
if append is not unset:
7593
kwargs["append"] = append
94+
if default_value is not unset:
95+
kwargs["default_value"] = default_value
96+
if expression is not unset:
97+
kwargs["expression"] = expression
7698
if field is not unset:
7799
kwargs["field"] = field
100+
if inherited is not unset:
101+
kwargs["inherited"] = inherited
78102
if name is not unset:
79103
kwargs["name"] = name
80104
if scope is not unset:

src/datadog_api_client/v2/model/cloud_workload_security_agent_rule_create_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def openapi_types(_):
2929

3030
return {
3131
"actions": ([CloudWorkloadSecurityAgentRuleAction],),
32+
"agent_version": (str,),
3233
"blocking": ([str],),
3334
"description": (str,),
3435
"disabled": ([str],),
@@ -43,6 +44,7 @@ def openapi_types(_):
4344

4445
attribute_map = {
4546
"actions": "actions",
47+
"agent_version": "agent_version",
4648
"blocking": "blocking",
4749
"description": "description",
4850
"disabled": "disabled",
@@ -60,6 +62,7 @@ def __init__(
6062
expression: str,
6163
name: str,
6264
actions: Union[List[CloudWorkloadSecurityAgentRuleAction], none_type, UnsetType] = unset,
65+
agent_version: Union[str, UnsetType] = unset,
6366
blocking: Union[List[str], UnsetType] = unset,
6467
description: Union[str, UnsetType] = unset,
6568
disabled: Union[List[str], UnsetType] = unset,
@@ -76,6 +79,9 @@ def __init__(
7679
:param actions: The array of actions the rule can perform if triggered
7780
:type actions: [CloudWorkloadSecurityAgentRuleAction], none_type, optional
7881
82+
:param agent_version: Constrain the rule to specific versions of the Datadog Agent
83+
:type agent_version: str, optional
84+
7985
:param blocking: The blocking policies that the rule belongs to
8086
:type blocking: [str], optional
8187
@@ -108,6 +114,8 @@ def __init__(
108114
"""
109115
if actions is not unset:
110116
kwargs["actions"] = actions
117+
if agent_version is not unset:
118+
kwargs["agent_version"] = agent_version
111119
if blocking is not unset:
112120
kwargs["blocking"] = blocking
113121
if description is not unset:

0 commit comments

Comments
 (0)