Skip to content

Commit 8f11e43

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8026a6e of spec repo
1 parent 88bc3e4 commit 8f11e43

14 files changed

Lines changed: 104 additions & 8 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7731,6 +7731,10 @@ components:
77317731
AwsScanOptionsAttributes:
77327732
description: Attributes for the AWS scan options.
77337733
properties:
7734+
compliance_host:
7735+
description: Indicates whether host compliance scanning is enabled.
7736+
example: false
7737+
type: boolean
77347738
lambda:
77357739
description: Indicates if scanning of Lambda functions is enabled.
77367740
example: true
@@ -7751,6 +7755,10 @@ components:
77517755
AwsScanOptionsCreateAttributes:
77527756
description: Attributes for the AWS scan options to create.
77537757
properties:
7758+
compliance_host:
7759+
description: Indicates whether host compliance scanning is enabled.
7760+
example: false
7761+
type: boolean
77547762
lambda:
77557763
description: Indicates if scanning of Lambda functions is enabled.
77567764
example: true
@@ -7768,6 +7776,7 @@ components:
77687776
example: true
77697777
type: boolean
77707778
required:
7779+
- compliance_host
77717780
- lambda
77727781
- sensitive_data
77737782
- vuln_containers_os
@@ -7833,6 +7842,10 @@ components:
78337842
AwsScanOptionsUpdateAttributes:
78347843
description: Attributes for the AWS scan options to update.
78357844
properties:
7845+
compliance_host:
7846+
description: Indicates whether host compliance scanning is enabled.
7847+
example: false
7848+
type: boolean
78367849
lambda:
78377850
description: Indicates if scanning of Lambda functions is enabled.
78387851
example: true
@@ -7914,6 +7927,7 @@ components:
79147927
example:
79157928
data:
79167929
attributes:
7930+
compliance_host: false
79177931
vuln_containers_os: true
79187932
vuln_host_os: true
79197933
id: 12345678-90ab-cdef-1234-567890abcdef
@@ -7927,6 +7941,7 @@ components:
79277941
example:
79287942
data:
79297943
- attributes:
7944+
compliance_host: false
79307945
vuln_containers_os: true
79317946
vuln_host_os: true
79327947
id: 12345678-90ab-cdef-1234-567890abcdef
@@ -7958,6 +7973,9 @@ components:
79587973
AzureScanOptionsDataAttributes:
79597974
description: Attributes for Azure scan options configuration.
79607975
properties:
7976+
compliance_host:
7977+
description: Indicates whether host compliance scanning is enabled.
7978+
type: boolean
79617979
vuln_containers_os:
79627980
description: Indicates if scanning for vulnerabilities in containers is enabled.
79637981
type: boolean
@@ -8002,6 +8020,9 @@ components:
80028020
AzureScanOptionsInputUpdateDataAttributes:
80038021
description: Attributes for updating Azure scan options configuration.
80048022
properties:
8023+
compliance_host:
8024+
description: Indicates whether host compliance scanning is enabled.
8025+
type: boolean
80058026
vuln_containers_os:
80068027
description: Indicates if scanning for vulnerabilities in containers is enabled.
80078028
type: boolean
@@ -29874,6 +29895,7 @@ components:
2987429895
example:
2987529896
data:
2987629897
attributes:
29898+
compliance_host: false
2987729899
vuln_containers_os: true
2987829900
vuln_host_os: true
2987929901
id: company-project-id
@@ -29887,6 +29909,7 @@ components:
2988729909
example:
2988829910
data:
2988929911
- attributes:
29912+
compliance_host: false
2989029913
vuln_containers_os: true
2989129914
vuln_host_os: true
2989229915
id: company-project-id
@@ -29918,6 +29941,9 @@ components:
2991829941
GcpScanOptionsDataAttributes:
2991929942
description: Attributes for GCP scan options configuration.
2992029943
properties:
29944+
compliance_host:
29945+
description: Indicates whether host compliance scanning is enabled.
29946+
type: boolean
2992129947
vuln_containers_os:
2992229948
description: Indicates if scanning for vulnerabilities in containers is enabled.
2992329949
type: boolean
@@ -29962,6 +29988,9 @@ components:
2996229988
GcpScanOptionsInputUpdateDataAttributes:
2996329989
description: Attributes for updating GCP scan options configuration.
2996429990
properties:
29991+
compliance_host:
29992+
description: Indicates whether host compliance scanning is enabled.
29993+
type: boolean
2996529994
vuln_containers_os:
2996629995
description: Indicates if scanning for vulnerabilities in containers is enabled.
2996729996
type: boolean
@@ -85433,6 +85462,7 @@ paths:
8543385462
value:
8543485463
data:
8543585464
attributes:
85465+
compliance_host: false
8543685466
lambda: true
8543785467
sensitive_data: false
8543885468
vuln_containers_os: true
@@ -85530,6 +85560,7 @@ paths:
8553085560
value:
8553185561
data:
8553285562
attributes:
85563+
compliance_host: false
8553385564
lambda: true
8553485565
sensitive_data: false
8553585566
vuln_containers_os: true
@@ -85591,6 +85622,7 @@ paths:
8559185622
value:
8559285623
data:
8559385624
attributes:
85625+
compliance_host: false
8559485626
vuln_containers_os: true
8559585627
vuln_host_os: true
8559685628
id: 12345678-90ab-cdef-1234-567890abcdef
@@ -85749,6 +85781,7 @@ paths:
8574985781
value:
8575085782
data:
8575185783
attributes:
85784+
compliance_host: false
8575285785
vuln_containers_os: true
8575385786
vuln_host_os: true
8575485787
id: company-project-id

examples/v2/agentless-scanning/CreateAwsScanOptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
id="000000000003",
1515
type=AwsScanOptionsType.AWS_SCAN_OPTIONS,
1616
attributes=AwsScanOptionsCreateAttributes(
17+
compliance_host=True,
1718
_lambda=True,
1819
sensitive_data=False,
1920
vuln_containers_os=True,

src/datadog_api_client/v2/model/aws_scan_options_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ class AwsScanOptionsAttributes(ModelNormal):
1717
@cached_property
1818
def openapi_types(_):
1919
return {
20+
"compliance_host": (bool,),
2021
"_lambda": (bool,),
2122
"sensitive_data": (bool,),
2223
"vuln_containers_os": (bool,),
2324
"vuln_host_os": (bool,),
2425
}
2526

2627
attribute_map = {
28+
"compliance_host": "compliance_host",
2729
"_lambda": "lambda",
2830
"sensitive_data": "sensitive_data",
2931
"vuln_containers_os": "vuln_containers_os",
@@ -32,6 +34,7 @@ def openapi_types(_):
3234

3335
def __init__(
3436
self_,
37+
compliance_host: Union[bool, UnsetType] = unset,
3538
_lambda: Union[bool, UnsetType] = unset,
3639
sensitive_data: Union[bool, UnsetType] = unset,
3740
vuln_containers_os: Union[bool, UnsetType] = unset,
@@ -41,6 +44,9 @@ def __init__(
4144
"""
4245
Attributes for the AWS scan options.
4346
47+
:param compliance_host: Indicates whether host compliance scanning is enabled.
48+
:type compliance_host: bool, optional
49+
4450
:param _lambda: Indicates if scanning of Lambda functions is enabled.
4551
:type _lambda: bool, optional
4652
@@ -53,6 +59,8 @@ def __init__(
5359
:param vuln_host_os: Indicates if scanning for vulnerabilities in hosts is enabled.
5460
:type vuln_host_os: bool, optional
5561
"""
62+
if compliance_host is not unset:
63+
kwargs["compliance_host"] = compliance_host
5664
if _lambda is not unset:
5765
kwargs["_lambda"] = _lambda
5866
if sensitive_data is not unset:

src/datadog_api_client/v2/model/aws_scan_options_create_attributes.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,36 @@ class AwsScanOptionsCreateAttributes(ModelNormal):
1414
@cached_property
1515
def openapi_types(_):
1616
return {
17+
"compliance_host": (bool,),
1718
"_lambda": (bool,),
1819
"sensitive_data": (bool,),
1920
"vuln_containers_os": (bool,),
2021
"vuln_host_os": (bool,),
2122
}
2223

2324
attribute_map = {
25+
"compliance_host": "compliance_host",
2426
"_lambda": "lambda",
2527
"sensitive_data": "sensitive_data",
2628
"vuln_containers_os": "vuln_containers_os",
2729
"vuln_host_os": "vuln_host_os",
2830
}
2931

30-
def __init__(self_, _lambda: bool, sensitive_data: bool, vuln_containers_os: bool, vuln_host_os: bool, **kwargs):
32+
def __init__(
33+
self_,
34+
compliance_host: bool,
35+
_lambda: bool,
36+
sensitive_data: bool,
37+
vuln_containers_os: bool,
38+
vuln_host_os: bool,
39+
**kwargs,
40+
):
3141
"""
3242
Attributes for the AWS scan options to create.
3343
44+
:param compliance_host: Indicates whether host compliance scanning is enabled.
45+
:type compliance_host: bool
46+
3447
:param _lambda: Indicates if scanning of Lambda functions is enabled.
3548
:type _lambda: bool
3649
@@ -45,6 +58,7 @@ def __init__(self_, _lambda: bool, sensitive_data: bool, vuln_containers_os: boo
4558
"""
4659
super().__init__(kwargs)
4760

61+
self_.compliance_host = compliance_host
4862
self_._lambda = _lambda
4963
self_.sensitive_data = sensitive_data
5064
self_.vuln_containers_os = vuln_containers_os

src/datadog_api_client/v2/model/aws_scan_options_update_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ class AwsScanOptionsUpdateAttributes(ModelNormal):
1717
@cached_property
1818
def openapi_types(_):
1919
return {
20+
"compliance_host": (bool,),
2021
"_lambda": (bool,),
2122
"sensitive_data": (bool,),
2223
"vuln_containers_os": (bool,),
2324
"vuln_host_os": (bool,),
2425
}
2526

2627
attribute_map = {
28+
"compliance_host": "compliance_host",
2729
"_lambda": "lambda",
2830
"sensitive_data": "sensitive_data",
2931
"vuln_containers_os": "vuln_containers_os",
@@ -32,6 +34,7 @@ def openapi_types(_):
3234

3335
def __init__(
3436
self_,
37+
compliance_host: Union[bool, UnsetType] = unset,
3538
_lambda: Union[bool, UnsetType] = unset,
3639
sensitive_data: Union[bool, UnsetType] = unset,
3740
vuln_containers_os: Union[bool, UnsetType] = unset,
@@ -41,6 +44,9 @@ def __init__(
4144
"""
4245
Attributes for the AWS scan options to update.
4346
47+
:param compliance_host: Indicates whether host compliance scanning is enabled.
48+
:type compliance_host: bool, optional
49+
4450
:param _lambda: Indicates if scanning of Lambda functions is enabled.
4551
:type _lambda: bool, optional
4652
@@ -53,6 +59,8 @@ def __init__(
5359
:param vuln_host_os: Indicates if scanning for vulnerabilities in hosts is enabled.
5460
:type vuln_host_os: bool, optional
5561
"""
62+
if compliance_host is not unset:
63+
kwargs["compliance_host"] = compliance_host
5664
if _lambda is not unset:
5765
kwargs["_lambda"] = _lambda
5866
if sensitive_data is not unset:

src/datadog_api_client/v2/model/azure_scan_options_data_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,38 @@ class AzureScanOptionsDataAttributes(ModelNormal):
1717
@cached_property
1818
def openapi_types(_):
1919
return {
20+
"compliance_host": (bool,),
2021
"vuln_containers_os": (bool,),
2122
"vuln_host_os": (bool,),
2223
}
2324

2425
attribute_map = {
26+
"compliance_host": "compliance_host",
2527
"vuln_containers_os": "vuln_containers_os",
2628
"vuln_host_os": "vuln_host_os",
2729
}
2830

2931
def __init__(
3032
self_,
33+
compliance_host: Union[bool, UnsetType] = unset,
3134
vuln_containers_os: Union[bool, UnsetType] = unset,
3235
vuln_host_os: Union[bool, UnsetType] = unset,
3336
**kwargs,
3437
):
3538
"""
3639
Attributes for Azure scan options configuration.
3740
41+
:param compliance_host: Indicates whether host compliance scanning is enabled.
42+
:type compliance_host: bool, optional
43+
3844
:param vuln_containers_os: Indicates if scanning for vulnerabilities in containers is enabled.
3945
:type vuln_containers_os: bool, optional
4046
4147
:param vuln_host_os: Indicates if scanning for vulnerabilities in hosts is enabled.
4248
:type vuln_host_os: bool, optional
4349
"""
50+
if compliance_host is not unset:
51+
kwargs["compliance_host"] = compliance_host
4452
if vuln_containers_os is not unset:
4553
kwargs["vuln_containers_os"] = vuln_containers_os
4654
if vuln_host_os is not unset:

src/datadog_api_client/v2/model/azure_scan_options_input_update_data_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,38 @@ class AzureScanOptionsInputUpdateDataAttributes(ModelNormal):
1717
@cached_property
1818
def openapi_types(_):
1919
return {
20+
"compliance_host": (bool,),
2021
"vuln_containers_os": (bool,),
2122
"vuln_host_os": (bool,),
2223
}
2324

2425
attribute_map = {
26+
"compliance_host": "compliance_host",
2527
"vuln_containers_os": "vuln_containers_os",
2628
"vuln_host_os": "vuln_host_os",
2729
}
2830

2931
def __init__(
3032
self_,
33+
compliance_host: Union[bool, UnsetType] = unset,
3134
vuln_containers_os: Union[bool, UnsetType] = unset,
3235
vuln_host_os: Union[bool, UnsetType] = unset,
3336
**kwargs,
3437
):
3538
"""
3639
Attributes for updating Azure scan options configuration.
3740
41+
:param compliance_host: Indicates whether host compliance scanning is enabled.
42+
:type compliance_host: bool, optional
43+
3844
:param vuln_containers_os: Indicates if scanning for vulnerabilities in containers is enabled.
3945
:type vuln_containers_os: bool, optional
4046
4147
:param vuln_host_os: Indicates if scanning for vulnerabilities in hosts is enabled.
4248
:type vuln_host_os: bool, optional
4349
"""
50+
if compliance_host is not unset:
51+
kwargs["compliance_host"] = compliance_host
4452
if vuln_containers_os is not unset:
4553
kwargs["vuln_containers_os"] = vuln_containers_os
4654
if vuln_host_os is not unset:

0 commit comments

Comments
 (0)