Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "df31e44",
"generated": "2025-07-28 19:55:58.809"
"spec_repo_commit": "dcf594e",
"generated": "2025-07-31 09:56:59.725"
}
19 changes: 13 additions & 6 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56012,12 +56012,13 @@ paths:
following fields are available for findings:\n- `external_id`: The resource
external ID related to the finding.\n- `description`: The description and
remediation steps for the finding.\n- `datadog_link`: The Datadog relative
link for the finding.\n\n### Response\n\nThe response includes an array of
finding objects, pagination metadata, and a count of items that match the
query.\n\nEach finding object contains the following:\n\n- The finding ID
that can be used in a `GetFinding` request to retrieve the full finding details.\n-
Core attributes, including status, evaluation, high-level resource details,
muted state, and rule details.\n- `evaluation_changed_at` and `resource_discovery_date`
link for the finding.\n- `ip_addresses`: The list of private IP addresses
for the resource related to the finding.\n\n### Response\n\nThe response includes
an array of finding objects, pagination metadata, and a count of items that
match the query.\n\nEach finding object contains the following:\n\n- The finding
ID that can be used in a `GetFinding` request to retrieve the full finding
details.\n- Core attributes, including status, evaluation, high-level resource
details, muted state, and rule details.\n- `evaluation_changed_at` and `resource_discovery_date`
time stamps.\n- An array of associated tags.\n"
operationId: ListFindings
parameters:
Expand Down Expand Up @@ -56088,6 +56089,12 @@ paths:
required: false
schema:
type: string
- description: Return only findings for the specified resource id.
in: query
name: filter[@resource_id]
required: false
schema:
type: string
- description: Return findings that were found on a specified date (Unix ms)
or date range (using comparison operators).
example: '>=1678721573794'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5675,6 +5675,7 @@ public static class ListFindingsOptionalParameters {
private String filterRuleId;
private String filterRuleName;
private String filterResourceType;
private String filterResourceId;
private String filterDiscoveryTimestamp;
private FindingEvaluation filterEvaluation;
private FindingStatus filterStatus;
Expand Down Expand Up @@ -5785,6 +5786,17 @@ public ListFindingsOptionalParameters filterResourceType(String filterResourceTy
return this;
}

/**
* Set filterResourceId.
*
* @param filterResourceId Return only findings for the specified resource id. (optional)
* @return ListFindingsOptionalParameters
*/
public ListFindingsOptionalParameters filterResourceId(String filterResourceId) {
this.filterResourceId = filterResourceId;
return this;
}

/**
* Set filterDiscoveryTimestamp.
*
Expand Down Expand Up @@ -6004,6 +6016,8 @@ public PaginationIterable<Finding> listFindingsWithPagination(
* <p>The following fields are available for findings: - <code>external_id</code>: The resource
* external ID related to the finding. - <code>description</code>: The description and remediation
* steps for the finding. - <code>datadog_link</code>: The Datadog relative link for the finding.
* - <code>ip_addresses</code>: The list of private IP addresses for the resource related to the
* finding.
*
* <h3>Response</h3>
*
Expand Down Expand Up @@ -6054,6 +6068,7 @@ public ApiResponse<ListFindingsResponse> listFindingsWithHttpInfo(
String filterRuleId = parameters.filterRuleId;
String filterRuleName = parameters.filterRuleName;
String filterResourceType = parameters.filterResourceType;
String filterResourceId = parameters.filterResourceId;
String filterDiscoveryTimestamp = parameters.filterDiscoveryTimestamp;
FindingEvaluation filterEvaluation = parameters.filterEvaluation;
FindingStatus filterStatus = parameters.filterStatus;
Expand All @@ -6077,6 +6092,8 @@ public ApiResponse<ListFindingsResponse> listFindingsWithHttpInfo(
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[rule_name]", filterRuleName));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[resource_type]", filterResourceType));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[@resource_id]", filterResourceId));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[discovery_timestamp]", filterDiscoveryTimestamp));
localVarQueryParams.addAll(
Expand Down Expand Up @@ -6137,6 +6154,7 @@ public CompletableFuture<ApiResponse<ListFindingsResponse>> listFindingsWithHttp
String filterRuleId = parameters.filterRuleId;
String filterRuleName = parameters.filterRuleName;
String filterResourceType = parameters.filterResourceType;
String filterResourceId = parameters.filterResourceId;
String filterDiscoveryTimestamp = parameters.filterDiscoveryTimestamp;
FindingEvaluation filterEvaluation = parameters.filterEvaluation;
FindingStatus filterStatus = parameters.filterStatus;
Expand All @@ -6160,6 +6178,8 @@ public CompletableFuture<ApiResponse<ListFindingsResponse>> listFindingsWithHttp
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[rule_name]", filterRuleName));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[resource_type]", filterResourceType));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[@resource_id]", filterResourceId));
localVarQueryParams.addAll(
apiClient.parameterToPairs("", "filter[discovery_timestamp]", filterDiscoveryTimestamp));
localVarQueryParams.addAll(
Expand Down