Skip to content

Commit eadffd1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[SEC-29149] Remove query param from get all critical assets endpoint (#3314)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent ca4fc36 commit eadffd1

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102212,13 +102212,6 @@ paths:
102212102212
get:
102213102213
description: Get the list of all critical assets.
102214102214
operationId: ListSecurityMonitoringCriticalAssets
102215-
parameters:
102216-
- description: Query string.
102217-
in: query
102218-
name: query
102219-
required: false
102220-
schema:
102221-
type: string
102222102215
responses:
102223102216
'200':
102224102217
content:

src/datadog_api_client/v2/api/security_monitoring_api.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,13 +1710,7 @@ def __init__(self, api_client=None):
17101710
"http_method": "GET",
17111711
"version": "v2",
17121712
},
1713-
params_map={
1714-
"query": {
1715-
"openapi_types": (str,),
1716-
"attribute": "query",
1717-
"location": "query",
1718-
},
1719-
},
1713+
params_map={},
17201714
headers_map={
17211715
"accept": ["application/json"],
17221716
},
@@ -4304,21 +4298,14 @@ def list_security_findings_with_pagination(
43044298

43054299
def list_security_monitoring_critical_assets(
43064300
self,
4307-
*,
4308-
query: Union[str, UnsetType] = unset,
43094301
) -> SecurityMonitoringCriticalAssetsResponse:
43104302
"""Get all critical assets.
43114303
43124304
Get the list of all critical assets.
43134305
4314-
:param query: Query string.
4315-
:type query: str, optional
43164306
:rtype: SecurityMonitoringCriticalAssetsResponse
43174307
"""
43184308
kwargs: Dict[str, Any] = {}
4319-
if query is not unset:
4320-
kwargs["query"] = query
4321-
43224309
return self._list_security_monitoring_critical_assets_endpoint.call_with_http_info(**kwargs)
43234310

43244311
def list_security_monitoring_histsignals(

0 commit comments

Comments
 (0)