Skip to content

Commit ffa47b3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5aaea1b of spec repo
1 parent 1f9083c commit ffa47b3

File tree

3 files changed

+33
-8
lines changed

3 files changed

+33
-8
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "df31e44",
3-
"generated": "2025-07-28 19:54:45.232"
2+
"spec_repo_commit": "5aaea1b",
3+
"generated": "2025-07-30 10:43:42.266"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56012,12 +56012,13 @@ paths:
5601256012
following fields are available for findings:\n- `external_id`: The resource
5601356013
external ID related to the finding.\n- `description`: The description and
5601456014
remediation steps for the finding.\n- `datadog_link`: The Datadog relative
56015-
link for the finding.\n\n### Response\n\nThe response includes an array of
56016-
finding objects, pagination metadata, and a count of items that match the
56017-
query.\n\nEach finding object contains the following:\n\n- The finding ID
56018-
that can be used in a `GetFinding` request to retrieve the full finding details.\n-
56019-
Core attributes, including status, evaluation, high-level resource details,
56020-
muted state, and rule details.\n- `evaluation_changed_at` and `resource_discovery_date`
56015+
link for the finding.\n- `ip_addresses`: The list of private IP addresses
56016+
for the resource related to the finding.\n\n### Response\n\nThe response includes
56017+
an array of finding objects, pagination metadata, and a count of items that
56018+
match the query.\n\nEach finding object contains the following:\n\n- The finding
56019+
ID that can be used in a `GetFinding` request to retrieve the full finding
56020+
details.\n- Core attributes, including status, evaluation, high-level resource
56021+
details, muted state, and rule details.\n- `evaluation_changed_at` and `resource_discovery_date`
5602156022
time stamps.\n- An array of associated tags.\n"
5602256023
operationId: ListFindings
5602356024
parameters:
@@ -56088,6 +56089,12 @@ paths:
5608856089
required: false
5608956090
schema:
5609056091
type: string
56092+
- description: Return only findings for the specified resource id.
56093+
in: query
56094+
name: filter[@resource_id]
56095+
required: false
56096+
schema:
56097+
type: string
5609156098
- description: Return findings that were found on a specified date (Unix ms)
5609256099
or date range (using comparison operators).
5609356100
example: '>=1678721573794'

src/datadog_api_client/v2/api/security_monitoring_api.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,11 @@ def __init__(self, api_client=None):
10411041
"attribute": "filter[resource_type]",
10421042
"location": "query",
10431043
},
1044+
"filter_resource_id": {
1045+
"openapi_types": (str,),
1046+
"attribute": "filter[@resource_id]",
1047+
"location": "query",
1048+
},
10441049
"filter_discovery_timestamp": {
10451050
"openapi_types": (str,),
10461051
"attribute": "filter[discovery_timestamp]",
@@ -2613,6 +2618,7 @@ def list_findings(
26132618
filter_rule_id: Union[str, UnsetType] = unset,
26142619
filter_rule_name: Union[str, UnsetType] = unset,
26152620
filter_resource_type: Union[str, UnsetType] = unset,
2621+
filter_resource_id: Union[str, UnsetType] = unset,
26162622
filter_discovery_timestamp: Union[str, UnsetType] = unset,
26172623
filter_evaluation: Union[FindingEvaluation, UnsetType] = unset,
26182624
filter_status: Union[FindingStatus, UnsetType] = unset,
@@ -2654,6 +2660,7 @@ def list_findings(
26542660
* ``external_id`` : The resource external ID related to the finding.
26552661
* ``description`` : The description and remediation steps for the finding.
26562662
* ``datadog_link`` : The Datadog relative link for the finding.
2663+
* ``ip_addresses`` : The list of private IP addresses for the resource related to the finding.
26572664
26582665
**Response**
26592666
@@ -2684,6 +2691,8 @@ def list_findings(
26842691
:type filter_rule_name: str, optional
26852692
:param filter_resource_type: Return only findings for the specified resource type.
26862693
:type filter_resource_type: str, optional
2694+
:param filter_resource_id: Return only findings for the specified resource id.
2695+
:type filter_resource_id: str, optional
26872696
:param filter_discovery_timestamp: Return findings that were found on a specified date (Unix ms) or date range (using comparison operators).
26882697
:type filter_discovery_timestamp: str, optional
26892698
:param filter_evaluation: Return only ``pass`` or ``fail`` findings.
@@ -2724,6 +2733,9 @@ def list_findings(
27242733
if filter_resource_type is not unset:
27252734
kwargs["filter_resource_type"] = filter_resource_type
27262735

2736+
if filter_resource_id is not unset:
2737+
kwargs["filter_resource_id"] = filter_resource_id
2738+
27272739
if filter_discovery_timestamp is not unset:
27282740
kwargs["filter_discovery_timestamp"] = filter_discovery_timestamp
27292741

@@ -2753,6 +2765,7 @@ def list_findings_with_pagination(
27532765
filter_rule_id: Union[str, UnsetType] = unset,
27542766
filter_rule_name: Union[str, UnsetType] = unset,
27552767
filter_resource_type: Union[str, UnsetType] = unset,
2768+
filter_resource_id: Union[str, UnsetType] = unset,
27562769
filter_discovery_timestamp: Union[str, UnsetType] = unset,
27572770
filter_evaluation: Union[FindingEvaluation, UnsetType] = unset,
27582771
filter_status: Union[FindingStatus, UnsetType] = unset,
@@ -2781,6 +2794,8 @@ def list_findings_with_pagination(
27812794
:type filter_rule_name: str, optional
27822795
:param filter_resource_type: Return only findings for the specified resource type.
27832796
:type filter_resource_type: str, optional
2797+
:param filter_resource_id: Return only findings for the specified resource id.
2798+
:type filter_resource_id: str, optional
27842799
:param filter_discovery_timestamp: Return findings that were found on a specified date (Unix ms) or date range (using comparison operators).
27852800
:type filter_discovery_timestamp: str, optional
27862801
:param filter_evaluation: Return only ``pass`` or ``fail`` findings.
@@ -2823,6 +2838,9 @@ def list_findings_with_pagination(
28232838
if filter_resource_type is not unset:
28242839
kwargs["filter_resource_type"] = filter_resource_type
28252840

2841+
if filter_resource_id is not unset:
2842+
kwargs["filter_resource_id"] = filter_resource_id
2843+
28262844
if filter_discovery_timestamp is not unset:
28272845
kwargs["filter_discovery_timestamp"] = filter_discovery_timestamp
28282846

0 commit comments

Comments
 (0)