Skip to content

Commit 9ebefc5

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e0a4a2f of spec repo
1 parent 78fb7bf commit 9ebefc5

8 files changed

Lines changed: 99 additions & 1 deletion

.generator/schemas/v2/openapi.yaml

Lines changed: 32 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 if scanning for host compliance 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 if scanning for host compliance is enabled.
7760+
example: false
7761+
type: boolean
77547762
lambda:
77557763
description: Indicates if scanning of Lambda functions is enabled.
77567764
example: true
@@ -7833,6 +7841,10 @@ components:
78337841
AwsScanOptionsUpdateAttributes:
78347842
description: Attributes for the AWS scan options to update.
78357843
properties:
7844+
compliance_host:
7845+
description: Indicates if scanning for host compliance is enabled.
7846+
example: false
7847+
type: boolean
78367848
lambda:
78377849
description: Indicates if scanning of Lambda functions is enabled.
78387850
example: true
@@ -7914,6 +7926,7 @@ components:
79147926
example:
79157927
data:
79167928
attributes:
7929+
compliance_host: false
79177930
vuln_containers_os: true
79187931
vuln_host_os: true
79197932
id: 12345678-90ab-cdef-1234-567890abcdef
@@ -7927,6 +7940,7 @@ components:
79277940
example:
79287941
data:
79297942
- attributes:
7943+
compliance_host: false
79307944
vuln_containers_os: true
79317945
vuln_host_os: true
79327946
id: 12345678-90ab-cdef-1234-567890abcdef
@@ -7958,6 +7972,9 @@ components:
79587972
AzureScanOptionsDataAttributes:
79597973
description: Attributes for Azure scan options configuration.
79607974
properties:
7975+
compliance_host:
7976+
description: Indicates if scanning for host compliance is enabled.
7977+
type: boolean
79617978
vuln_containers_os:
79627979
description: Indicates if scanning for vulnerabilities in containers is enabled.
79637980
type: boolean
@@ -8002,6 +8019,9 @@ components:
80028019
AzureScanOptionsInputUpdateDataAttributes:
80038020
description: Attributes for updating Azure scan options configuration.
80048021
properties:
8022+
compliance_host:
8023+
description: Indicates if scanning for host compliance is enabled.
8024+
type: boolean
80058025
vuln_containers_os:
80068026
description: Indicates if scanning for vulnerabilities in containers is enabled.
80078027
type: boolean
@@ -29874,6 +29894,7 @@ components:
2987429894
example:
2987529895
data:
2987629896
attributes:
29897+
compliance_host: false
2987729898
vuln_containers_os: true
2987829899
vuln_host_os: true
2987929900
id: company-project-id
@@ -29887,6 +29908,7 @@ components:
2988729908
example:
2988829909
data:
2988929910
- attributes:
29911+
compliance_host: false
2989029912
vuln_containers_os: true
2989129913
vuln_host_os: true
2989229914
id: company-project-id
@@ -29918,6 +29940,9 @@ components:
2991829940
GcpScanOptionsDataAttributes:
2991929941
description: Attributes for GCP scan options configuration.
2992029942
properties:
29943+
compliance_host:
29944+
description: Indicates if scanning for host compliance is enabled.
29945+
type: boolean
2992129946
vuln_containers_os:
2992229947
description: Indicates if scanning for vulnerabilities in containers is enabled.
2992329948
type: boolean
@@ -29962,6 +29987,9 @@ components:
2996229987
GcpScanOptionsInputUpdateDataAttributes:
2996329988
description: Attributes for updating GCP scan options configuration.
2996429989
properties:
29990+
compliance_host:
29991+
description: Indicates if scanning for host compliance is enabled.
29992+
type: boolean
2996529993
vuln_containers_os:
2996629994
description: Indicates if scanning for vulnerabilities in containers is enabled.
2996729995
type: boolean
@@ -84531,6 +84559,7 @@ paths:
8453184559
value:
8453284560
data:
8453384561
attributes:
84562+
compliance_host: false
8453484563
lambda: true
8453584564
sensitive_data: false
8453684565
vuln_containers_os: true
@@ -84628,6 +84657,7 @@ paths:
8462884657
value:
8462984658
data:
8463084659
attributes:
84660+
compliance_host: false
8463184661
lambda: true
8463284662
sensitive_data: false
8463384663
vuln_containers_os: true
@@ -84689,6 +84719,7 @@ paths:
8468984719
value:
8469084720
data:
8469184721
attributes:
84722+
compliance_host: false
8469284723
vuln_containers_os: true
8469384724
vuln_host_os: true
8469484725
id: 12345678-90ab-cdef-1234-567890abcdef
@@ -84847,6 +84878,7 @@ paths:
8484784878
value:
8484884879
data:
8484984880
attributes:
84881+
compliance_host: false
8485084882
vuln_containers_os: true
8485184883
vuln_host_os: true
8485284884
id: company-project-id

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 if scanning for host compliance 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: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,50 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6+
from typing import Union
67

78
from datadog_api_client.model_utils import (
89
ModelNormal,
910
cached_property,
11+
unset,
12+
UnsetType,
1013
)
1114

1215

1316
class AwsScanOptionsCreateAttributes(ModelNormal):
1417
@cached_property
1518
def openapi_types(_):
1619
return {
20+
"compliance_host": (bool,),
1721
"_lambda": (bool,),
1822
"sensitive_data": (bool,),
1923
"vuln_containers_os": (bool,),
2024
"vuln_host_os": (bool,),
2125
}
2226

2327
attribute_map = {
28+
"compliance_host": "compliance_host",
2429
"_lambda": "lambda",
2530
"sensitive_data": "sensitive_data",
2631
"vuln_containers_os": "vuln_containers_os",
2732
"vuln_host_os": "vuln_host_os",
2833
}
2934

30-
def __init__(self_, _lambda: bool, sensitive_data: bool, vuln_containers_os: bool, vuln_host_os: bool, **kwargs):
35+
def __init__(
36+
self_,
37+
_lambda: bool,
38+
sensitive_data: bool,
39+
vuln_containers_os: bool,
40+
vuln_host_os: bool,
41+
compliance_host: Union[bool, UnsetType] = unset,
42+
**kwargs,
43+
):
3144
"""
3245
Attributes for the AWS scan options to create.
3346
47+
:param compliance_host: Indicates if scanning for host compliance is enabled.
48+
:type compliance_host: bool, optional
49+
3450
:param _lambda: Indicates if scanning of Lambda functions is enabled.
3551
:type _lambda: bool
3652
@@ -43,6 +59,8 @@ def __init__(self_, _lambda: bool, sensitive_data: bool, vuln_containers_os: boo
4359
:param vuln_host_os: Indicates if scanning for vulnerabilities in hosts is enabled.
4460
:type vuln_host_os: bool
4561
"""
62+
if compliance_host is not unset:
63+
kwargs["compliance_host"] = compliance_host
4664
super().__init__(kwargs)
4765

4866
self_._lambda = _lambda

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 if scanning for host compliance 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 if scanning for host compliance 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 if scanning for host compliance 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)