@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public class CloudGuardAsyncClient extends BaseAsyncClient implements CloudGuardAsync
Async client implementation for CloudGuard service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
to the call is an InputStream
, like getObject Api in object storage service,
developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done
with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or
the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
whether or not the request was completed via Future.isDone/isCancelled.
Please refer to
https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
Modifier and Type | Class and Description |
---|---|
static class |
CloudGuardAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for CloudGuard.
|
Constructor and Description |
---|
CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for CloudGuard.
public final String clientCommonLibraryVersion
@Deprecated public CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public CloudGuardAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public CloudGuardAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CloudGuardAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
public static CloudGuardAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
CloudGuardAsync
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this region, however, an
IllegalArgumentException will be raised.
setRegion
in interface CloudGuardAsync
region
- The region of the service.public void setRegion(String regionId)
CloudGuardAsync
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default
endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
setRegion
in interface CloudGuardAsync
regionId
- The public region ID.public Future<AddCompartmentResponse> addCompartment(AddCompartmentRequest request, AsyncHandler<AddCompartmentRequest,AddCompartmentResponse> handler)
CloudGuardAsync
Adds a compartment to an existing security zone (SecurityZone resource), identified by securityZoneId. Specify parameters in an AddCompartmentDetails resource that you pass. If you previously removed a subcompartment from a security zone, you can add it back to the same security zone. The security zone ensures that resources in the subcompartment comply with the security zone’s policies.
addCompartment
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
CloudGuardAsync
Cancels a work request identified by workRequestId.
cancelWorkRequest
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeDataSourceCompartmentResponse> changeDataSourceCompartment(ChangeDataSourceCompartmentRequest request, AsyncHandler<ChangeDataSourceCompartmentRequest,ChangeDataSourceCompartmentResponse> handler)
CloudGuardAsync
Moves a data source (DataSource resource), identified by parameters passed in a ChangeDataSourceCompartmentDetails resource, from the current compartment to another.
changeDataSourceCompartment
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeDetectorRecipeCompartmentResponse> changeDetectorRecipeCompartment(ChangeDetectorRecipeCompartmentRequest request, AsyncHandler<ChangeDetectorRecipeCompartmentRequest,ChangeDetectorRecipeCompartmentResponse> handler)
CloudGuardAsync
Moves the detector recipe (DetectorRecipe resource), identified by detectorRecipeId, from the current compartment to another compartment. When provided, If-Match is checked against etag values of the resource.
changeDetectorRecipeCompartment
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeManagedListCompartmentResponse> changeManagedListCompartment(ChangeManagedListCompartmentRequest request, AsyncHandler<ChangeManagedListCompartmentRequest,ChangeManagedListCompartmentResponse> handler)
CloudGuardAsync
Moves the managed list (ManagedList resource), identified by managedListId, from the current compartment to another compartment.
changeManagedListCompartment
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeResponderRecipeCompartmentResponse> changeResponderRecipeCompartment(ChangeResponderRecipeCompartmentRequest request, AsyncHandler<ChangeResponderRecipeCompartmentRequest,ChangeResponderRecipeCompartmentResponse> handler)
CloudGuardAsync
Moves the responder recipe (ResponderRecipe resource), identified by responderRecipeId in a ChangeResponderRecipeCompartmentDetails resource, from the current compartment to another compartment. When provided, if-match is checked against etag values of the resource.
changeResponderRecipeCompartment
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSavedQueryCompartmentResponse> changeSavedQueryCompartment(ChangeSavedQueryCompartmentRequest request, AsyncHandler<ChangeSavedQueryCompartmentRequest,ChangeSavedQueryCompartmentResponse> handler)
CloudGuardAsync
Moves the SavedQuery resource into a different compartment. When provided, If-Match is checked against etag values of the resource.
changeSavedQueryCompartment
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSecurityRecipeCompartmentResponse> changeSecurityRecipeCompartment(ChangeSecurityRecipeCompartmentRequest request, AsyncHandler<ChangeSecurityRecipeCompartmentRequest,ChangeSecurityRecipeCompartmentResponse> handler)
CloudGuardAsync
Moves the security recipe (SecurityRecipe resource), identified by securityRecipeId, from the
current compartment to another compartment. When provided, if-match
is checked against
etag
values of the resource.
changeSecurityRecipeCompartment
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSecurityZoneCompartmentResponse> changeSecurityZoneCompartment(ChangeSecurityZoneCompartmentRequest request, AsyncHandler<ChangeSecurityZoneCompartmentRequest,ChangeSecurityZoneCompartmentResponse> handler)
CloudGuardAsync
Moves a security zone, identified by securityZoneId, to a different compartment. Pass
parameters through a ChangeSecurityZoneCompartmentDetails resource. When provided, if-match
is checked against etag
values of the resource.
changeSecurityZoneCompartment
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateAdhocQueryResponse> createAdhocQuery(CreateAdhocQueryRequest request, AsyncHandler<CreateAdhocQueryRequest,CreateAdhocQueryResponse> handler)
CloudGuardAsync
Creates a AdhocQuery resource.
createAdhocQuery
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDataMaskRuleResponse> createDataMaskRule(CreateDataMaskRuleRequest request, AsyncHandler<CreateDataMaskRuleRequest,CreateDataMaskRuleResponse> handler)
CloudGuardAsync
Creates a new DataMaskRule resource definition.
createDataMaskRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDataSourceResponse> createDataSource(CreateDataSourceRequest request, AsyncHandler<CreateDataSourceRequest,CreateDataSourceResponse> handler)
CloudGuardAsync
Creates a data source (DataSource resource), using parameters passed through a CreateDataSourceDetails resource.
createDataSource
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDetectorRecipeResponse> createDetectorRecipe(CreateDetectorRecipeRequest request, AsyncHandler<CreateDetectorRecipeRequest,CreateDetectorRecipeResponse> handler)
CloudGuardAsync
Creates a new DetectorRecipe resource.
createDetectorRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDetectorRecipeDetectorRuleResponse> createDetectorRecipeDetectorRule(CreateDetectorRecipeDetectorRuleRequest request, AsyncHandler<CreateDetectorRecipeDetectorRuleRequest,CreateDetectorRecipeDetectorRuleResponse> handler)
CloudGuardAsync
Creates a detector rule.
createDetectorRecipeDetectorRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateManagedListResponse> createManagedList(CreateManagedListRequest request, AsyncHandler<CreateManagedListRequest,CreateManagedListResponse> handler)
CloudGuardAsync
Creates a new ManagedList resource.
createManagedList
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateResponderRecipeResponse> createResponderRecipe(CreateResponderRecipeRequest request, AsyncHandler<CreateResponderRecipeRequest,CreateResponderRecipeResponse> handler)
CloudGuardAsync
Creates a responder recipe (ResponderRecipe resource), from values passed in a CreateResponderRecipeDetails resource.
createResponderRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSavedQueryResponse> createSavedQuery(CreateSavedQueryRequest request, AsyncHandler<CreateSavedQueryRequest,CreateSavedQueryResponse> handler)
CloudGuardAsync
Creates a SavedQuery resource.
createSavedQuery
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSecurityRecipeResponse> createSecurityRecipe(CreateSecurityRecipeRequest request, AsyncHandler<CreateSecurityRecipeRequest,CreateSecurityRecipeResponse> handler)
CloudGuardAsync
Creates a security zone recipe (SecurityRecipe resource), using parameters passed in a CreateSecurityRecipeDetails resource.
createSecurityRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSecurityZoneResponse> createSecurityZone(CreateSecurityZoneRequest request, AsyncHandler<CreateSecurityZoneRequest,CreateSecurityZoneResponse> handler)
CloudGuardAsync
Creates a security zone (SecurityZone resource) for a compartment. Pass parameters through a CreateSecurityZoneDetails resource.
createSecurityZone
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTargetResponse> createTarget(CreateTargetRequest request, AsyncHandler<CreateTargetRequest,CreateTargetResponse> handler)
CloudGuardAsync
Creates a target (Target resource), using parameters passed in a CreateTargetDetails resource.
createTarget
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTargetDetectorRecipeResponse> createTargetDetectorRecipe(CreateTargetDetectorRecipeRequest request, AsyncHandler<CreateTargetDetectorRecipeRequest,CreateTargetDetectorRecipeResponse> handler)
CloudGuardAsync
Attaches a DetectorRecipe to a target (Target resource) identified by targetId, using parameters passed in a TargetAttachTargetDetectorRecipeDetails resource. Attach a DetectorRecipe with the Target
createTargetDetectorRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTargetResponderRecipeResponse> createTargetResponderRecipe(CreateTargetResponderRecipeRequest request, AsyncHandler<CreateTargetResponderRecipeRequest,CreateTargetResponderRecipeResponse> handler)
CloudGuardAsync
Attaches a responder recipe to a target.
createTargetResponderRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateWlpAgentResponse> createWlpAgent(CreateWlpAgentRequest request, AsyncHandler<CreateWlpAgentRequest,CreateWlpAgentResponse> handler)
CloudGuardAsync
Creates and registers a WLP agent for an on-premise resource.
createWlpAgent
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteAdhocQueryResponse> deleteAdhocQuery(DeleteAdhocQueryRequest request, AsyncHandler<DeleteAdhocQueryRequest,DeleteAdhocQueryResponse> handler)
CloudGuardAsync
Deletes a AdhocQuery resource identified by adhocQueryId.
deleteAdhocQuery
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDataMaskRuleResponse> deleteDataMaskRule(DeleteDataMaskRuleRequest request, AsyncHandler<DeleteDataMaskRuleRequest,DeleteDataMaskRuleResponse> handler)
CloudGuardAsync
Deletes a DataMaskRule resource, identified by dataMaskRuleId.
deleteDataMaskRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDataSourceResponse> deleteDataSource(DeleteDataSourceRequest request, AsyncHandler<DeleteDataSourceRequest,DeleteDataSourceResponse> handler)
CloudGuardAsync
Deletes a data source (DataSource resource) identified by dataSourceId.
deleteDataSource
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDetectorRecipeResponse> deleteDetectorRecipe(DeleteDetectorRecipeRequest request, AsyncHandler<DeleteDetectorRecipeRequest,DeleteDetectorRecipeResponse> handler)
CloudGuardAsync
Deletes a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
deleteDetectorRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDetectorRecipeDetectorRuleResponse> deleteDetectorRecipeDetectorRule(DeleteDetectorRecipeDetectorRuleRequest request, AsyncHandler<DeleteDetectorRecipeDetectorRuleRequest,DeleteDetectorRecipeDetectorRuleResponse> handler)
CloudGuardAsync
Deletes the DetectorRecipeDetectorRule resource identified by detectorRuleId.
deleteDetectorRecipeDetectorRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDetectorRecipeDetectorRuleDataSourceResponse> deleteDetectorRecipeDetectorRuleDataSource(DeleteDetectorRecipeDetectorRuleDataSourceRequest request, AsyncHandler<DeleteDetectorRecipeDetectorRuleDataSourceRequest,DeleteDetectorRecipeDetectorRuleDataSourceResponse> handler)
CloudGuardAsync
Deletes the DetectorRecipeDetectorRuleDataSource resource by identifier.
deleteDetectorRecipeDetectorRuleDataSource
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteManagedListResponse> deleteManagedList(DeleteManagedListRequest request, AsyncHandler<DeleteManagedListRequest,DeleteManagedListResponse> handler)
CloudGuardAsync
Deletes a managed list identified by managedListId.
deleteManagedList
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteResponderRecipeResponse> deleteResponderRecipe(DeleteResponderRecipeRequest request, AsyncHandler<DeleteResponderRecipeRequest,DeleteResponderRecipeResponse> handler)
CloudGuardAsync
Deletes a responder recipe (ResponderRecipe resource) identified by responderRecipeId.
deleteResponderRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSavedQueryResponse> deleteSavedQuery(DeleteSavedQueryRequest request, AsyncHandler<DeleteSavedQueryRequest,DeleteSavedQueryResponse> handler)
CloudGuardAsync
Deletes a SavedQuery resource identified by savedQueryId.
deleteSavedQuery
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSecurityRecipeResponse> deleteSecurityRecipe(DeleteSecurityRecipeRequest request, AsyncHandler<DeleteSecurityRecipeRequest,DeleteSecurityRecipeResponse> handler)
CloudGuardAsync
Deletes a security zone recipe, identified by securityRecipeId. The recipe can’t be associated with an existing security zone.
deleteSecurityRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSecurityZoneResponse> deleteSecurityZone(DeleteSecurityZoneRequest request, AsyncHandler<DeleteSecurityZoneRequest,DeleteSecurityZoneResponse> handler)
CloudGuardAsync
Deletes a security zone, identified by securityZoneId.
deleteSecurityZone
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteTargetResponse> deleteTarget(DeleteTargetRequest request, AsyncHandler<DeleteTargetRequest,DeleteTargetResponse> handler)
CloudGuardAsync
Deletes a target (Target resource) identified by targetId.
deleteTarget
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteTargetDetectorRecipeResponse> deleteTargetDetectorRecipe(DeleteTargetDetectorRecipeRequest request, AsyncHandler<DeleteTargetDetectorRecipeRequest,DeleteTargetDetectorRecipeResponse> handler)
CloudGuardAsync
Deletes the target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId, from a target (Target resource) identified by targetId.
deleteTargetDetectorRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteTargetResponderRecipeResponse> deleteTargetResponderRecipe(DeleteTargetResponderRecipeRequest request, AsyncHandler<DeleteTargetResponderRecipeRequest,DeleteTargetResponderRecipeResponse> handler)
CloudGuardAsync
Detaches a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, from a target (Target resource) identified by targetId.
deleteTargetResponderRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteWlpAgentResponse> deleteWlpAgent(DeleteWlpAgentRequest request, AsyncHandler<DeleteWlpAgentRequest,DeleteWlpAgentResponse> handler)
CloudGuardAsync
Deletes and unregisters the WLP agent for an on-premise resource. x-obmcs-splat: routing: strategy: route-to-any-ad serviceList: [ ‘cloudguard-cp-SPLAT_ENV’ ] resources: wlpAgent: serviceResourceName: WlpAgent targetCompartmentId: downstream.getOr404(‘cloudguard-cp-SPLAT_ENV’, ‘GetWlpAgent’, request.resourceId).compartmentId actionKind: delete resourceOcid: request.resourceId reconciliationCanStartAfterSecs: 30 permissions: [ "WLP_AGENT_DELETE" ] authorization: mode: automated check: resources[‘wlpAgent’].grantedPermissions.contains(‘WLP_AGENT_DELETE’) allowCrossTenancy: true tagStore: mode: automated maximumAttemptCount: 3 throttling: perUserLimit: rpsLimit: 15 perTenantLimit: rpsLimit: 30 quotas: mode: automated search: mode: backfilling operationResourceName: wlpAgent lock: mode: test operationResourceName: wlpAgent
deleteWlpAgent
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ExecuteResponderExecutionResponse> executeResponderExecution(ExecuteResponderExecutionRequest request, AsyncHandler<ExecuteResponderExecutionRequest,ExecuteResponderExecutionResponse> handler)
CloudGuardAsync
Executes the responder execution. When provided, if-match is checked against etag values of the resource.
executeResponderExecution
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAdhocQueryResponse> getAdhocQuery(GetAdhocQueryRequest request, AsyncHandler<GetAdhocQueryRequest,GetAdhocQueryResponse> handler)
CloudGuardAsync
Returns an adhoc query identified by adhocQueryId.
getAdhocQuery
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAdhocQueryResultContentResponse> getAdhocQueryResultContent(GetAdhocQueryResultContentRequest request, AsyncHandler<GetAdhocQueryResultContentRequest,GetAdhocQueryResultContentResponse> handler)
CloudGuardAsync
Downloads the results for a given adhoc ID (from includes results from all monitoring regions).
getAdhocQueryResultContent
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetConditionMetadataTypeResponse> getConditionMetadataType(GetConditionMetadataTypeRequest request, AsyncHandler<GetConditionMetadataTypeRequest,GetConditionMetadataTypeResponse> handler)
CloudGuardAsync
Returns a ConditionMetatDataType resource with its details.
getConditionMetadataType
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetConfigurationResponse> getConfiguration(GetConfigurationRequest request, AsyncHandler<GetConfigurationRequest,GetConfigurationResponse> handler)
CloudGuardAsync
Returns the configuration details for a Cloud Guard tenancy, identified by root compartment OCID.
getConfiguration
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDataMaskRuleResponse> getDataMaskRule(GetDataMaskRuleRequest request, AsyncHandler<GetDataMaskRuleRequest,GetDataMaskRuleResponse> handler)
CloudGuardAsync
Returns a DataMaskRule resource, identified by dataMaskRuleId.
getDataMaskRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDataSourceResponse> getDataSource(GetDataSourceRequest request, AsyncHandler<GetDataSourceRequest,GetDataSourceResponse> handler)
CloudGuardAsync
Returns a data source (DataSource resource) identified by dataSourceId.
getDataSource
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDetectorResponse> getDetector(GetDetectorRequest request, AsyncHandler<GetDetectorRequest,GetDetectorResponse> handler)
CloudGuardAsync
Returns a Detector resource, identified by detectorId.
getDetector
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDetectorRecipeResponse> getDetectorRecipe(GetDetectorRecipeRequest request, AsyncHandler<GetDetectorRecipeRequest,GetDetectorRecipeResponse> handler)
CloudGuardAsync
Returns a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
getDetectorRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDetectorRecipeDetectorRuleResponse> getDetectorRecipeDetectorRule(GetDetectorRecipeDetectorRuleRequest request, AsyncHandler<GetDetectorRecipeDetectorRuleRequest,GetDetectorRecipeDetectorRuleResponse> handler)
CloudGuardAsync
Returns a detector rule (DetectorRule resource) identified by detectorRuleId.
getDetectorRecipeDetectorRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDetectorRuleResponse> getDetectorRule(GetDetectorRuleRequest request, AsyncHandler<GetDetectorRuleRequest,GetDetectorRuleResponse> handler)
CloudGuardAsync
Returns a detector rule (DetectorRule resource) identified by detectorRuleId.
getDetectorRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetManagedListResponse> getManagedList(GetManagedListRequest request, AsyncHandler<GetManagedListRequest,GetManagedListResponse> handler)
CloudGuardAsync
Returns a managed list identified by managedListId.
getManagedList
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetProblemResponse> getProblem(GetProblemRequest request, AsyncHandler<GetProblemRequest,GetProblemResponse> handler)
CloudGuardAsync
Returns the Problem resource identified by problemId.
getProblem
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResourceResponse> getResource(GetResourceRequest request, AsyncHandler<GetResourceRequest,GetResourceResponse> handler)
CloudGuardAsync
Returns a resource identified by resourceId
getResource
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResourceProfileResponse> getResourceProfile(GetResourceProfileRequest request, AsyncHandler<GetResourceProfileRequest,GetResourceProfileResponse> handler)
CloudGuardAsync
Returns details for a resource profile, identified by resourceProfileId.
getResourceProfile
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResourceVulnerabilityResponse> getResourceVulnerability(GetResourceVulnerabilityRequest request, AsyncHandler<GetResourceVulnerabilityRequest,GetResourceVulnerabilityResponse> handler)
CloudGuardAsync
Returns the vulnerability details associated with the cveId where resource is an instance
getResourceVulnerability
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResponderExecutionResponse> getResponderExecution(GetResponderExecutionRequest request, AsyncHandler<GetResponderExecutionRequest,GetResponderExecutionResponse> handler)
CloudGuardAsync
Returns a responder execution identified by responderExecutionId.
getResponderExecution
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResponderRecipeResponse> getResponderRecipe(GetResponderRecipeRequest request, AsyncHandler<GetResponderRecipeRequest,GetResponderRecipeResponse> handler)
CloudGuardAsync
Returns a responder recipe (ResponderRecipe resource) identified by responderRecipeId.
getResponderRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResponderRecipeResponderRuleResponse> getResponderRecipeResponderRule(GetResponderRecipeResponderRuleRequest request, AsyncHandler<GetResponderRecipeResponderRuleRequest,GetResponderRecipeResponderRuleResponse> handler)
CloudGuardAsync
Returns a responder rule (ResponderRule resource) identified by responderRuleId.
getResponderRecipeResponderRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResponderRuleResponse> getResponderRule(GetResponderRuleRequest request, AsyncHandler<GetResponderRuleRequest,GetResponderRuleResponse> handler)
CloudGuardAsync
Returns a responder rule (ResponderRule resource) identified by resonderRuleId.
getResponderRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSavedQueryResponse> getSavedQuery(GetSavedQueryRequest request, AsyncHandler<GetSavedQueryRequest,GetSavedQueryResponse> handler)
CloudGuardAsync
Returns a SavedQuery resource identified by savedQueryId.
getSavedQuery
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSecurityPolicyResponse> getSecurityPolicy(GetSecurityPolicyRequest request, AsyncHandler<GetSecurityPolicyRequest,GetSecurityPolicyResponse> handler)
CloudGuardAsync
Returns a security zone policy (SecurityPolicy resource), identified by its unique ID (securityPolicyId). When a policy is enabled in a security zone, then any action in the zone that attempts to violate that policy is blocked.
getSecurityPolicy
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSecurityRecipeResponse> getSecurityRecipe(GetSecurityRecipeRequest request, AsyncHandler<GetSecurityRecipeRequest,GetSecurityRecipeResponse> handler)
CloudGuardAsync
Returns a security zone recipe (SecurityRecipe resource) identified by securityRecipeId.
getSecurityRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSecurityZoneResponse> getSecurityZone(GetSecurityZoneRequest request, AsyncHandler<GetSecurityZoneRequest,GetSecurityZoneResponse> handler)
CloudGuardAsync
Returns a security zone (SecurityZone resource) identified by securityZoneId.
getSecurityZone
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSightingResponse> getSighting(GetSightingRequest request, AsyncHandler<GetSightingRequest,GetSightingResponse> handler)
CloudGuardAsync
Returns a single sighting (Sighting resource) identified by sightingId.
getSighting
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTargetResponse> getTarget(GetTargetRequest request, AsyncHandler<GetTargetRequest,GetTargetResponse> handler)
CloudGuardAsync
Returns a target (Target resource) identified by targetId.
getTarget
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTargetDetectorRecipeResponse> getTargetDetectorRecipe(GetTargetDetectorRecipeRequest request, AsyncHandler<GetTargetDetectorRecipeRequest,GetTargetDetectorRecipeResponse> handler)
CloudGuardAsync
Returns a target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId.
getTargetDetectorRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTargetDetectorRecipeDetectorRuleResponse> getTargetDetectorRecipeDetectorRule(GetTargetDetectorRecipeDetectorRuleRequest request, AsyncHandler<GetTargetDetectorRecipeDetectorRuleRequest,GetTargetDetectorRecipeDetectorRuleResponse> handler)
CloudGuardAsync
Returns DetectorRule resource by identified by targetDetectorRecipeId.
getTargetDetectorRecipeDetectorRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTargetResponderRecipeResponse> getTargetResponderRecipe(GetTargetResponderRecipeRequest request, AsyncHandler<GetTargetResponderRecipeRequest,GetTargetResponderRecipeResponse> handler)
CloudGuardAsync
Returns a target responder recipe (TargetResponderRecipe) identified by targetResponderRecipeId for a target (Target resource) identified by targetId.
getTargetResponderRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTargetResponderRecipeResponderRuleResponse> getTargetResponderRecipeResponderRule(GetTargetResponderRecipeResponderRuleRequest request, AsyncHandler<GetTargetResponderRecipeResponderRuleRequest,GetTargetResponderRecipeResponderRuleResponse> handler)
CloudGuardAsync
Returns a responder rule (ResponderRule resource) identified by responderRuleId, from a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, attached to a target (Target resource) identified by targetId.
getTargetResponderRecipeResponderRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWlpAgentResponse> getWlpAgent(GetWlpAgentRequest request, AsyncHandler<GetWlpAgentRequest,GetWlpAgentResponse> handler)
CloudGuardAsync
Returns a WlpAgent resource for an on-premise resource identified by wlpAgentId.
getWlpAgent
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
CloudGuardAsync
Returns details for a work request (WorkRequest resource) identified by workRequestId.
getWorkRequest
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAdhocQueriesResponse> listAdhocQueries(ListAdhocQueriesRequest request, AsyncHandler<ListAdhocQueriesRequest,ListAdhocQueriesResponse> handler)
CloudGuardAsync
Returns a list of all adhoc queries (AdhocQuery resources) for a compartment identified by compartmentId. List is returned in a AdhocQueryCollection resource with page of AdhocQuerySummary resources.
The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listAdhocQueries
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAdhocQueryResultsResponse> listAdhocQueryResults(ListAdhocQueryResultsRequest request, AsyncHandler<ListAdhocQueryResultsRequest,ListAdhocQueryResultsResponse> handler)
CloudGuardAsync
Lists the results for a given adhoc ID (from includes results from all monitoring regions).
listAdhocQueryResults
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListConditionMetadataTypesResponse> listConditionMetadataTypes(ListConditionMetadataTypesRequest request, AsyncHandler<ListConditionMetadataTypesRequest,ListConditionMetadataTypesResponse> handler)
CloudGuardAsync
Returns a list of ConditionMetadataType resources.
listConditionMetadataTypes
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDataMaskRulesResponse> listDataMaskRules(ListDataMaskRulesRequest request, AsyncHandler<ListDataMaskRulesRequest,ListDataMaskRulesResponse> handler)
CloudGuardAsync
Returns a list of all DataMaskRule resources in the specified compartmentId (OCID) and its subcompartments.
listDataMaskRules
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDataSourceEventsResponse> listDataSourceEvents(ListDataSourceEventsRequest request, AsyncHandler<ListDataSourceEventsRequest,ListDataSourceEventsResponse> handler)
CloudGuardAsync
Returns a list of data source events (DataSourceEventCollection resource) from the data source (DataSource resource) identified by dataSourceId.
listDataSourceEvents
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest request, AsyncHandler<ListDataSourcesRequest,ListDataSourcesResponse> handler)
CloudGuardAsync
Returns a list of all data sources (DataSource resources) for a compartment identified by compartmentId. List is returned in a DataSourceCollection resource with page of DataSourceSummary resources.
The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listDataSources
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDetectorRecipeDetectorRulesResponse> listDetectorRecipeDetectorRules(ListDetectorRecipeDetectorRulesRequest request, AsyncHandler<ListDetectorRecipeDetectorRulesRequest,ListDetectorRecipeDetectorRulesResponse> handler)
CloudGuardAsync
Returns a list of detector rules (DetectorRule resources) for a detector recipe (DetectorRecipe resource), identified by detectorRecipeId.
listDetectorRecipeDetectorRules
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDetectorRecipesResponse> listDetectorRecipes(ListDetectorRecipesRequest request, AsyncHandler<ListDetectorRecipesRequest,ListDetectorRecipesResponse> handler)
CloudGuardAsync
Returns a list of all detector recipes (DetectorRecipe resources) in a compartment, identified by compartmentId.
The ListDetectorRecipes operation returns only the detector recipes in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListDetectorRecipes on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listDetectorRecipes
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDetectorRulesResponse> listDetectorRules(ListDetectorRulesRequest request, AsyncHandler<ListDetectorRulesRequest,ListDetectorRulesResponse> handler)
CloudGuardAsync
Returns a list of detector rules for the DetectorRecipe resource identified by detectorId.
listDetectorRules
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDetectorsResponse> listDetectors(ListDetectorsRequest request, AsyncHandler<ListDetectorsRequest,ListDetectorsResponse> handler)
CloudGuardAsync
Returns a detector catalog (DetectorCollection resource) with a list of DetectorSummary resources.
listDetectors
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListImpactedResourcesResponse> listImpactedResources(ListImpactedResourcesRequest request, AsyncHandler<ListImpactedResourcesRequest,ListImpactedResourcesResponse> handler)
CloudGuardAsync
Returns a list of impacted resources for a problem identified by problemId.
listImpactedResources
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedListTypesResponse> listManagedListTypes(ListManagedListTypesRequest request, AsyncHandler<ListManagedListTypesRequest,ListManagedListTypesResponse> handler)
CloudGuardAsync
Returns all managed list types (listType parameter) that Cloud Guard supports.
listManagedListTypes
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedListsResponse> listManagedLists(ListManagedListsRequest request, AsyncHandler<ListManagedListsRequest,ListManagedListsResponse> handler)
CloudGuardAsync
Returns a list of all ManagedList resources in a compartment, identified by compartmentId.
The ListManagedLists operation returns only the managed lists in compartmentId
passed. The
list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return ManagedLists in only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListManagedLists on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listManagedLists
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPoliciesResponse> listPolicies(ListPoliciesRequest request, AsyncHandler<ListPoliciesRequest,ListPoliciesResponse> handler)
CloudGuardAsync
Returns the list of global policy statements (policy attributes) needed to fully enable Cloud Guard.
listPolicies
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProblemEndpointsResponse> listProblemEndpoints(ListProblemEndpointsRequest request, AsyncHandler<ListProblemEndpointsRequest,ListProblemEndpointsResponse> handler)
CloudGuardAsync
Returns a list of endpoints associated with a problem, identified by problemId.
listProblemEndpoints
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProblemEntitiesResponse> listProblemEntities(ListProblemEntitiesRequest request, AsyncHandler<ListProblemEntitiesRequest,ListProblemEntitiesResponse> handler)
CloudGuardAsync
Returns a list of entities for a problem.
listProblemEntities
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProblemHistoriesResponse> listProblemHistories(ListProblemHistoriesRequest request, AsyncHandler<ListProblemHistoriesRequest,ListProblemHistoriesResponse> handler)
CloudGuardAsync
Returns a list of actions taken on a problem.
listProblemHistories
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProblemsResponse> listProblems(ListProblemsRequest request, AsyncHandler<ListProblemsRequest,ListProblemsResponse> handler)
CloudGuardAsync
Returns a list of all Problems identified by Cloud Guard which are currently in the database and meet the filtering criteria.
The ListProblems operation returns only the problems in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListProblems on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listProblems
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListRecommendationsResponse> listRecommendations(ListRecommendationsRequest request, AsyncHandler<ListRecommendationsRequest,ListRecommendationsResponse> handler)
CloudGuardAsync
Returns a list of recommendations (RecommendationSummaryCollection resource with a page of RecommendationSummary resources) for a specified compartment OCID.
listRecommendations
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResourcePortsResponse> listResourcePorts(ListResourcePortsRequest request, AsyncHandler<ListResourcePortsRequest,ListResourcePortsResponse> handler)
CloudGuardAsync
Returns the list of open ports associated with the resourceId where resource is an instance
listResourcePorts
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResourceProfileEndpointsResponse> listResourceProfileEndpoints(ListResourceProfileEndpointsRequest request, AsyncHandler<ListResourceProfileEndpointsRequest,ListResourceProfileEndpointsResponse> handler)
CloudGuardAsync
Returns a list of endpoints (ResourceProfileEndpointCollection resource with a page of ResourceProfileEndpointSummary resources) for a resource profile identified by resourceProfileId.
listResourceProfileEndpoints
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResourceProfileImpactedResourcesResponse> listResourceProfileImpactedResources(ListResourceProfileImpactedResourcesRequest request, AsyncHandler<ListResourceProfileImpactedResourcesRequest,ListResourceProfileImpactedResourcesResponse> handler)
CloudGuardAsync
Returns a list of impacted resources (ResourceProfileImpactedResourceCollection resource with a page of ResourceProfileImpactedResourceSummary resources) for a resource profile identified by resourceProfileId.
listResourceProfileImpactedResources
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResourceProfilesResponse> listResourceProfiles(ListResourceProfilesRequest request, AsyncHandler<ListResourceProfilesRequest,ListResourceProfilesResponse> handler)
CloudGuardAsync
Returns a list of all resource profile summaries (ResourceProfileCollection resource with a page of ResourceProfileSummary resources) for a compartment, identified by compartmentId and filtered as specified.
The ListResourceProfiles operation returns only the resource profiles in `compartmentId` passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListResourceProfiles on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listResourceProfiles
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResourceTypesResponse> listResourceTypes(ListResourceTypesRequest request, AsyncHandler<ListResourceTypesRequest,ListResourceTypesResponse> handler)
CloudGuardAsync
Returns a single ResourceTypeCollection resource, containing a list of resource types, identified by parameters specified.
listResourceTypes
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResourceVulnerabilitiesResponse> listResourceVulnerabilities(ListResourceVulnerabilitiesRequest request, AsyncHandler<ListResourceVulnerabilitiesRequest,ListResourceVulnerabilitiesResponse> handler)
CloudGuardAsync
Returns the list of vulnerabilities associated with the resourceId where resource is an instance
listResourceVulnerabilities
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResourcesResponse> listResources(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResponse> handler)
CloudGuardAsync
Returns a list of all resources in a compartment
The ListResources operation returns only the resources in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListResources on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listResources
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResponderActivitiesResponse> listResponderActivities(ListResponderActivitiesRequest request, AsyncHandler<ListResponderActivitiesRequest,ListResponderActivitiesResponse> handler)
CloudGuardAsync
Returns a list of responder activities for a problem, identified by problemId, in a ResponderActivityCollection resource, with a page of ResponderActivitySummary resources.
listResponderActivities
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResponderExecutionsResponse> listResponderExecutions(ListResponderExecutionsRequest request, AsyncHandler<ListResponderExecutionsRequest,ListResponderExecutionsResponse> handler)
CloudGuardAsync
Returns a list of responder executions. A responder execution is an entity that tracks the collective execution of multiple responder rule executions for a given problem.
listResponderExecutions
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResponderRecipeResponderRulesResponse> listResponderRecipeResponderRules(ListResponderRecipeResponderRulesRequest request, AsyncHandler<ListResponderRecipeResponderRulesRequest,ListResponderRecipeResponderRulesResponse> handler)
CloudGuardAsync
Returns a list of responder rules (ResponderRule resources in a responderRecipeResponderRuleCollection resource, with page of ResponderRuleSummary resources), for a responder recipe (ResponderRecipe resource), identified by responderRecipeId.
listResponderRecipeResponderRules
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResponderRecipesResponse> listResponderRecipes(ListResponderRecipesRequest request, AsyncHandler<ListResponderRecipesRequest,ListResponderRecipesResponse> handler)
CloudGuardAsync
Returns a list (ResponderRecipeCollection resource, with a page of ResponderRecipeSummary
resources) of all responder recipes (RespponderRecipe resources) in a compartment, identified
by compartmentId. The ListResponderRecipe operation returns only the targets in
compartmentId
passed. The list does not include any subcompartments of the compartmentId
passed.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListResponderRecipe on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listResponderRecipes
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResponderRulesResponse> listResponderRules(ListResponderRulesRequest request, AsyncHandler<ListResponderRulesRequest,ListResponderRulesResponse> handler)
CloudGuardAsync
Returns a list of responder rules for the ResponderRecipe resource identified by responderId. The list is contained in a ResponderRuleCollection resource with a page of ResponderRuleSummary resources.
listResponderRules
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSavedQueriesResponse> listSavedQueries(ListSavedQueriesRequest request, AsyncHandler<ListSavedQueriesRequest,ListSavedQueriesResponse> handler)
CloudGuardAsync
Returns a list of saved queries run in a tenancy.
listSavedQueries
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityPoliciesResponse> listSecurityPolicies(ListSecurityPoliciesRequest request, AsyncHandler<ListSecurityPoliciesRequest,ListSecurityPoliciesResponse> handler)
CloudGuardAsync
Returns a list of security zone policies (SecurityPolicySummary resources), identified by compartmentId.
listSecurityPolicies
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityRecipesResponse> listSecurityRecipes(ListSecurityRecipesRequest request, AsyncHandler<ListSecurityRecipesRequest,ListSecurityRecipesResponse> handler)
CloudGuardAsync
Returns a list of security zone recipes (SecurityRecipeSummary resources) in a compartment, identified by compartmentId.
listSecurityRecipes
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityZonesResponse> listSecurityZones(ListSecurityZonesRequest request, AsyncHandler<ListSecurityZonesRequest,ListSecurityZonesResponse> handler)
CloudGuardAsync
Returns a list of security zones (SecurityZone resources) in a compartment identified by compartmentId. List is contained in a page of SecurityZoneSummary resources.
listSecurityZones
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSightingEndpointsResponse> listSightingEndpoints(ListSightingEndpointsRequest request, AsyncHandler<ListSightingEndpointsRequest,ListSightingEndpointsResponse> handler)
CloudGuardAsync
Returns sighting endpoints details in a SightingEndpointsCollection resource with a page of SightingEndpointSummary resources.
listSightingEndpoints
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSightingImpactedResourcesResponse> listSightingImpactedResources(ListSightingImpactedResourcesRequest request, AsyncHandler<ListSightingImpactedResourcesRequest,ListSightingImpactedResourcesResponse> handler)
CloudGuardAsync
Returns a list of impacted resources for a sighting, identified by sightingId, in a SightingImpactedResourceCollection resource with a page of SightingImpactedResourceSummary resources.
listSightingImpactedResources
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSightingsResponse> listSightings(ListSightingsRequest request, AsyncHandler<ListSightingsRequest,ListSightingsResponse> handler)
CloudGuardAsync
For the parameters passed, returns a list of sightings (SightingCollection resource) with a page of SightingSummary resources.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListSightings on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listSightings
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTacticsResponse> listTactics(ListTacticsRequest request, AsyncHandler<ListTacticsRequest,ListTacticsResponse> handler)
CloudGuardAsync
Returns a list of TacticSummary resources for a compartment, identified by compartmentId.
listTactics
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTargetDetectorRecipeDetectorRulesResponse> listTargetDetectorRecipeDetectorRules(ListTargetDetectorRecipeDetectorRulesRequest request, AsyncHandler<ListTargetDetectorRecipeDetectorRulesRequest,ListTargetDetectorRecipeDetectorRulesResponse> handler)
CloudGuardAsync
Returns a list of DetectorRule associated with DetectorRecipe within a Target.
listTargetDetectorRecipeDetectorRules
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTargetDetectorRecipesResponse> listTargetDetectorRecipes(ListTargetDetectorRecipesRequest request, AsyncHandler<ListTargetDetectorRecipesRequest,ListTargetDetectorRecipesResponse> handler)
CloudGuardAsync
Returns a list of all target detector recipes (TargetDetectorRecipe resources) associated with a target (Target resource), identified by targetId. The list is contained in a TargetDetectorRecipeCollection resource with page of TargetDetectorRecipeSummary resources.
listTargetDetectorRecipes
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTargetResponderRecipeResponderRulesResponse> listTargetResponderRecipeResponderRules(ListTargetResponderRecipeResponderRulesRequest request, AsyncHandler<ListTargetResponderRecipeResponderRulesRequest,ListTargetResponderRecipeResponderRulesResponse> handler)
CloudGuardAsync
Returns a list of responder rules (ResponderRule resources) associated with a responder recipe (ResponderRecipe resource) attached to a Target. List is returned in a TargetResponderRecipeResponderRuleCollection resource with page of TargetResponderRecipeResponderRuleSummary resources.
listTargetResponderRecipeResponderRules
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTargetResponderRecipesResponse> listTargetResponderRecipes(ListTargetResponderRecipesRequest request, AsyncHandler<ListTargetResponderRecipesRequest,ListTargetResponderRecipesResponse> handler)
CloudGuardAsync
Returns a list of summary information for all responder recipes (TargetResponderRecipeCollection resource, with a page of TargetResponderRecipeSummary resources) attached to a target identified by targetId, located in a compartment identified by compartmentId.
listTargetResponderRecipes
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTargetsResponse> listTargets(ListTargetsRequest request, AsyncHandler<ListTargetsRequest,ListTargetsResponse> handler)
CloudGuardAsync
Returns a list of targets (TargetCollection resource with page of TargetSummary resources) for the target identified by compartmentId. By default, only the target associated with the compartment is returned. Setting compartmentIdInSubtree to true returns the entire hierarchy of targets in subcompartments.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform ListTargets on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all targets in compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
listTargets
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTechniquesResponse> listTechniques(ListTechniquesRequest request, AsyncHandler<ListTechniquesRequest,ListTechniquesResponse> handler)
CloudGuardAsync
Returns a list of techniques associated with detector rules.
listTechniques
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWlpAgentsResponse> listWlpAgents(ListWlpAgentsRequest request, AsyncHandler<ListWlpAgentsRequest,ListWlpAgentsResponse> handler)
CloudGuardAsync
Returns a list of WLP agents in a compartment.
listWlpAgents
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
CloudGuardAsync
Returns a list of errors for a work request identified by workRequestId.
listWorkRequestErrors
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
CloudGuardAsync
Returns a paginated list (WorkRequestLogEntryCollection resource) of log entries for a request, identified by workRequestId.
listWorkRequestLogs
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
CloudGuardAsync
Returns a list of work requests (WorkRequestSummaryCollection resource), in a compartment identified by compartmentId.
listWorkRequests
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveCompartmentResponse> removeCompartment(RemoveCompartmentRequest request, AsyncHandler<RemoveCompartmentRequest,RemoveCompartmentResponse> handler)
CloudGuardAsync
Removes a compartment from a security zone (SecurityZone resource), identified by securityZoneId. Pass compartmentId of compartment to remove through a RemoveCompartmentDetails resource. When you remove a subcompartment from a security zone, it no longer enforces security zone policies on the resources in the subcompartment. You can’t remove the primary compartment that was used to create the security zone.
removeCompartment
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestRiskScoresResponse> requestRiskScores(RequestRiskScoresRequest request, AsyncHandler<RequestRiskScoresRequest,RequestRiskScoresResponse> handler)
CloudGuardAsync
Returns a page of RiskScoreAggregation resources for a compartment, identified by compartmentId.
requestRiskScores
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSecurityScoreSummarizedTrendResponse> requestSecurityScoreSummarizedTrend(RequestSecurityScoreSummarizedTrendRequest request, AsyncHandler<RequestSecurityScoreSummarizedTrendRequest,RequestSecurityScoreSummarizedTrendResponse> handler)
CloudGuardAsync
Returns a page of SecurityScoreTrendAggregation resources. These measure the number of resources examined across all regions and compare it with the number of problems detected.
requestSecurityScoreSummarizedTrend
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSecurityScoresResponse> requestSecurityScores(RequestSecurityScoresRequest request, AsyncHandler<RequestSecurityScoresRequest,RequestSecurityScoresResponse> handler)
CloudGuardAsync
Returns a page of SecurityScoreAggregation resources. These measure the number of resources examined across all regions and compare it with the number of problems detected.
requestSecurityScores
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedActivityProblemsResponse> requestSummarizedActivityProblems(RequestSummarizedActivityProblemsRequest request, AsyncHandler<RequestSummarizedActivityProblemsRequest,RequestSummarizedActivityProblemsResponse> handler)
CloudGuardAsync
Returns the summary of problems generated by OCI Activity Detector rules, identified by parameters specified.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
The compartmentId to be passed with `accessLevel` and `compartmentIdInSubtree` params has to be the root compartment id (tenant-id) only.
requestSummarizedActivityProblems
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedProblemsResponse> requestSummarizedProblems(RequestSummarizedProblemsRequest request, AsyncHandler<RequestSummarizedProblemsRequest,RequestSummarizedProblemsResponse> handler)
CloudGuardAsync
Returns the number of problems matching the key-value pairs in dimensionMap.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
requestSummarizedProblems
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedResponderExecutionsResponse> requestSummarizedResponderExecutions(RequestSummarizedResponderExecutionsRequest request, AsyncHandler<RequestSummarizedResponderExecutionsRequest,RequestSummarizedResponderExecutionsResponse> handler)
CloudGuardAsync
Returns the number of responder executions, identified by parameters specified, in a page of ResponderExecutionAggregation resources.
Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions, directly or indirectly (permissions can be on a resource in a subcompartment). “Not Authorized” is returned if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true.
Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions, directly or indirectly (permissions can be on a resource in a subcompartment). “Not Authorized” is returned if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true.
requestSummarizedResponderExecutions
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedRiskScoresResponse> requestSummarizedRiskScores(RequestSummarizedRiskScoresRequest request, AsyncHandler<RequestSummarizedRiskScoresRequest,RequestSummarizedRiskScoresResponse> handler)
CloudGuardAsync
DEPRECATED
requestSummarizedRiskScores
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedSecurityScoresResponse> requestSummarizedSecurityScores(RequestSummarizedSecurityScoresRequest request, AsyncHandler<RequestSummarizedSecurityScoresRequest,RequestSummarizedSecurityScoresResponse> handler)
CloudGuardAsync
DEPRECATED
requestSummarizedSecurityScores
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedTopTrendResourceProfileRiskScoresResponse> requestSummarizedTopTrendResourceProfileRiskScores(RequestSummarizedTopTrendResourceProfileRiskScoresRequest request, AsyncHandler<RequestSummarizedTopTrendResourceProfileRiskScoresRequest,RequestSummarizedTopTrendResourceProfileRiskScoresResponse> handler)
CloudGuardAsync
Returns a list of resource profile risk score aggregation summaries (ResourceProfileRiskScoreAggregationSummaryCollection resource with a page of ResourceProfileRiskScoreAggregationSummary resources) for a specified compartment.
requestSummarizedTopTrendResourceProfileRiskScores
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedTrendProblemsResponse> requestSummarizedTrendProblems(RequestSummarizedTrendProblemsRequest request, AsyncHandler<RequestSummarizedTrendProblemsRequest,RequestSummarizedTrendProblemsResponse> handler)
CloudGuardAsync
Returns a ProblemTrendAggregationCollection resource for a compartment, identified by compartmentId, for the specified time period. The ProblemTrendAggregationCollection resource contains a list of ProblemTrendAggregation resources.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
requestSummarizedTrendProblems
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedTrendResourceRiskScoresResponse> requestSummarizedTrendResourceRiskScores(RequestSummarizedTrendResourceRiskScoresRequest request, AsyncHandler<RequestSummarizedTrendResourceRiskScoresRequest,RequestSummarizedTrendResourceRiskScoresResponse> handler)
CloudGuardAsync
Returns a summary of risk score trends in a ResourceRiskScoreAggregationCollection resource, with a page of ResourceRiskScoreAggregation resources, filtered by parameters that you specify in a RequestSummarizedTrendResourceRiskScoresDetailsresource.
requestSummarizedTrendResourceRiskScores
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedTrendResponderExecutionsResponse> requestSummarizedTrendResponderExecutions(RequestSummarizedTrendResponderExecutionsRequest request, AsyncHandler<RequestSummarizedTrendResponderExecutionsRequest,RequestSummarizedTrendResponderExecutionsResponse> handler)
CloudGuardAsync
Returns the number of remediations performed by Responders, for a given time period.
The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`.
The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
requestSummarizedTrendResponderExecutions
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RequestSummarizedTrendSecurityScoresResponse> requestSummarizedTrendSecurityScores(RequestSummarizedTrendSecurityScoresRequest request, AsyncHandler<RequestSummarizedTrendSecurityScoresRequest,RequestSummarizedTrendSecurityScoresResponse> handler)
CloudGuardAsync
DEPRECATED
requestSummarizedTrendSecurityScores
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SkipBulkResponderExecutionResponse> skipBulkResponderExecution(SkipBulkResponderExecutionRequest request, AsyncHandler<SkipBulkResponderExecutionRequest,SkipBulkResponderExecutionResponse> handler)
CloudGuardAsync
Skips the execution for a bulk of responder executions.
skipBulkResponderExecution
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SkipResponderExecutionResponse> skipResponderExecution(SkipResponderExecutionRequest request, AsyncHandler<SkipResponderExecutionRequest,SkipResponderExecutionResponse> handler)
CloudGuardAsync
Skips the execution of the responder execution. When provided, If-Match is checked against etag values of the resource.
skipResponderExecution
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<TriggerResponderResponse> triggerResponder(TriggerResponderRequest request, AsyncHandler<TriggerResponderRequest,TriggerResponderResponse> handler)
CloudGuardAsync
Sends the problem identified by problemId to the responder engine, to be processed by rule that’s identified by responderRuleId, in the TriggerResponderDetails resource that’s passed.
triggerResponder
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateBulkProblemStatusResponse> updateBulkProblemStatus(UpdateBulkProblemStatusRequest request, AsyncHandler<UpdateBulkProblemStatusRequest,UpdateBulkProblemStatusResponse> handler)
CloudGuardAsync
Changes the status for all problems listed in the problemIds array, passed through the UpdateBulkProblemStatusDetails resource, from the current status to the status set in UpdateBulkProblemStatusDetails.
updateBulkProblemStatus
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateConfigurationResponse> updateConfiguration(UpdateConfigurationRequest request, AsyncHandler<UpdateConfigurationRequest,UpdateConfigurationResponse> handler)
CloudGuardAsync
Updates configuration details for a Cloud Guard tenancy, identified by root compartment OCID. The reporting region cannot be updated once created.
updateConfiguration
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDataMaskRuleResponse> updateDataMaskRule(UpdateDataMaskRuleRequest request, AsyncHandler<UpdateDataMaskRuleRequest,UpdateDataMaskRuleResponse> handler)
CloudGuardAsync
Updates a data mask rule (DataMaskRule resource) identified by dataMaskRuleId.
updateDataMaskRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDataSourceResponse> updateDataSource(UpdateDataSourceRequest request, AsyncHandler<UpdateDataSourceRequest,UpdateDataSourceResponse> handler)
CloudGuardAsync
Updates a data source (DataSource resource) identified by dataSourceId, using values passed in an UpdateDataSourceDetails resource.
updateDataSource
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDetectorRecipeResponse> updateDetectorRecipe(UpdateDetectorRecipeRequest request, AsyncHandler<UpdateDetectorRecipeRequest,UpdateDetectorRecipeResponse> handler)
CloudGuardAsync
Updates a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
updateDetectorRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDetectorRecipeDetectorRuleResponse> updateDetectorRecipeDetectorRule(UpdateDetectorRecipeDetectorRuleRequest request, AsyncHandler<UpdateDetectorRecipeDetectorRuleRequest,UpdateDetectorRecipeDetectorRuleResponse> handler)
CloudGuardAsync
Updates a detector rule (DetectorRule resource) identified by detectorRuleId.
updateDetectorRecipeDetectorRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateManagedListResponse> updateManagedList(UpdateManagedListRequest request, AsyncHandler<UpdateManagedListRequest,UpdateManagedListResponse> handler)
CloudGuardAsync
Updates a ManagedList resource, identified by managedList.
updateManagedList
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateProblemStatusResponse> updateProblemStatus(UpdateProblemStatusRequest request, AsyncHandler<UpdateProblemStatusRequest,UpdateProblemStatusResponse> handler)
CloudGuardAsync
Changes the current status of the problem, identified by problemId, to the status specified in the UpdateProblemStatusDetails resource that you pass.
updateProblemStatus
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateResponderRecipeResponse> updateResponderRecipe(UpdateResponderRecipeRequest request, AsyncHandler<UpdateResponderRecipeRequest,UpdateResponderRecipeResponse> handler)
CloudGuardAsync
Updates a responder recipe (ResponderRecipe resource) identified by responderRecipeId, passed in an UpdateResponderRecipeDetails resource.
updateResponderRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateResponderRecipeResponderRuleResponse> updateResponderRecipeResponderRule(UpdateResponderRecipeResponderRuleRequest request, AsyncHandler<UpdateResponderRecipeResponderRuleRequest,UpdateResponderRecipeResponderRuleResponse> handler)
CloudGuardAsync
Updates a responder rule (ResponderRule resource) identified by responderRuleId, passed in a UpdateResponderRecipeResponderRuleDetails resource.
updateResponderRecipeResponderRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSavedQueryResponse> updateSavedQuery(UpdateSavedQueryRequest request, AsyncHandler<UpdateSavedQueryRequest,UpdateSavedQueryResponse> handler)
CloudGuardAsync
Updates a saved query identified by savedQueryId.
updateSavedQuery
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSecurityRecipeResponse> updateSecurityRecipe(UpdateSecurityRecipeRequest request, AsyncHandler<UpdateSecurityRecipeRequest,UpdateSecurityRecipeResponse> handler)
CloudGuardAsync
Updates a security zone recipe (SecurityRecipe resource), identified by securityRecipeId, using parameters passed in an UpdateSecurityRecipeDetails resource.
updateSecurityRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSecurityZoneResponse> updateSecurityZone(UpdateSecurityZoneRequest request, AsyncHandler<UpdateSecurityZoneRequest,UpdateSecurityZoneResponse> handler)
CloudGuardAsync
Updates a security zone (SecurityZone resource) identified by securityZoneId. Pass parameters through an UpdateSecurityZoneDetails resource.
updateSecurityZone
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTargetResponse> updateTarget(UpdateTargetRequest request, AsyncHandler<UpdateTargetRequest,UpdateTargetResponse> handler)
CloudGuardAsync
Updates a target (Target resource) identified by targetId, using parameters passed in an UpdateTargetDetails resource.
updateTarget
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTargetDetectorRecipeResponse> updateTargetDetectorRecipe(UpdateTargetDetectorRecipeRequest request, AsyncHandler<UpdateTargetDetectorRecipeRequest,UpdateTargetDetectorRecipeResponse> handler)
CloudGuardAsync
Updates a target detector recipe (TargtetDetectorRecipe resource) identified by targetDetectorRecipeId, using parameters passed in an UpdateTargetDetectorRecipeDetails resource.
updateTargetDetectorRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTargetDetectorRecipeDetectorRuleResponse> updateTargetDetectorRecipeDetectorRule(UpdateTargetDetectorRecipeDetectorRuleRequest request, AsyncHandler<UpdateTargetDetectorRecipeDetectorRuleRequest,UpdateTargetDetectorRecipeDetectorRuleResponse> handler)
CloudGuardAsync
Updates the DetectorRule resource identified by targetDetectorRecipeId
updateTargetDetectorRecipeDetectorRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTargetResponderRecipeResponse> updateTargetResponderRecipe(UpdateTargetResponderRecipeRequest request, AsyncHandler<UpdateTargetResponderRecipeRequest,UpdateTargetResponderRecipeResponse> handler)
CloudGuardAsync
Updates the target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, attached to a target identified by targetId. Pass parameters for the update through an UpdateTargetResponderRecipeDetails resource.
updateTargetResponderRecipe
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTargetResponderRecipeResponderRuleResponse> updateTargetResponderRecipeResponderRule(UpdateTargetResponderRecipeResponderRuleRequest request, AsyncHandler<UpdateTargetResponderRecipeResponderRuleRequest,UpdateTargetResponderRecipeResponderRuleResponse> handler)
CloudGuardAsync
Updates a responder rule (ResponderRule resource) identified by responderRuleId, for a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, for a target (Target resource) identified by targetId. Parameters for the update are passed through an UpdateTargetResponderRecipeResponderRuleDetails resource.
updateTargetResponderRecipeResponderRule
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateWlpAgentResponse> updateWlpAgent(UpdateWlpAgentRequest request, AsyncHandler<UpdateWlpAgentRequest,UpdateWlpAgentResponse> handler)
CloudGuardAsync
Updates and renews the certificate for an on-premise WLP agent identified by wlpAgentId.
updateWlpAgent
in interface CloudGuardAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
Copyright © 2016–2024. All rights reserved.