@@ -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