@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ComplianceApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ComplianceApi.GetRuleBasedViewOptionalParameters
Manage optional parameters to getRuleBasedView.
|
| Constructor and Description |
|---|
ComplianceApi() |
ComplianceApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient()
Get the API client.
|
RuleBasedViewResponse |
getRuleBasedView(Long to)
Deprecated.
|
RuleBasedViewResponse |
getRuleBasedView(Long to,
ComplianceApi.GetRuleBasedViewOptionalParameters parameters)
Deprecated.
|
CompletableFuture<RuleBasedViewResponse> |
getRuleBasedViewAsync(Long to)
Deprecated.
|
CompletableFuture<RuleBasedViewResponse> |
getRuleBasedViewAsync(Long to,
ComplianceApi.GetRuleBasedViewOptionalParameters parameters)
Deprecated.
|
ApiResponse<RuleBasedViewResponse> |
getRuleBasedViewWithHttpInfo(Long to,
ComplianceApi.GetRuleBasedViewOptionalParameters parameters)
Deprecated.
|
CompletableFuture<ApiResponse<RuleBasedViewResponse>> |
getRuleBasedViewWithHttpInfoAsync(Long to,
ComplianceApi.GetRuleBasedViewOptionalParameters parameters)
Deprecated.
|
void |
setApiClient(ApiClient apiClient)
Set the API client.
|
public ComplianceApi()
public ComplianceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API client@Deprecated public RuleBasedViewResponse getRuleBasedView(Long to) throws ApiException
to - Timestamp of the query end, in milliseconds since the Unix epoch. (required)ApiException - if fails to make API call@Deprecated public CompletableFuture<RuleBasedViewResponse> getRuleBasedViewAsync(Long to)
to - Timestamp of the query end, in milliseconds since the Unix epoch. (required)@Deprecated public RuleBasedViewResponse getRuleBasedView(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters) throws ApiException
to - Timestamp of the query end, in milliseconds since the Unix epoch. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call@Deprecated public CompletableFuture<RuleBasedViewResponse> getRuleBasedViewAsync(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters)
to - Timestamp of the query end, in milliseconds since the Unix epoch. (required)parameters - Optional parameters for the request.@Deprecated public ApiResponse<RuleBasedViewResponse> getRuleBasedViewWithHttpInfo(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters) throws ApiException
Get an aggregated view of compliance rules with their pass, fail, and muted finding counts. Supports filtering by compliance framework, framework version, and additional query filters.
to - Timestamp of the query end, in milliseconds since the Unix epoch. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
| 503 | Service Unavailable | - |
@Deprecated public CompletableFuture<ApiResponse<RuleBasedViewResponse>> getRuleBasedViewWithHttpInfoAsync(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters)
to - Timestamp of the query end, in milliseconds since the Unix epoch. (required)parameters - Optional parameters for the request.Copyright © 2026. All rights reserved.