@@ -1041,6 +1041,11 @@ def __init__(self, api_client=None):
1041
1041
"attribute" : "filter[resource_type]" ,
1042
1042
"location" : "query" ,
1043
1043
},
1044
+ "filter_resource_id" : {
1045
+ "openapi_types" : (str ,),
1046
+ "attribute" : "filter[@resource_id]" ,
1047
+ "location" : "query" ,
1048
+ },
1044
1049
"filter_discovery_timestamp" : {
1045
1050
"openapi_types" : (str ,),
1046
1051
"attribute" : "filter[discovery_timestamp]" ,
@@ -2613,6 +2618,7 @@ def list_findings(
2613
2618
filter_rule_id : Union [str , UnsetType ] = unset ,
2614
2619
filter_rule_name : Union [str , UnsetType ] = unset ,
2615
2620
filter_resource_type : Union [str , UnsetType ] = unset ,
2621
+ filter_resource_id : Union [str , UnsetType ] = unset ,
2616
2622
filter_discovery_timestamp : Union [str , UnsetType ] = unset ,
2617
2623
filter_evaluation : Union [FindingEvaluation , UnsetType ] = unset ,
2618
2624
filter_status : Union [FindingStatus , UnsetType ] = unset ,
@@ -2654,6 +2660,7 @@ def list_findings(
2654
2660
* ``external_id`` : The resource external ID related to the finding.
2655
2661
* ``description`` : The description and remediation steps for the finding.
2656
2662
* ``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.
2657
2664
2658
2665
**Response**
2659
2666
@@ -2684,6 +2691,8 @@ def list_findings(
2684
2691
:type filter_rule_name: str, optional
2685
2692
:param filter_resource_type: Return only findings for the specified resource type.
2686
2693
: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
2687
2696
:param filter_discovery_timestamp: Return findings that were found on a specified date (Unix ms) or date range (using comparison operators).
2688
2697
:type filter_discovery_timestamp: str, optional
2689
2698
:param filter_evaluation: Return only ``pass`` or ``fail`` findings.
@@ -2724,6 +2733,9 @@ def list_findings(
2724
2733
if filter_resource_type is not unset :
2725
2734
kwargs ["filter_resource_type" ] = filter_resource_type
2726
2735
2736
+ if filter_resource_id is not unset :
2737
+ kwargs ["filter_resource_id" ] = filter_resource_id
2738
+
2727
2739
if filter_discovery_timestamp is not unset :
2728
2740
kwargs ["filter_discovery_timestamp" ] = filter_discovery_timestamp
2729
2741
@@ -2753,6 +2765,7 @@ def list_findings_with_pagination(
2753
2765
filter_rule_id : Union [str , UnsetType ] = unset ,
2754
2766
filter_rule_name : Union [str , UnsetType ] = unset ,
2755
2767
filter_resource_type : Union [str , UnsetType ] = unset ,
2768
+ filter_resource_id : Union [str , UnsetType ] = unset ,
2756
2769
filter_discovery_timestamp : Union [str , UnsetType ] = unset ,
2757
2770
filter_evaluation : Union [FindingEvaluation , UnsetType ] = unset ,
2758
2771
filter_status : Union [FindingStatus , UnsetType ] = unset ,
@@ -2781,6 +2794,8 @@ def list_findings_with_pagination(
2781
2794
:type filter_rule_name: str, optional
2782
2795
:param filter_resource_type: Return only findings for the specified resource type.
2783
2796
: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
2784
2799
:param filter_discovery_timestamp: Return findings that were found on a specified date (Unix ms) or date range (using comparison operators).
2785
2800
:type filter_discovery_timestamp: str, optional
2786
2801
:param filter_evaluation: Return only ``pass`` or ``fail`` findings.
@@ -2823,6 +2838,9 @@ def list_findings_with_pagination(
2823
2838
if filter_resource_type is not unset :
2824
2839
kwargs ["filter_resource_type" ] = filter_resource_type
2825
2840
2841
+ if filter_resource_id is not unset :
2842
+ kwargs ["filter_resource_id" ] = filter_resource_id
2843
+
2826
2844
if filter_discovery_timestamp is not unset :
2827
2845
kwargs ["filter_discovery_timestamp" ] = filter_discovery_timestamp
2828
2846
0 commit comments