@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class DataSafeAsyncClient extends BaseAsyncClient implements DataSafeAsync
Async client implementation for DataSafe 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 |
DataSafeAsyncClient.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 DataSafe.
|
Constructor and Description |
---|
DataSafeAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
DataSafeAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
DataSafeAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DataSafeAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DataSafeAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
DataSafeAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
DataSafeAsyncClient(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 DataSafe.
public final String clientCommonLibraryVersion
@Deprecated public DataSafeAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataSafeAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public DataSafeAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataSafeAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public DataSafeAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataSafeAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public DataSafeAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataSafeAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public DataSafeAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataSafeAsyncClient.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 DataSafeAsyncClient(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 DataSafeAsyncClient.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 DataSafeAsyncClient(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 DataSafeAsyncClient.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 DataSafeAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
DataSafeAsync
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 DataSafeAsync
region
- The region of the service.public void setRegion(String regionId)
DataSafeAsync
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 DataSafeAsync
regionId
- The public region ID.public Future<ActivateTargetDatabaseResponse> activateTargetDatabase(ActivateTargetDatabaseRequest request, AsyncHandler<ActivateTargetDatabaseRequest,ActivateTargetDatabaseResponse> handler)
DataSafeAsync
Reactivates a previously deactivated Data Safe target database.
activateTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddMaskingColumnsFromSdmResponse> addMaskingColumnsFromSdm(AddMaskingColumnsFromSdmRequest request, AsyncHandler<AddMaskingColumnsFromSdmRequest,AddMaskingColumnsFromSdmResponse> handler)
DataSafeAsync
Adds columns to the specified masking policy from the associated sensitive data model. It automatically pulls all the sensitive columns and their relationships from the sensitive data model and uses this information to create columns in the masking policy. It also assigns default masking formats to these columns based on the associated sensitive types.
addMaskingColumnsFromSdm
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AlertsUpdateResponse> alertsUpdate(AlertsUpdateRequest request, AsyncHandler<AlertsUpdateRequest,AlertsUpdateResponse> handler)
DataSafeAsync
Updates alerts in the specified compartment.
alertsUpdate
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ApplyDiscoveryJobResultsResponse> applyDiscoveryJobResults(ApplyDiscoveryJobResultsRequest request, AsyncHandler<ApplyDiscoveryJobResultsRequest,ApplyDiscoveryJobResultsResponse> handler)
DataSafeAsync
Applies the results of a discovery job to the specified sensitive data model. Note that the plannedAction attribute of discovery results is used for processing them. You should first use PatchDiscoveryJobResults to set the plannedAction attribute of the discovery results you want to process. ApplyDiscoveryJobResults automatically reads the plannedAction attribute and updates the sensitive data model to reflect the actions you planned.
applyDiscoveryJobResults
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ApplySdmMaskingPolicyDifferenceResponse> applySdmMaskingPolicyDifference(ApplySdmMaskingPolicyDifferenceRequest request, AsyncHandler<ApplySdmMaskingPolicyDifferenceRequest,ApplySdmMaskingPolicyDifferenceResponse> handler)
DataSafeAsync
Applies the difference of a SDM Masking policy difference resource to the specified masking policy. Note that the plannedAction attribute of difference columns is used for processing. You should first use PatchSdmMaskingPolicyDifferenceColumns to set the plannedAction attribute of the difference columns you want to process. ApplySdmMaskingPolicyDifference automatically reads the plannedAction attribute and updates the masking policy to reflect the actions you planned. If the sdmMaskingPolicydifferenceId is not passed, the latest sdmMaskingPolicydifference is used. Note that if the masking policy associated with the SdmMaskingPolicyDifference used for this operation is not associated with the original SDM anymore, this operation won’t be allowed.
applySdmMaskingPolicyDifference
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkCreateSqlFirewallAllowedSqlsResponse> bulkCreateSqlFirewallAllowedSqls(BulkCreateSqlFirewallAllowedSqlsRequest request, AsyncHandler<BulkCreateSqlFirewallAllowedSqlsRequest,BulkCreateSqlFirewallAllowedSqlsResponse> handler)
DataSafeAsync
Appends the allowedSqls with entries from the logs.
bulkCreateSqlFirewallAllowedSqls
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BulkDeleteSqlFirewallAllowedSqlsResponse> bulkDeleteSqlFirewallAllowedSqls(BulkDeleteSqlFirewallAllowedSqlsRequest request, AsyncHandler<BulkDeleteSqlFirewallAllowedSqlsRequest,BulkDeleteSqlFirewallAllowedSqlsResponse> handler)
DataSafeAsync
Delete multiple allowed sqls from the SQL firewall policy.
bulkDeleteSqlFirewallAllowedSqls
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CalculateAuditVolumeAvailableResponse> calculateAuditVolumeAvailable(CalculateAuditVolumeAvailableRequest request, AsyncHandler<CalculateAuditVolumeAvailableRequest,CalculateAuditVolumeAvailableResponse> handler)
DataSafeAsync
Calculates the volume of audit events available on the target database to be collected. Measurable up to the defined retention period of the audit target resource.
calculateAuditVolumeAvailable
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CalculateAuditVolumeCollectedResponse> calculateAuditVolumeCollected(CalculateAuditVolumeCollectedRequest request, AsyncHandler<CalculateAuditVolumeCollectedRequest,CalculateAuditVolumeCollectedResponse> handler)
DataSafeAsync
Calculates the volume of audit events collected by data safe.
calculateAuditVolumeCollected
in interface DataSafeAsync
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)
DataSafeAsync
Cancel the specified work request.
cancelWorkRequest
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeAlertCompartmentResponse> changeAlertCompartment(ChangeAlertCompartmentRequest request, AsyncHandler<ChangeAlertCompartmentRequest,ChangeAlertCompartmentResponse> handler)
DataSafeAsync
Moves the specified alert into a different compartment.
changeAlertCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeAlertPolicyCompartmentResponse> changeAlertPolicyCompartment(ChangeAlertPolicyCompartmentRequest request, AsyncHandler<ChangeAlertPolicyCompartmentRequest,ChangeAlertPolicyCompartmentResponse> handler)
DataSafeAsync
Moves the specified alert policy into a different compartment.
changeAlertPolicyCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeAuditArchiveRetrievalCompartmentResponse> changeAuditArchiveRetrievalCompartment(ChangeAuditArchiveRetrievalCompartmentRequest request, AsyncHandler<ChangeAuditArchiveRetrievalCompartmentRequest,ChangeAuditArchiveRetrievalCompartmentResponse> handler)
DataSafeAsync
Moves the archive retreival to the specified compartment. When provided, if-Match is checked against ETag value of the resource.
changeAuditArchiveRetrievalCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeAuditPolicyCompartmentResponse> changeAuditPolicyCompartment(ChangeAuditPolicyCompartmentRequest request, AsyncHandler<ChangeAuditPolicyCompartmentRequest,ChangeAuditPolicyCompartmentResponse> handler)
DataSafeAsync
Moves the specified audit policy and its dependent resources into a different compartment.
changeAuditPolicyCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeAuditProfileCompartmentResponse> changeAuditProfileCompartment(ChangeAuditProfileCompartmentRequest request, AsyncHandler<ChangeAuditProfileCompartmentRequest,ChangeAuditProfileCompartmentResponse> handler)
DataSafeAsync
Moves the specified audit profile and its dependent resources into a different compartment.
changeAuditProfileCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeDataSafePrivateEndpointCompartmentResponse> changeDataSafePrivateEndpointCompartment(ChangeDataSafePrivateEndpointCompartmentRequest request, AsyncHandler<ChangeDataSafePrivateEndpointCompartmentRequest,ChangeDataSafePrivateEndpointCompartmentResponse> handler)
DataSafeAsync
Moves the Data Safe private endpoint and its dependent resources to the specified compartment.
changeDataSafePrivateEndpointCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeDatabaseSecurityConfigCompartmentResponse> changeDatabaseSecurityConfigCompartment(ChangeDatabaseSecurityConfigCompartmentRequest request, AsyncHandler<ChangeDatabaseSecurityConfigCompartmentRequest,ChangeDatabaseSecurityConfigCompartmentResponse> handler)
DataSafeAsync
Moves the specified database security configuration and its dependent resources into a different compartment.
changeDatabaseSecurityConfigCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeDiscoveryJobCompartmentResponse> changeDiscoveryJobCompartment(ChangeDiscoveryJobCompartmentRequest request, AsyncHandler<ChangeDiscoveryJobCompartmentRequest,ChangeDiscoveryJobCompartmentResponse> handler)
DataSafeAsync
Moves the specified discovery job and its dependent resources into a different compartment.
changeDiscoveryJobCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeLibraryMaskingFormatCompartmentResponse> changeLibraryMaskingFormatCompartment(ChangeLibraryMaskingFormatCompartmentRequest request, AsyncHandler<ChangeLibraryMaskingFormatCompartmentRequest,ChangeLibraryMaskingFormatCompartmentResponse> handler)
DataSafeAsync
Moves the specified library masking format into a different compartment.
changeLibraryMaskingFormatCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeMaskingPolicyCompartmentResponse> changeMaskingPolicyCompartment(ChangeMaskingPolicyCompartmentRequest request, AsyncHandler<ChangeMaskingPolicyCompartmentRequest,ChangeMaskingPolicyCompartmentResponse> handler)
DataSafeAsync
Moves the specified masking policy and its dependent resources into a different compartment.
changeMaskingPolicyCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeMaskingPolicyHealthReportCompartmentResponse> changeMaskingPolicyHealthReportCompartment(ChangeMaskingPolicyHealthReportCompartmentRequest request, AsyncHandler<ChangeMaskingPolicyHealthReportCompartmentRequest,ChangeMaskingPolicyHealthReportCompartmentResponse> handler)
DataSafeAsync
Moves the specified masking policy health report and its dependent resources into a different compartment.
changeMaskingPolicyHealthReportCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeOnPremConnectorCompartmentResponse> changeOnPremConnectorCompartment(ChangeOnPremConnectorCompartmentRequest request, AsyncHandler<ChangeOnPremConnectorCompartmentRequest,ChangeOnPremConnectorCompartmentResponse> handler)
DataSafeAsync
Moves the specified on-premises connector into a different compartment.
changeOnPremConnectorCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeReportCompartmentResponse> changeReportCompartment(ChangeReportCompartmentRequest request, AsyncHandler<ChangeReportCompartmentRequest,ChangeReportCompartmentResponse> handler)
DataSafeAsync
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeReportCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeReportDefinitionCompartmentResponse> changeReportDefinitionCompartment(ChangeReportDefinitionCompartmentRequest request, AsyncHandler<ChangeReportDefinitionCompartmentRequest,ChangeReportDefinitionCompartmentResponse> handler)
DataSafeAsync
Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeReportDefinitionCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeRetentionResponse> changeRetention(ChangeRetentionRequest request, AsyncHandler<ChangeRetentionRequest,ChangeRetentionResponse> handler)
DataSafeAsync
Change the online and offline months .
changeRetention
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSdmMaskingPolicyDifferenceCompartmentResponse> changeSdmMaskingPolicyDifferenceCompartment(ChangeSdmMaskingPolicyDifferenceCompartmentRequest request, AsyncHandler<ChangeSdmMaskingPolicyDifferenceCompartmentRequest,ChangeSdmMaskingPolicyDifferenceCompartmentResponse> handler)
DataSafeAsync
Moves the specified SDM masking policy difference into a different compartment.
changeSdmMaskingPolicyDifferenceCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSecurityAssessmentCompartmentResponse> changeSecurityAssessmentCompartment(ChangeSecurityAssessmentCompartmentRequest request, AsyncHandler<ChangeSecurityAssessmentCompartmentRequest,ChangeSecurityAssessmentCompartmentResponse> handler)
DataSafeAsync
Moves the specified saved security assessment or future scheduled assessments into a different compartment.
To start, call first the operation ListSecurityAssessments with filters \"type = save_schedule\". This returns the scheduleAssessmentId. Then, call this changeCompartment with the scheduleAssessmentId.
The existing saved security assessments created due to the schedule are not moved. However, all new saves will be associated with the new compartment.
changeSecurityAssessmentCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSecurityPolicyCompartmentResponse> changeSecurityPolicyCompartment(ChangeSecurityPolicyCompartmentRequest request, AsyncHandler<ChangeSecurityPolicyCompartmentRequest,ChangeSecurityPolicyCompartmentResponse> handler)
DataSafeAsync
Moves the specified security policy and its dependent resources into a different compartment.
changeSecurityPolicyCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSecurityPolicyDeploymentCompartmentResponse> changeSecurityPolicyDeploymentCompartment(ChangeSecurityPolicyDeploymentCompartmentRequest request, AsyncHandler<ChangeSecurityPolicyDeploymentCompartmentRequest,ChangeSecurityPolicyDeploymentCompartmentResponse> handler)
DataSafeAsync
Moves the specified security policy deployment and its dependent resources into a different compartment.
changeSecurityPolicyDeploymentCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSensitiveDataModelCompartmentResponse> changeSensitiveDataModelCompartment(ChangeSensitiveDataModelCompartmentRequest request, AsyncHandler<ChangeSensitiveDataModelCompartmentRequest,ChangeSensitiveDataModelCompartmentResponse> handler)
DataSafeAsync
Moves the specified sensitive data model and its dependent resources into a different compartment.
changeSensitiveDataModelCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSensitiveTypeCompartmentResponse> changeSensitiveTypeCompartment(ChangeSensitiveTypeCompartmentRequest request, AsyncHandler<ChangeSensitiveTypeCompartmentRequest,ChangeSensitiveTypeCompartmentResponse> handler)
DataSafeAsync
Moves the specified sensitive type into a different compartment.
changeSensitiveTypeCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSqlCollectionCompartmentResponse> changeSqlCollectionCompartment(ChangeSqlCollectionCompartmentRequest request, AsyncHandler<ChangeSqlCollectionCompartmentRequest,ChangeSqlCollectionCompartmentResponse> handler)
DataSafeAsync
Moves the specified SQL collection and its dependent resources into a different compartment.
changeSqlCollectionCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeSqlFirewallPolicyCompartmentResponse> changeSqlFirewallPolicyCompartment(ChangeSqlFirewallPolicyCompartmentRequest request, AsyncHandler<ChangeSqlFirewallPolicyCompartmentRequest,ChangeSqlFirewallPolicyCompartmentResponse> handler)
DataSafeAsync
Moves the specified SQL Firewall policy and its dependent resources into a different compartment.
changeSqlFirewallPolicyCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeTargetAlertPolicyAssociationCompartmentResponse> changeTargetAlertPolicyAssociationCompartment(ChangeTargetAlertPolicyAssociationCompartmentRequest request, AsyncHandler<ChangeTargetAlertPolicyAssociationCompartmentRequest,ChangeTargetAlertPolicyAssociationCompartmentResponse> handler)
DataSafeAsync
Moves the specified target-alert policy Association into a different compartment.
changeTargetAlertPolicyAssociationCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeTargetDatabaseCompartmentResponse> changeTargetDatabaseCompartment(ChangeTargetDatabaseCompartmentRequest request, AsyncHandler<ChangeTargetDatabaseCompartmentRequest,ChangeTargetDatabaseCompartmentResponse> handler)
DataSafeAsync
Moves the Data Safe target database to the specified compartment.
changeTargetDatabaseCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeUserAssessmentCompartmentResponse> changeUserAssessmentCompartment(ChangeUserAssessmentCompartmentRequest request, AsyncHandler<ChangeUserAssessmentCompartmentRequest,ChangeUserAssessmentCompartmentResponse> handler)
DataSafeAsync
Moves the specified saved user assessment or future scheduled assessments into a different compartment. To start storing scheduled user assessments on a different compartment, first call the operation ListUserAssessments with the filters "type = save_schedule". That call returns the scheduleAssessmentId. Then call ChangeUserAssessmentCompartment with the scheduleAssessmentId. The existing saved user assessments created per the schedule are not be moved. However, all new saves will be associated with the new compartment.
changeUserAssessmentCompartment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CompareSecurityAssessmentResponse> compareSecurityAssessment(CompareSecurityAssessmentRequest request, AsyncHandler<CompareSecurityAssessmentRequest,CompareSecurityAssessmentResponse> handler)
DataSafeAsync
Compares two security assessments. For this comparison, a security assessment can be a saved assessment, a latest assessment, or a baseline assessment. For example, you can compare saved assessment or a latest assessment against a baseline.
compareSecurityAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CompareUserAssessmentResponse> compareUserAssessment(CompareUserAssessmentRequest request, AsyncHandler<CompareUserAssessmentRequest,CompareUserAssessmentResponse> handler)
DataSafeAsync
Compares two user assessments. For this comparison, a user assessment can be a saved, a latest assessment, or a baseline. As an example, it can be used to compare a user assessment saved or a latest assessment with a baseline.
compareUserAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateAlertPolicyResponse> createAlertPolicy(CreateAlertPolicyRequest request, AsyncHandler<CreateAlertPolicyRequest,CreateAlertPolicyResponse> handler)
DataSafeAsync
Creates a new user-defined alert policy.
createAlertPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateAlertPolicyRuleResponse> createAlertPolicyRule(CreateAlertPolicyRuleRequest request, AsyncHandler<CreateAlertPolicyRuleRequest,CreateAlertPolicyRuleResponse> handler)
DataSafeAsync
Creates a new rule for the alert policy.
createAlertPolicyRule
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateAuditArchiveRetrievalResponse> createAuditArchiveRetrieval(CreateAuditArchiveRetrievalRequest request, AsyncHandler<CreateAuditArchiveRetrievalRequest,CreateAuditArchiveRetrievalResponse> handler)
DataSafeAsync
Creates a work request to retrieve archived audit data. This asynchronous process will usually take over an hour to complete. Save the id from the response of this operation. Call GetAuditArchiveRetrieval operation after an hour, passing the id to know the status of this operation.
createAuditArchiveRetrieval
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDataSafePrivateEndpointResponse> createDataSafePrivateEndpoint(CreateDataSafePrivateEndpointRequest request, AsyncHandler<CreateDataSafePrivateEndpointRequest,CreateDataSafePrivateEndpointResponse> handler)
DataSafeAsync
Creates a new Data Safe private endpoint.
createDataSafePrivateEndpoint
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDiscoveryJobResponse> createDiscoveryJob(CreateDiscoveryJobRequest request, AsyncHandler<CreateDiscoveryJobRequest,CreateDiscoveryJobResponse> handler)
DataSafeAsync
Performs incremental data discovery for the specified sensitive data model. It uses the target database associated with the sensitive data model. After performing data discovery, you can use ListDiscoveryJobResults to view the discovery results, PatchDiscoveryJobResults to specify the action you want perform on these results, and then ApplyDiscoveryJobResults to process the results and apply them to the sensitive data model.
createDiscoveryJob
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateLibraryMaskingFormatResponse> createLibraryMaskingFormat(CreateLibraryMaskingFormatRequest request, AsyncHandler<CreateLibraryMaskingFormatRequest,CreateLibraryMaskingFormatResponse> handler)
DataSafeAsync
Creates a new library masking format. A masking format can have one or more format entries. The combined output of all the format entries is used for masking. It provides the flexibility to define a masking format that can generate different parts of a data value separately and then combine them to get the final data value for masking. Note that you cannot define masking condition in a library masking format.
createLibraryMaskingFormat
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateMaskingColumnResponse> createMaskingColumn(CreateMaskingColumnRequest request, AsyncHandler<CreateMaskingColumnRequest,CreateMaskingColumnResponse> handler)
DataSafeAsync
Creates a new masking column in the specified masking policy. Use this operation to add parent columns only. It automatically adds the child columns from the associated sensitive data model or target database. If you provide the sensitiveTypeId attribute but not the maskingFormats attribute, it automatically assigns the default masking format associated with the specified sensitive type. Alternatively, if you provide the maskingFormats attribute, the specified masking formats are assigned to the column.
Using the maskingFormats attribute, you can assign one or more masking formats to a column. You need to specify a condition as part of each masking format. It enables you to do conditional masking so that you can mask the column data values differently using different masking conditions. A masking format can have one or more format entries. The combined output of all the format entries is used for masking. It provides the flexibility to define a masking format that can generate different parts of a data value separately and then combine them to get the final data value for masking.
You can use the maskingColumnGroup attribute to group the columns that you would like to mask together. It enables you to do group or compound masking that ensures that the masked data across the columns in a group continue to retain the same logical relationship.
createMaskingColumn
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateMaskingPolicyResponse> createMaskingPolicy(CreateMaskingPolicyRequest request, AsyncHandler<CreateMaskingPolicyRequest,CreateMaskingPolicyResponse> handler)
DataSafeAsync
Creates a new masking policy and associates it with a sensitive data model or a target database.
To use a sensitive data model as the source of masking columns, set the columnSource attribute to SENSITIVE_DATA_MODEL and provide the sensitiveDataModelId attribute. After creating a masking policy, you can use the AddMaskingColumnsFromSdm operation to automatically add all the columns from the associated sensitive data model. In this case, the target database associated with the sensitive data model is used for column and masking format validations.
You can also create a masking policy without using a sensitive data model. In this case, you need to associate your masking policy with a target database by setting the columnSource attribute to TARGET and providing the targetId attribute. The specified target database is used for column and masking format validations.
After creating a masking policy, you can use the CreateMaskingColumn or PatchMaskingColumns operation to manually add columns to the policy. You need to add the parent columns only, and it automatically adds the child columns (in referential relationship with the parent columns) from the associated sensitive data model or target database.
createMaskingPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateOnPremConnectorResponse> createOnPremConnector(CreateOnPremConnectorRequest request, AsyncHandler<CreateOnPremConnectorRequest,CreateOnPremConnectorResponse> handler)
DataSafeAsync
Creates a new on-premises connector.
createOnPremConnector
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreatePeerTargetDatabaseResponse> createPeerTargetDatabase(CreatePeerTargetDatabaseRequest request, AsyncHandler<CreatePeerTargetDatabaseRequest,CreatePeerTargetDatabaseResponse> handler)
DataSafeAsync
Creates the peer target database under the primary target database in Data Safe.
createPeerTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateReportDefinitionResponse> createReportDefinition(CreateReportDefinitionRequest request, AsyncHandler<CreateReportDefinitionRequest,CreateReportDefinitionResponse> handler)
DataSafeAsync
Creates a new report definition with parameters specified in the body. The report definition is stored in the specified compartment.
createReportDefinition
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSdmMaskingPolicyDifferenceResponse> createSdmMaskingPolicyDifference(CreateSdmMaskingPolicyDifferenceRequest request, AsyncHandler<CreateSdmMaskingPolicyDifferenceRequest,CreateSdmMaskingPolicyDifferenceResponse> handler)
DataSafeAsync
Creates SDM masking policy difference for the specified masking policy. It finds the difference between masking columns of the masking policy and sensitive columns of the SDM. After performing this operation, you can use ListDifferenceColumns to view the difference columns, PatchSdmMaskingPolicyDifferenceColumns to specify the action you want perform on these columns, and then ApplySdmMaskingPolicyDifference to process the difference columns and apply them to the masking policy.
createSdmMaskingPolicyDifference
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSecurityAssessmentResponse> createSecurityAssessment(CreateSecurityAssessmentRequest request, AsyncHandler<CreateSecurityAssessmentRequest,CreateSecurityAssessmentResponse> handler)
DataSafeAsync
Creates a new saved security assessment for one or multiple targets in a compartment. When this operation is performed, it will save the latest assessments in the specified compartment. If a schedule is passed, it will persist the latest assessments, at the defined date and time, in the format defined by RFC3339.
createSecurityAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSensitiveColumnResponse> createSensitiveColumn(CreateSensitiveColumnRequest request, AsyncHandler<CreateSensitiveColumnRequest,CreateSensitiveColumnResponse> handler)
DataSafeAsync
Creates a new sensitive column in the specified sensitive data model.
createSensitiveColumn
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSensitiveDataModelResponse> createSensitiveDataModel(CreateSensitiveDataModelRequest request, AsyncHandler<CreateSensitiveDataModelRequest,CreateSensitiveDataModelResponse> handler)
DataSafeAsync
Creates a new sensitive data model. If schemas and sensitive types are provided, it automatically runs data discovery and adds the discovered columns to the sensitive data model. Otherwise, it creates an empty sensitive data model that can be updated later.
createSensitiveDataModel
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSensitiveTypeResponse> createSensitiveType(CreateSensitiveTypeRequest request, AsyncHandler<CreateSensitiveTypeRequest,CreateSensitiveTypeResponse> handler)
DataSafeAsync
Creates a new sensitive type, which can be a basic sensitive type with regular expressions or a sensitive category. While sensitive types are used for data discovery, sensitive categories are used for logically grouping the related or similar sensitive types.
createSensitiveType
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateSqlCollectionResponse> createSqlCollection(CreateSqlCollectionRequest request, AsyncHandler<CreateSqlCollectionRequest,CreateSqlCollectionResponse> handler)
DataSafeAsync
Creates a new SQL collection resource.
createSqlCollection
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTargetAlertPolicyAssociationResponse> createTargetAlertPolicyAssociation(CreateTargetAlertPolicyAssociationRequest request, AsyncHandler<CreateTargetAlertPolicyAssociationRequest,CreateTargetAlertPolicyAssociationResponse> handler)
DataSafeAsync
Creates a new target-alert policy association to track a alert policy applied on target.
createTargetAlertPolicyAssociation
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTargetDatabaseResponse> createTargetDatabase(CreateTargetDatabaseRequest request, AsyncHandler<CreateTargetDatabaseRequest,CreateTargetDatabaseResponse> handler)
DataSafeAsync
Registers the specified database with Data Safe and creates a Data Safe target database in the Data Safe Console.
createTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateUserAssessmentResponse> createUserAssessment(CreateUserAssessmentRequest request, AsyncHandler<CreateUserAssessmentRequest,CreateUserAssessmentResponse> handler)
DataSafeAsync
Creates a new saved user assessment for one or multiple targets in a compartment. It saves the latest assessments in the specified compartment. If a scheduled is passed in, this operation persists the latest assessments that exist at the defined date and time, in the format defined by RFC3339.
createUserAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeactivateTargetDatabaseResponse> deactivateTargetDatabase(DeactivateTargetDatabaseRequest request, AsyncHandler<DeactivateTargetDatabaseRequest,DeactivateTargetDatabaseResponse> handler)
DataSafeAsync
Deactivates a target database in Data Safe.
deactivateTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteAlertPolicyResponse> deleteAlertPolicy(DeleteAlertPolicyRequest request, AsyncHandler<DeleteAlertPolicyRequest,DeleteAlertPolicyResponse> handler)
DataSafeAsync
Deletes the specified user-defined alert policy.
deleteAlertPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteAlertPolicyRuleResponse> deleteAlertPolicyRule(DeleteAlertPolicyRuleRequest request, AsyncHandler<DeleteAlertPolicyRuleRequest,DeleteAlertPolicyRuleResponse> handler)
DataSafeAsync
Deletes the specified user-defined alert policy rule.
deleteAlertPolicyRule
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteAuditArchiveRetrievalResponse> deleteAuditArchiveRetrieval(DeleteAuditArchiveRetrievalRequest request, AsyncHandler<DeleteAuditArchiveRetrievalRequest,DeleteAuditArchiveRetrievalResponse> handler)
DataSafeAsync
To unload retrieved archive data, call the operation ListAuditArchiveRetrieval first. This will return the auditArchiveRetrievalId. Then call this operation with auditArchiveRetrievalId.
deleteAuditArchiveRetrieval
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteAuditTrailResponse> deleteAuditTrail(DeleteAuditTrailRequest request, AsyncHandler<DeleteAuditTrailRequest,DeleteAuditTrailResponse> handler)
DataSafeAsync
Deletes the specified audit trail.
deleteAuditTrail
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDataSafePrivateEndpointResponse> deleteDataSafePrivateEndpoint(DeleteDataSafePrivateEndpointRequest request, AsyncHandler<DeleteDataSafePrivateEndpointRequest,DeleteDataSafePrivateEndpointResponse> handler)
DataSafeAsync
Deletes the specified Data Safe private endpoint.
deleteDataSafePrivateEndpoint
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDiscoveryJobResponse> deleteDiscoveryJob(DeleteDiscoveryJobRequest request, AsyncHandler<DeleteDiscoveryJobRequest,DeleteDiscoveryJobResponse> handler)
DataSafeAsync
Deletes the specified discovery job.
deleteDiscoveryJob
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteDiscoveryJobResultResponse> deleteDiscoveryJobResult(DeleteDiscoveryJobResultRequest request, AsyncHandler<DeleteDiscoveryJobResultRequest,DeleteDiscoveryJobResultResponse> handler)
DataSafeAsync
Deletes the specified discovery result.
deleteDiscoveryJobResult
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteLibraryMaskingFormatResponse> deleteLibraryMaskingFormat(DeleteLibraryMaskingFormatRequest request, AsyncHandler<DeleteLibraryMaskingFormatRequest,DeleteLibraryMaskingFormatResponse> handler)
DataSafeAsync
Deletes the specified library masking format.
deleteLibraryMaskingFormat
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteMaskingColumnResponse> deleteMaskingColumn(DeleteMaskingColumnRequest request, AsyncHandler<DeleteMaskingColumnRequest,DeleteMaskingColumnResponse> handler)
DataSafeAsync
Deletes the specified masking column.
deleteMaskingColumn
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteMaskingPolicyResponse> deleteMaskingPolicy(DeleteMaskingPolicyRequest request, AsyncHandler<DeleteMaskingPolicyRequest,DeleteMaskingPolicyResponse> handler)
DataSafeAsync
Deletes the specified masking policy.
deleteMaskingPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteMaskingPolicyHealthReportResponse> deleteMaskingPolicyHealthReport(DeleteMaskingPolicyHealthReportRequest request, AsyncHandler<DeleteMaskingPolicyHealthReportRequest,DeleteMaskingPolicyHealthReportResponse> handler)
DataSafeAsync
Deletes the specified masking policy health report.
deleteMaskingPolicyHealthReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteOnPremConnectorResponse> deleteOnPremConnector(DeleteOnPremConnectorRequest request, AsyncHandler<DeleteOnPremConnectorRequest,DeleteOnPremConnectorResponse> handler)
DataSafeAsync
Deletes the specified on-premises connector.
deleteOnPremConnector
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeletePeerTargetDatabaseResponse> deletePeerTargetDatabase(DeletePeerTargetDatabaseRequest request, AsyncHandler<DeletePeerTargetDatabaseRequest,DeletePeerTargetDatabaseResponse> handler)
DataSafeAsync
Removes the specified peer target database from Data Safe.
deletePeerTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteReportDefinitionResponse> deleteReportDefinition(DeleteReportDefinitionRequest request, AsyncHandler<DeleteReportDefinitionRequest,DeleteReportDefinitionResponse> handler)
DataSafeAsync
Deletes the specified report definition. Only the user created report definition can be deleted. The seeded report definitions cannot be deleted.
deleteReportDefinition
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSdmMaskingPolicyDifferenceResponse> deleteSdmMaskingPolicyDifference(DeleteSdmMaskingPolicyDifferenceRequest request, AsyncHandler<DeleteSdmMaskingPolicyDifferenceRequest,DeleteSdmMaskingPolicyDifferenceResponse> handler)
DataSafeAsync
Deletes the specified SDM Masking policy difference.
deleteSdmMaskingPolicyDifference
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSecurityAssessmentResponse> deleteSecurityAssessment(DeleteSecurityAssessmentRequest request, AsyncHandler<DeleteSecurityAssessmentRequest,DeleteSecurityAssessmentResponse> handler)
DataSafeAsync
Deletes the specified saved security assessment or schedule. To delete a security assessment schedule, first call the operation ListSecurityAssessments with filters "type = save_schedule". That operation returns the scheduleAssessmentId. Then, call DeleteSecurityAssessment with the scheduleAssessmentId. If the assessment being deleted is the baseline for that compartment, then it will impact all baselines in the compartment.
deleteSecurityAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSensitiveColumnResponse> deleteSensitiveColumn(DeleteSensitiveColumnRequest request, AsyncHandler<DeleteSensitiveColumnRequest,DeleteSensitiveColumnResponse> handler)
DataSafeAsync
Deletes the specified sensitive column.
deleteSensitiveColumn
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSensitiveDataModelResponse> deleteSensitiveDataModel(DeleteSensitiveDataModelRequest request, AsyncHandler<DeleteSensitiveDataModelRequest,DeleteSensitiveDataModelResponse> handler)
DataSafeAsync
Deletes the specified sensitive data model.
deleteSensitiveDataModel
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSensitiveTypeResponse> deleteSensitiveType(DeleteSensitiveTypeRequest request, AsyncHandler<DeleteSensitiveTypeRequest,DeleteSensitiveTypeResponse> handler)
DataSafeAsync
Deletes the specified sensitive type.
deleteSensitiveType
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSqlCollectionResponse> deleteSqlCollection(DeleteSqlCollectionRequest request, AsyncHandler<DeleteSqlCollectionRequest,DeleteSqlCollectionResponse> handler)
DataSafeAsync
Deletes the specified SQL collection.
deleteSqlCollection
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSqlFirewallAllowedSqlResponse> deleteSqlFirewallAllowedSql(DeleteSqlFirewallAllowedSqlRequest request, AsyncHandler<DeleteSqlFirewallAllowedSqlRequest,DeleteSqlFirewallAllowedSqlResponse> handler)
DataSafeAsync
Deletes the specified allowed sql.
deleteSqlFirewallAllowedSql
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteSqlFirewallPolicyResponse> deleteSqlFirewallPolicy(DeleteSqlFirewallPolicyRequest request, AsyncHandler<DeleteSqlFirewallPolicyRequest,DeleteSqlFirewallPolicyResponse> handler)
DataSafeAsync
Deletes the SQL Firewall policy resource.
deleteSqlFirewallPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteTargetAlertPolicyAssociationResponse> deleteTargetAlertPolicyAssociation(DeleteTargetAlertPolicyAssociationRequest request, AsyncHandler<DeleteTargetAlertPolicyAssociationRequest,DeleteTargetAlertPolicyAssociationResponse> handler)
DataSafeAsync
Deletes the specified target-alert policy Association.
deleteTargetAlertPolicyAssociation
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteTargetDatabaseResponse> deleteTargetDatabase(DeleteTargetDatabaseRequest request, AsyncHandler<DeleteTargetDatabaseRequest,DeleteTargetDatabaseResponse> handler)
DataSafeAsync
Deregisters the specified database from Data Safe and removes the target database from the Data Safe Console.
deleteTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteUserAssessmentResponse> deleteUserAssessment(DeleteUserAssessmentRequest request, AsyncHandler<DeleteUserAssessmentRequest,DeleteUserAssessmentResponse> handler)
DataSafeAsync
Deletes the specified saved user assessment or schedule. To delete a user assessment schedule, first call the operation ListUserAssessments with filters "type = save_schedule". That call returns the scheduleAssessmentId. Then call DeleteUserAssessment with the scheduleAssessmentId. If the assessment being deleted is the baseline for that compartment, then it will impact all baselines in the compartment.
deleteUserAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DiscoverAuditTrailsResponse> discoverAuditTrails(DiscoverAuditTrailsRequest request, AsyncHandler<DiscoverAuditTrailsRequest,DiscoverAuditTrailsResponse> handler)
DataSafeAsync
Updates the list of audit trails created under audit profile.The operation can be used to create new audit trails for target database when they become available for audit collection because of change of database version or change of database unified mode or change of data base edition or being deleted previously etc.
discoverAuditTrails
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DownloadDiscoveryReportResponse> downloadDiscoveryReport(DownloadDiscoveryReportRequest request, AsyncHandler<DownloadDiscoveryReportRequest,DownloadDiscoveryReportResponse> handler)
DataSafeAsync
Downloads an already-generated discovery report. Note that the GenerateDiscoveryReportForDownload operation is a prerequisite for the DownloadDiscoveryReport operation. Use GenerateDiscoveryReportForDownload to generate a discovery report file and then use DownloadDiscoveryReport to download the generated file. By default, it downloads report for all the columns in a sensitive data model. Use the discoveryJobId attribute to download report for a specific discovery job.
downloadDiscoveryReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DownloadMaskingLogResponse> downloadMaskingLog(DownloadMaskingLogRequest request, AsyncHandler<DownloadMaskingLogRequest,DownloadMaskingLogResponse> handler)
DataSafeAsync
Downloads the masking log generated by the last masking operation on a target database using the specified masking policy.
downloadMaskingLog
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DownloadMaskingPolicyResponse> downloadMaskingPolicy(DownloadMaskingPolicyRequest request, AsyncHandler<DownloadMaskingPolicyRequest,DownloadMaskingPolicyResponse> handler)
DataSafeAsync
Downloads an already-generated file corresponding to the specified masking policy. Note that the GenerateMaskingPolicyForDownload operation is a prerequisite for the DownloadMaskingPolicy operation. Use GenerateMaskingPolicyForDownload to generate a masking policy file and then use DownloadMaskingPolicy to download the generated file.
downloadMaskingPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DownloadMaskingReportResponse> downloadMaskingReport(DownloadMaskingReportRequest request, AsyncHandler<DownloadMaskingReportRequest,DownloadMaskingReportResponse> handler)
DataSafeAsync
Downloads an already-generated masking report. Note that the GenerateMaskingReportForDownload operation is a prerequisite for the DownloadMaskingReport operation. Use GenerateMaskingReportForDownload to generate a masking report file and then use DownloadMaskingReport to download the generated file.
downloadMaskingReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DownloadPrivilegeScriptResponse> downloadPrivilegeScript(DownloadPrivilegeScriptRequest request, AsyncHandler<DownloadPrivilegeScriptRequest,DownloadPrivilegeScriptResponse> handler)
DataSafeAsync
Downloads the privilege script to grant/revoke required roles from the Data Safe account on the target database.
downloadPrivilegeScript
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DownloadSecurityAssessmentReportResponse> downloadSecurityAssessmentReport(DownloadSecurityAssessmentReportRequest request, AsyncHandler<DownloadSecurityAssessmentReportRequest,DownloadSecurityAssessmentReportResponse> handler)
DataSafeAsync
Downloads the report of the specified security assessment. To download the security assessment report, it needs to be generated first. Please use GenerateSecurityAssessmentReport to generate a downloadable report in the preferred format (PDF, XLS).
downloadSecurityAssessmentReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DownloadSensitiveDataModelResponse> downloadSensitiveDataModel(DownloadSensitiveDataModelRequest request, AsyncHandler<DownloadSensitiveDataModelRequest,DownloadSensitiveDataModelResponse> handler)
DataSafeAsync
Downloads an already-generated file corresponding to the specified sensitive data model. Note that the GenerateSensitiveDataModelForDownload operation is a prerequisite for the DownloadSensitiveDataModel operation. Use GenerateSensitiveDataModelForDownload to generate a data model file and then use DownloadSensitiveDataModel to download the generated file.
downloadSensitiveDataModel
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DownloadUserAssessmentReportResponse> downloadUserAssessmentReport(DownloadUserAssessmentReportRequest request, AsyncHandler<DownloadUserAssessmentReportRequest,DownloadUserAssessmentReportResponse> handler)
DataSafeAsync
Downloads the report of the specified user assessment. To download the user assessment report, it needs to be generated first. Please use GenerateUserAssessmentReport to generate a downloadable report in the preferred format (PDF, XLS).
downloadUserAssessmentReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableDataSafeConfigurationResponse> enableDataSafeConfiguration(EnableDataSafeConfigurationRequest request, AsyncHandler<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationResponse> handler)
DataSafeAsync
Enables Data Safe in the tenancy and region.
enableDataSafeConfiguration
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateDiscoveryReportForDownloadResponse> generateDiscoveryReportForDownload(GenerateDiscoveryReportForDownloadRequest request, AsyncHandler<GenerateDiscoveryReportForDownloadRequest,GenerateDiscoveryReportForDownloadResponse> handler)
DataSafeAsync
Generates a downloadable discovery report. It’s a prerequisite for the DownloadDiscoveryReport operation. Use this endpoint to generate a discovery report file and then use DownloadDiscoveryReport to download the generated file. By default, it generates report for all the columns in a sensitive data model. Use the discoveryJobId attribute to generate report for a specific discovery job.
generateDiscoveryReportForDownload
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateHealthReportResponse> generateHealthReport(GenerateHealthReportRequest request, AsyncHandler<GenerateHealthReportRequest,GenerateHealthReportResponse> handler)
DataSafeAsync
Performs health check on the masking policy.
generateHealthReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateMaskingPolicyForDownloadResponse> generateMaskingPolicyForDownload(GenerateMaskingPolicyForDownloadRequest request, AsyncHandler<GenerateMaskingPolicyForDownloadRequest,GenerateMaskingPolicyForDownloadResponse> handler)
DataSafeAsync
Generates a downloadable file corresponding to the specified masking policy. It’s a prerequisite for the DownloadMaskingPolicy operation. Use this endpoint to generate a masking policy file and then use DownloadMaskingPolicy to download the generated file. Note that file generation and download are serial operations. The download operation can’t be invoked while the generate operation is in progress.
generateMaskingPolicyForDownload
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateMaskingReportForDownloadResponse> generateMaskingReportForDownload(GenerateMaskingReportForDownloadRequest request, AsyncHandler<GenerateMaskingReportForDownloadRequest,GenerateMaskingReportForDownloadResponse> handler)
DataSafeAsync
Generates a downloadable masking report. It’s a prerequisite for the DownloadMaskingReport operation. Use this endpoint to generate a masking report file and then use DownloadMaskingReport to download the generated file.
generateMaskingReportForDownload
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateOnPremConnectorConfigurationResponse> generateOnPremConnectorConfiguration(GenerateOnPremConnectorConfigurationRequest request, AsyncHandler<GenerateOnPremConnectorConfigurationRequest,GenerateOnPremConnectorConfigurationResponse> handler)
DataSafeAsync
Creates and downloads the configuration of the specified on-premises connector.
generateOnPremConnectorConfiguration
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateReportResponse> generateReport(GenerateReportRequest request, AsyncHandler<GenerateReportRequest,GenerateReportResponse> handler)
DataSafeAsync
Generates a .xls or .pdf report based on parameters and report definition.
generateReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateSecurityAssessmentReportResponse> generateSecurityAssessmentReport(GenerateSecurityAssessmentReportRequest request, AsyncHandler<GenerateSecurityAssessmentReportRequest,GenerateSecurityAssessmentReportResponse> handler)
DataSafeAsync
Generates the report of the specified security assessment. You can get the report in PDF or XLS format. After generating the report, use DownloadSecurityAssessmentReport to download it in the preferred format.
generateSecurityAssessmentReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateSensitiveDataModelForDownloadResponse> generateSensitiveDataModelForDownload(GenerateSensitiveDataModelForDownloadRequest request, AsyncHandler<GenerateSensitiveDataModelForDownloadRequest,GenerateSensitiveDataModelForDownloadResponse> handler)
DataSafeAsync
Generates a downloadable file corresponding to the specified sensitive data model. It’s a prerequisite for the DownloadSensitiveDataModel operation. Use this endpoint to generate a data model file and then use DownloadSensitiveDataModel to download the generated file. Note that file generation and download are serial operations. The download operation can’t be invoked while the generate operation is in progress.
generateSensitiveDataModelForDownload
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateSqlFirewallPolicyResponse> generateSqlFirewallPolicy(GenerateSqlFirewallPolicyRequest request, AsyncHandler<GenerateSqlFirewallPolicyRequest,GenerateSqlFirewallPolicyResponse> handler)
DataSafeAsync
Generates or appends to the SQL Firewall policy using the specified SQL collection.
generateSqlFirewallPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateUserAssessmentReportResponse> generateUserAssessmentReport(GenerateUserAssessmentReportRequest request, AsyncHandler<GenerateUserAssessmentReportRequest,GenerateUserAssessmentReportResponse> handler)
DataSafeAsync
Generates the report of the specified user assessment. The report is available in PDF or XLS format. After generating the report, use DownloadUserAssessmentReport to download it in the preferred format.
generateUserAssessmentReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAlertResponse> getAlert(GetAlertRequest request, AsyncHandler<GetAlertRequest,GetAlertResponse> handler)
DataSafeAsync
Gets the details of the specified alerts.
getAlert
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAlertPolicyResponse> getAlertPolicy(GetAlertPolicyRequest request, AsyncHandler<GetAlertPolicyRequest,GetAlertPolicyResponse> handler)
DataSafeAsync
Gets the details of alert policy by its ID.
getAlertPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAlertPolicyRuleResponse> getAlertPolicyRule(GetAlertPolicyRuleRequest request, AsyncHandler<GetAlertPolicyRuleRequest,GetAlertPolicyRuleResponse> handler)
DataSafeAsync
Gets the details of a policy rule by its key.
getAlertPolicyRule
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAuditArchiveRetrievalResponse> getAuditArchiveRetrieval(GetAuditArchiveRetrievalRequest request, AsyncHandler<GetAuditArchiveRetrievalRequest,GetAuditArchiveRetrievalResponse> handler)
DataSafeAsync
Gets the details of the specified archive retreival.
getAuditArchiveRetrieval
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAuditPolicyResponse> getAuditPolicy(GetAuditPolicyRequest request, AsyncHandler<GetAuditPolicyRequest,GetAuditPolicyResponse> handler)
DataSafeAsync
Gets a audit policy by identifier.
getAuditPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAuditProfileResponse> getAuditProfile(GetAuditProfileRequest request, AsyncHandler<GetAuditProfileRequest,GetAuditProfileResponse> handler)
DataSafeAsync
Gets the details of audit profile resource and associated audit trails of the audit profile.
getAuditProfile
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAuditTrailResponse> getAuditTrail(GetAuditTrailRequest request, AsyncHandler<GetAuditTrailRequest,GetAuditTrailResponse> handler)
DataSafeAsync
Gets the details of audit trail.
getAuditTrail
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetCompatibleFormatsForDataTypesResponse> getCompatibleFormatsForDataTypes(GetCompatibleFormatsForDataTypesRequest request, AsyncHandler<GetCompatibleFormatsForDataTypesRequest,GetCompatibleFormatsForDataTypesResponse> handler)
DataSafeAsync
Gets a list of basic masking formats compatible with the supported data types. The data types are grouped into the following categories - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types
getCompatibleFormatsForDataTypes
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetCompatibleFormatsForSensitiveTypesResponse> getCompatibleFormatsForSensitiveTypes(GetCompatibleFormatsForSensitiveTypesRequest request, AsyncHandler<GetCompatibleFormatsForSensitiveTypesRequest,GetCompatibleFormatsForSensitiveTypesResponse> handler)
DataSafeAsync
Gets a list of library masking formats compatible with the existing sensitive types. For each sensitive type, it returns the assigned default masking format as well as the other library masking formats that have the sensitiveTypeIds attribute containing the OCID of the sensitive type.
getCompatibleFormatsForSensitiveTypes
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDataSafeConfigurationResponse> getDataSafeConfiguration(GetDataSafeConfigurationRequest request, AsyncHandler<GetDataSafeConfigurationRequest,GetDataSafeConfigurationResponse> handler)
DataSafeAsync
Gets the details of the Data Safe configuration.
getDataSafeConfiguration
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDataSafePrivateEndpointResponse> getDataSafePrivateEndpoint(GetDataSafePrivateEndpointRequest request, AsyncHandler<GetDataSafePrivateEndpointRequest,GetDataSafePrivateEndpointResponse> handler)
DataSafeAsync
Gets the details of the specified Data Safe private endpoint.
getDataSafePrivateEndpoint
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDatabaseSecurityConfigResponse> getDatabaseSecurityConfig(GetDatabaseSecurityConfigRequest request, AsyncHandler<GetDatabaseSecurityConfigRequest,GetDatabaseSecurityConfigResponse> handler)
DataSafeAsync
Gets a database security configuration by identifier.
getDatabaseSecurityConfig
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDatabaseTableAccessEntryResponse> getDatabaseTableAccessEntry(GetDatabaseTableAccessEntryRequest request, AsyncHandler<GetDatabaseTableAccessEntryRequest,GetDatabaseTableAccessEntryResponse> handler)
DataSafeAsync
Gets a database table access entry object by identifier.
getDatabaseTableAccessEntry
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDatabaseViewAccessEntryResponse> getDatabaseViewAccessEntry(GetDatabaseViewAccessEntryRequest request, AsyncHandler<GetDatabaseViewAccessEntryRequest,GetDatabaseViewAccessEntryResponse> handler)
DataSafeAsync
Gets a database view access object by identifier.
getDatabaseViewAccessEntry
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDifferenceColumnResponse> getDifferenceColumn(GetDifferenceColumnRequest request, AsyncHandler<GetDifferenceColumnRequest,GetDifferenceColumnResponse> handler)
DataSafeAsync
Gets the details of the specified SDM Masking policy difference column.
getDifferenceColumn
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDiscoveryJobResponse> getDiscoveryJob(GetDiscoveryJobRequest request, AsyncHandler<GetDiscoveryJobRequest,GetDiscoveryJobResponse> handler)
DataSafeAsync
Gets the details of the specified discovery job.
getDiscoveryJob
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDiscoveryJobResultResponse> getDiscoveryJobResult(GetDiscoveryJobResultRequest request, AsyncHandler<GetDiscoveryJobResultRequest,GetDiscoveryJobResultResponse> handler)
DataSafeAsync
Gets the details of the specified discovery result.
getDiscoveryJobResult
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetLibraryMaskingFormatResponse> getLibraryMaskingFormat(GetLibraryMaskingFormatRequest request, AsyncHandler<GetLibraryMaskingFormatRequest,GetLibraryMaskingFormatResponse> handler)
DataSafeAsync
Gets the details of the specified library masking format.
getLibraryMaskingFormat
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetMaskingColumnResponse> getMaskingColumn(GetMaskingColumnRequest request, AsyncHandler<GetMaskingColumnRequest,GetMaskingColumnResponse> handler)
DataSafeAsync
Gets the details of the specified masking column.
getMaskingColumn
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetMaskingPolicyResponse> getMaskingPolicy(GetMaskingPolicyRequest request, AsyncHandler<GetMaskingPolicyRequest,GetMaskingPolicyResponse> handler)
DataSafeAsync
Gets the details of the specified masking policy.
getMaskingPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetMaskingPolicyHealthReportResponse> getMaskingPolicyHealthReport(GetMaskingPolicyHealthReportRequest request, AsyncHandler<GetMaskingPolicyHealthReportRequest,GetMaskingPolicyHealthReportResponse> handler)
DataSafeAsync
Gets the details of the specified masking policy health report.
getMaskingPolicyHealthReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetMaskingReportResponse> getMaskingReport(GetMaskingReportRequest request, AsyncHandler<GetMaskingReportRequest,GetMaskingReportResponse> handler)
DataSafeAsync
Gets the details of the specified masking report.
getMaskingReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetOnPremConnectorResponse> getOnPremConnector(GetOnPremConnectorRequest request, AsyncHandler<GetOnPremConnectorRequest,GetOnPremConnectorResponse> handler)
DataSafeAsync
Gets the details of the specified on-premises connector.
getOnPremConnector
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetPeerTargetDatabaseResponse> getPeerTargetDatabase(GetPeerTargetDatabaseRequest request, AsyncHandler<GetPeerTargetDatabaseRequest,GetPeerTargetDatabaseResponse> handler)
DataSafeAsync
Returns the details of the specified Data Safe peer target database.
getPeerTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetProfileResponse> getProfile(GetProfileRequest request, AsyncHandler<GetProfileRequest,GetProfileResponse> handler)
DataSafeAsync
Lists the details of given profile available on the target.
The GetProfile operation returns only the profiles in the specified 'userAssessmentId'. This does not include any subcompartments of the current compartment.
getProfile
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetReportResponse> getReport(GetReportRequest request, AsyncHandler<GetReportRequest,GetReportResponse> handler)
DataSafeAsync
Gets a report by identifier
getReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetReportContentResponse> getReportContent(GetReportContentRequest request, AsyncHandler<GetReportContentRequest,GetReportContentResponse> handler)
DataSafeAsync
Downloads the specified report in the form of .xls or .pdf.
getReportContent
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetReportDefinitionResponse> getReportDefinition(GetReportDefinitionRequest request, AsyncHandler<GetReportDefinitionRequest,GetReportDefinitionResponse> handler)
DataSafeAsync
Gets the details of report definition specified by the identifier
getReportDefinition
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSdmMaskingPolicyDifferenceResponse> getSdmMaskingPolicyDifference(GetSdmMaskingPolicyDifferenceRequest request, AsyncHandler<GetSdmMaskingPolicyDifferenceRequest,GetSdmMaskingPolicyDifferenceResponse> handler)
DataSafeAsync
Gets the details of the specified SDM Masking policy difference.
getSdmMaskingPolicyDifference
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSecurityAssessmentResponse> getSecurityAssessment(GetSecurityAssessmentRequest request, AsyncHandler<GetSecurityAssessmentRequest,GetSecurityAssessmentResponse> handler)
DataSafeAsync
Gets the details of the specified security assessment.
getSecurityAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSecurityAssessmentComparisonResponse> getSecurityAssessmentComparison(GetSecurityAssessmentComparisonRequest request, AsyncHandler<GetSecurityAssessmentComparisonRequest,GetSecurityAssessmentComparisonResponse> handler)
DataSafeAsync
Gets the details of the comparison report for the security assessments submitted for comparison.
getSecurityAssessmentComparison
in interface DataSafeAsync
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)
DataSafeAsync
Gets a security policy by the specified OCID of the security policy resource.
getSecurityPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSecurityPolicyDeploymentResponse> getSecurityPolicyDeployment(GetSecurityPolicyDeploymentRequest request, AsyncHandler<GetSecurityPolicyDeploymentRequest,GetSecurityPolicyDeploymentResponse> handler)
DataSafeAsync
Gets a security policy deployment by identifier.
getSecurityPolicyDeployment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSecurityPolicyEntryStateResponse> getSecurityPolicyEntryState(GetSecurityPolicyEntryStateRequest request, AsyncHandler<GetSecurityPolicyEntryStateRequest,GetSecurityPolicyEntryStateResponse> handler)
DataSafeAsync
Gets a security policy entity states by identifier.
getSecurityPolicyEntryState
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSecurityPolicyReportResponse> getSecurityPolicyReport(GetSecurityPolicyReportRequest request, AsyncHandler<GetSecurityPolicyReportRequest,GetSecurityPolicyReportResponse> handler)
DataSafeAsync
Gets a security policy report by the specified OCID of the security policy report resource.
getSecurityPolicyReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSensitiveColumnResponse> getSensitiveColumn(GetSensitiveColumnRequest request, AsyncHandler<GetSensitiveColumnRequest,GetSensitiveColumnResponse> handler)
DataSafeAsync
Gets the details of the specified sensitive column.
getSensitiveColumn
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSensitiveDataModelResponse> getSensitiveDataModel(GetSensitiveDataModelRequest request, AsyncHandler<GetSensitiveDataModelRequest,GetSensitiveDataModelResponse> handler)
DataSafeAsync
Gets the details of the specified sensitive data model.
getSensitiveDataModel
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSensitiveTypeResponse> getSensitiveType(GetSensitiveTypeRequest request, AsyncHandler<GetSensitiveTypeRequest,GetSensitiveTypeResponse> handler)
DataSafeAsync
Gets the details of the specified sensitive type.
getSensitiveType
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSqlCollectionResponse> getSqlCollection(GetSqlCollectionRequest request, AsyncHandler<GetSqlCollectionRequest,GetSqlCollectionResponse> handler)
DataSafeAsync
Gets a SQL collection by identifier.
getSqlCollection
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSqlFirewallAllowedSqlResponse> getSqlFirewallAllowedSql(GetSqlFirewallAllowedSqlRequest request, AsyncHandler<GetSqlFirewallAllowedSqlRequest,GetSqlFirewallAllowedSqlResponse> handler)
DataSafeAsync
Gets a SQL firewall allowed SQL by identifier.
getSqlFirewallAllowedSql
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetSqlFirewallPolicyResponse> getSqlFirewallPolicy(GetSqlFirewallPolicyRequest request, AsyncHandler<GetSqlFirewallPolicyRequest,GetSqlFirewallPolicyResponse> handler)
DataSafeAsync
Gets a SQL Firewall policy by identifier.
getSqlFirewallPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTargetAlertPolicyAssociationResponse> getTargetAlertPolicyAssociation(GetTargetAlertPolicyAssociationRequest request, AsyncHandler<GetTargetAlertPolicyAssociationRequest,GetTargetAlertPolicyAssociationResponse> handler)
DataSafeAsync
Gets the details of target-alert policy association by its ID.
getTargetAlertPolicyAssociation
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTargetDatabaseResponse> getTargetDatabase(GetTargetDatabaseRequest request, AsyncHandler<GetTargetDatabaseRequest,GetTargetDatabaseResponse> handler)
DataSafeAsync
Returns the details of the specified Data Safe target database.
getTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetUserAssessmentResponse> getUserAssessment(GetUserAssessmentRequest request, AsyncHandler<GetUserAssessmentRequest,GetUserAssessmentResponse> handler)
DataSafeAsync
Gets a user assessment by identifier.
getUserAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetUserAssessmentComparisonResponse> getUserAssessmentComparison(GetUserAssessmentComparisonRequest request, AsyncHandler<GetUserAssessmentComparisonRequest,GetUserAssessmentComparisonResponse> handler)
DataSafeAsync
Gets the details of the comparison report for the user assessments submitted for comparison.
getUserAssessmentComparison
in interface DataSafeAsync
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)
DataSafeAsync
Gets the details of the specified work request.
getWorkRequest
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAlertAnalyticsResponse> listAlertAnalytics(ListAlertAnalyticsRequest request, AsyncHandler<ListAlertAnalyticsRequest,ListAlertAnalyticsResponse> handler)
DataSafeAsync
Returns the aggregation details of the alerts.
listAlertAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAlertPoliciesResponse> listAlertPolicies(ListAlertPoliciesRequest request, AsyncHandler<ListAlertPoliciesRequest,ListAlertPoliciesResponse> handler)
DataSafeAsync
Gets a list of all alert policies.
listAlertPolicies
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAlertPolicyRulesResponse> listAlertPolicyRules(ListAlertPolicyRulesRequest request, AsyncHandler<ListAlertPolicyRulesRequest,ListAlertPolicyRulesResponse> handler)
DataSafeAsync
Lists the rules of the specified alert policy. The alert policy is said to be satisfied when all rules in the policy evaulate to true. If there are three rules: rule1,rule2 and rule3, the policy is satisfied if rule1 AND rule2 AND rule3 is True.
listAlertPolicyRules
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAlertsResponse> listAlerts(ListAlertsRequest request, AsyncHandler<ListAlertsRequest,ListAlertsResponse> handler)
DataSafeAsync
Gets a list of all alerts.
listAlerts
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAuditArchiveRetrievalsResponse> listAuditArchiveRetrievals(ListAuditArchiveRetrievalsRequest request, AsyncHandler<ListAuditArchiveRetrievalsRequest,ListAuditArchiveRetrievalsResponse> handler)
DataSafeAsync
Returns the list of audit archive retrieval.
listAuditArchiveRetrievals
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAuditEventAnalyticsResponse> listAuditEventAnalytics(ListAuditEventAnalyticsRequest request, AsyncHandler<ListAuditEventAnalyticsRequest,ListAuditEventAnalyticsResponse> handler)
DataSafeAsync
By default the ListAuditEventAnalytics operation will return all of the summary columns. To
filter for a specific summary column, specify it in the summaryField
query parameter.
*Example:** /ListAuditEventAnalytics?summaryField=targetName&summaryField=userName&summaryField=clientHostname &summaryField=dmls&summaryField=privilegeChanges&summaryField=ddls&summaryField=loginFailure&summaryField=loginSuccess &summaryField=allRecord&q=(auditEventTime ge \"2021-06-13T23:49:14\")
/ListAuditEventAnalytics?timeStarted=2022-08-18T11:02:26.000Z&timeEnded=2022-08-24T11:02:26.000Z This will give number of events grouped by periods. Period can be 1 day, 1 week, etc.
/ListAuditEventAnalytics?summaryField=targetName&groupBy=targetName This will give the number of events group by targetName. Only targetName summary column would be returned.
listAuditEventAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAuditEventsResponse> listAuditEvents(ListAuditEventsRequest request, AsyncHandler<ListAuditEventsRequest,ListAuditEventsResponse> handler)
DataSafeAsync
The ListAuditEvents operation returns specified compartmentId
audit Events only. The list
does not include any audit Events associated with the subcompartments
of the specified
compartmentId
.
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 ListAuditEvents 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.
listAuditEvents
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAuditPoliciesResponse> listAuditPolicies(ListAuditPoliciesRequest request, AsyncHandler<ListAuditPoliciesRequest,ListAuditPoliciesResponse> handler)
DataSafeAsync
Retrieves a list of all audited targets with their corresponding provisioned audit policies, and their provisioning conditions.
The ListAuditPolicies operation returns only the audit policies in the specified `compartmentId`. 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 ListAuditPolicies 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.
listAuditPolicies
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAuditPolicyAnalyticsResponse> listAuditPolicyAnalytics(ListAuditPolicyAnalyticsRequest request, AsyncHandler<ListAuditPolicyAnalyticsRequest,ListAuditPolicyAnalyticsResponse> handler)
DataSafeAsync
Gets a list of aggregated audit policy details on the target databases. A audit policy aggregation helps understand the overall state of policies provisioned on targets. It is especially useful to create dashboards or to support analytics.
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 SummarizedAuditPolicyInfo on the specified `compartmentId` 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.
*Example:** ListAuditPolicyAnalytics?groupBy=auditPolicyCategory
listAuditPolicyAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAuditProfileAnalyticsResponse> listAuditProfileAnalytics(ListAuditProfileAnalyticsRequest request, AsyncHandler<ListAuditProfileAnalyticsRequest,ListAuditProfileAnalyticsResponse> handler)
DataSafeAsync
Gets a list of audit profile aggregated details . A audit profile aggregation helps understand the overall state of audit profile profiles. As an example, it helps understand how many audit profiles have paid usage. It is especially useful to create dashboards or to support analytics.
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 AuditProfileAnalytics 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.
listAuditProfileAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAuditProfilesResponse> listAuditProfiles(ListAuditProfilesRequest request, AsyncHandler<ListAuditProfilesRequest,ListAuditProfilesResponse> handler)
DataSafeAsync
Gets a list of all audit profiles.
The ListAuditProfiles operation returns only the audit profiles in the specified `compartmentId`. 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 ListAuditProfiles 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.
listAuditProfiles
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAuditTrailAnalyticsResponse> listAuditTrailAnalytics(ListAuditTrailAnalyticsRequest request, AsyncHandler<ListAuditTrailAnalyticsRequest,ListAuditTrailAnalyticsResponse> handler)
DataSafeAsync
Gets a list of audit trail aggregated details . A audit trail aggregation helps understand the overall state of trails. As an example, it helps understand how many trails are running or stopped. It is especially useful to create dashboards or to support analytics.
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 AuditTrailAnalytics 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.
listAuditTrailAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAuditTrailsResponse> listAuditTrails(ListAuditTrailsRequest request, AsyncHandler<ListAuditTrailsRequest,ListAuditTrailsResponse> handler)
DataSafeAsync
Gets a list of all audit trails. The ListAuditTrails operation returns only the audit trails
in the specified compartmentId
. 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 ListAuditTrails 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.
listAuditTrails
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAvailableAuditVolumesResponse> listAvailableAuditVolumes(ListAvailableAuditVolumesRequest request, AsyncHandler<ListAvailableAuditVolumesRequest,ListAvailableAuditVolumesResponse> handler)
DataSafeAsync
Retrieves a list of audit trails, and associated audit event volume for each trail up to defined start date.
listAvailableAuditVolumes
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListCollectedAuditVolumesResponse> listCollectedAuditVolumes(ListCollectedAuditVolumesRequest request, AsyncHandler<ListCollectedAuditVolumesRequest,ListCollectedAuditVolumesResponse> handler)
DataSafeAsync
Gets a list of all collected audit volume data points.
listCollectedAuditVolumes
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListColumnsResponse> listColumns(ListColumnsRequest request, AsyncHandler<ListColumnsRequest,ListColumnsResponse> handler)
DataSafeAsync
Returns a list of column metadata objects.
listColumns
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDataSafePrivateEndpointsResponse> listDataSafePrivateEndpoints(ListDataSafePrivateEndpointsRequest request, AsyncHandler<ListDataSafePrivateEndpointsRequest,ListDataSafePrivateEndpointsResponse> handler)
DataSafeAsync
Gets a list of Data Safe private endpoints.
listDataSafePrivateEndpoints
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDatabaseSecurityConfigsResponse> listDatabaseSecurityConfigs(ListDatabaseSecurityConfigsRequest request, AsyncHandler<ListDatabaseSecurityConfigsRequest,ListDatabaseSecurityConfigsResponse> handler)
DataSafeAsync
Retrieves a list of all database security configurations in Data Safe.
The ListDatabaseSecurityConfigs operation returns only the database security configurations in the specified `compartmentId`.
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 ListDatabaseSecurityConfigs 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.
listDatabaseSecurityConfigs
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDatabaseTableAccessEntriesResponse> listDatabaseTableAccessEntries(ListDatabaseTableAccessEntriesRequest request, AsyncHandler<ListDatabaseTableAccessEntriesRequest,ListDatabaseTableAccessEntriesResponse> handler)
DataSafeAsync
Retrieves a list of all database table access entries in Data Safe.
The ListDatabaseTableAccessEntries operation returns only the database table access reports for the specified security policy report.
listDatabaseTableAccessEntries
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDatabaseViewAccessEntriesResponse> listDatabaseViewAccessEntries(ListDatabaseViewAccessEntriesRequest request, AsyncHandler<ListDatabaseViewAccessEntriesRequest,ListDatabaseViewAccessEntriesResponse> handler)
DataSafeAsync
Retrieves a list of all database view access entries in Data Safe.
The ListDatabaseViewAccessEntries operation returns only the database view access objects for the specified security policy report.
listDatabaseViewAccessEntries
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDifferenceColumnsResponse> listDifferenceColumns(ListDifferenceColumnsRequest request, AsyncHandler<ListDifferenceColumnsRequest,ListDifferenceColumnsResponse> handler)
DataSafeAsync
Gets a list of columns of a SDM masking policy difference resource based on the specified query parameters.
listDifferenceColumns
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDiscoveryAnalyticsResponse> listDiscoveryAnalytics(ListDiscoveryAnalyticsRequest request, AsyncHandler<ListDiscoveryAnalyticsRequest,ListDiscoveryAnalyticsResponse> handler)
DataSafeAsync
Gets consolidated discovery analytics data based on the specified query parameters. If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour is equivalent to accessLevel "ACCESSIBLE" by default.
listDiscoveryAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDiscoveryJobResultsResponse> listDiscoveryJobResults(ListDiscoveryJobResultsRequest request, AsyncHandler<ListDiscoveryJobResultsRequest,ListDiscoveryJobResultsResponse> handler)
DataSafeAsync
Gets a list of discovery results based on the specified query parameters.
listDiscoveryJobResults
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDiscoveryJobsResponse> listDiscoveryJobs(ListDiscoveryJobsRequest request, AsyncHandler<ListDiscoveryJobsRequest,ListDiscoveryJobsResponse> handler)
DataSafeAsync
Gets a list of incremental discovery jobs based on the specified query parameters.
listDiscoveryJobs
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFindingAnalyticsResponse> listFindingAnalytics(ListFindingAnalyticsRequest request, AsyncHandler<ListFindingAnalyticsRequest,ListFindingAnalyticsResponse> handler)
DataSafeAsync
Gets a list of findings aggregated details in the specified compartment. This provides information about the overall state of security assessment findings. You can use groupBy to get the count of findings under a certain risk level and with a certain findingKey, and as well as get the list of the targets that match the condition. This data is especially useful content for the statistic chart or to support analytics.
When you perform the ListFindingAnalytics operation, if the parameter compartmentIdInSubtree is set to \"true,\" and if the parameter accessLevel is set to ACCESSIBLE, then the operation returns statistics from the compartments in which the requestor has INSPECT permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by compartmentId, then \"Not Authorized\" is returned.
listFindingAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFindingsResponse> listFindings(ListFindingsRequest request, AsyncHandler<ListFindingsRequest,ListFindingsResponse> handler)
DataSafeAsync
List all the findings from all the targets in the specified compartment.
listFindings
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFindingsChangeAuditLogsResponse> listFindingsChangeAuditLogs(ListFindingsChangeAuditLogsRequest request, AsyncHandler<ListFindingsChangeAuditLogsRequest,ListFindingsChangeAuditLogsResponse> handler)
DataSafeAsync
List all changes made by user to risk level of findings of the specified assessment.
listFindingsChangeAuditLogs
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListGrantsResponse> listGrants(ListGrantsRequest request, AsyncHandler<ListGrantsRequest,ListGrantsResponse> handler)
DataSafeAsync
Gets a list of grants for a particular user in the specified user assessment. A user grant contains details such as the privilege name, type, category, and depth level. The depth level indicates how deep in the hierarchy of roles granted to roles a privilege grant is. The userKey in this operation is a system-generated identifier. Perform the operation ListUsers to get the userKey for a particular user.
listGrants
in interface DataSafeAsync