Package com.datadog.api.client.v2.api
Class ComplianceApi
java.lang.Object
com.datadog.api.client.v2.api.ComplianceApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ComplianceApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to getRuleBasedView. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the API client.getRuleBasedView(Long to) Deprecated.getRuleBasedView(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters) Deprecated.Deprecated.Deprecated.Deprecated.getRuleBasedViewWithHttpInfoAsync(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters) Deprecated.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
ComplianceApi
public ComplianceApi() -
ComplianceApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
getRuleBasedView
Deprecated.Get the rule-based view of compliance findings.- Parameters:
to- Timestamp of the query end, in milliseconds since the Unix epoch. (required)- Returns:
- RuleBasedViewResponse
- Throws:
ApiException- if fails to make API call
-
getRuleBasedViewAsync
Deprecated.Get the rule-based view of compliance findings.- Parameters:
to- Timestamp of the query end, in milliseconds since the Unix epoch. (required)- Returns:
- CompletableFuture<RuleBasedViewResponse>
-
getRuleBasedView
@Deprecated public RuleBasedViewResponse getRuleBasedView(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters) throws ApiException Deprecated.Get the rule-based view of compliance findings.- Parameters:
to- Timestamp of the query end, in milliseconds since the Unix epoch. (required)parameters- Optional parameters for the request.- Returns:
- RuleBasedViewResponse
- Throws:
ApiException- if fails to make API call
-
getRuleBasedViewAsync
@Deprecated public CompletableFuture<RuleBasedViewResponse> getRuleBasedViewAsync(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters) Deprecated.Get the rule-based view of compliance findings.- Parameters:
to- Timestamp of the query end, in milliseconds since the Unix epoch. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<RuleBasedViewResponse>
-
getRuleBasedViewWithHttpInfo
@Deprecated public ApiResponse<RuleBasedViewResponse> getRuleBasedViewWithHttpInfo(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters) throws ApiException Deprecated.This endpoint is deprecated. Use the Security Monitoring - Search Security Findings endpoint instead.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.
- Parameters:
to- Timestamp of the query end, in milliseconds since the Unix epoch. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<RuleBasedViewResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Not Authorized - 429 Too many requests - 503 Service Unavailable -
-
getRuleBasedViewWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<RuleBasedViewResponse>> getRuleBasedViewWithHttpInfoAsync(Long to, ComplianceApi.GetRuleBasedViewOptionalParameters parameters) Deprecated.Get the rule-based view of compliance findings.- Parameters:
to- Timestamp of the query end, in milliseconds since the Unix epoch. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<RuleBasedViewResponse>>
-