@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
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListLibraryMaskingFormatsResponse> listLibraryMaskingFormats(ListLibraryMaskingFormatsRequest request, AsyncHandler<ListLibraryMaskingFormatsRequest,ListLibraryMaskingFormatsResponse> handler)
DataSafeAsync
Gets a list of library masking formats based on the specified query parameters.
listLibraryMaskingFormats
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMaskedColumnsResponse> listMaskedColumns(ListMaskedColumnsRequest request, AsyncHandler<ListMaskedColumnsRequest,ListMaskedColumnsResponse> handler)
DataSafeAsync
Gets a list of masked columns present in the specified masking report and based on the specified query parameters.
listMaskedColumns
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMaskingAnalyticsResponse> listMaskingAnalytics(ListMaskingAnalyticsRequest request, AsyncHandler<ListMaskingAnalyticsRequest,ListMaskingAnalyticsResponse> handler)
DataSafeAsync
Gets consolidated masking analytics data based on the specified query parameters. If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour is equivalent to accessLevel "ACCESSIBLE" by default.
listMaskingAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMaskingColumnsResponse> listMaskingColumns(ListMaskingColumnsRequest request, AsyncHandler<ListMaskingColumnsRequest,ListMaskingColumnsResponse> handler)
DataSafeAsync
Gets a list of masking columns present in the specified masking policy and based on the specified query parameters.
listMaskingColumns
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMaskingObjectsResponse> listMaskingObjects(ListMaskingObjectsRequest request, AsyncHandler<ListMaskingObjectsRequest,ListMaskingObjectsResponse> handler)
DataSafeAsync
Gets a list of masking objects present in the specified masking policy and based on the specified query parameters.
listMaskingObjects
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMaskingPoliciesResponse> listMaskingPolicies(ListMaskingPoliciesRequest request, AsyncHandler<ListMaskingPoliciesRequest,ListMaskingPoliciesResponse> handler)
DataSafeAsync
Gets a list of masking policies based on the specified query parameters.
listMaskingPolicies
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMaskingPolicyHealthReportLogsResponse> listMaskingPolicyHealthReportLogs(ListMaskingPolicyHealthReportLogsRequest request, AsyncHandler<ListMaskingPolicyHealthReportLogsRequest,ListMaskingPolicyHealthReportLogsResponse> handler)
DataSafeAsync
Gets a list of errors and warnings from a masking policy health check.
listMaskingPolicyHealthReportLogs
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMaskingPolicyHealthReportsResponse> listMaskingPolicyHealthReports(ListMaskingPolicyHealthReportsRequest request, AsyncHandler<ListMaskingPolicyHealthReportsRequest,ListMaskingPolicyHealthReportsResponse> handler)
DataSafeAsync
Gets a list of masking policy health reports based on the specified query parameters.
listMaskingPolicyHealthReports
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMaskingReportsResponse> listMaskingReports(ListMaskingReportsRequest request, AsyncHandler<ListMaskingReportsRequest,ListMaskingReportsResponse> handler)
DataSafeAsync
Gets a list of masking reports based on the specified query parameters.
listMaskingReports
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMaskingSchemasResponse> listMaskingSchemas(ListMaskingSchemasRequest request, AsyncHandler<ListMaskingSchemasRequest,ListMaskingSchemasResponse> handler)
DataSafeAsync
Gets a list of masking schemas present in the specified masking policy and based on the specified query parameters.
listMaskingSchemas
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListOnPremConnectorsResponse> listOnPremConnectors(ListOnPremConnectorsRequest request, AsyncHandler<ListOnPremConnectorsRequest,ListOnPremConnectorsResponse> handler)
DataSafeAsync
Gets a list of on-premises connectors.
listOnPremConnectors
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPeerTargetDatabasesResponse> listPeerTargetDatabases(ListPeerTargetDatabasesRequest request, AsyncHandler<ListPeerTargetDatabasesRequest,ListPeerTargetDatabasesResponse> handler)
DataSafeAsync
Lists all the peer target databases under the primary target database identified by the OCID passed as path parameter.
listPeerTargetDatabases
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProfileAnalyticsResponse> listProfileAnalytics(ListProfileAnalyticsRequest request, AsyncHandler<ListProfileAnalyticsRequest,ListProfileAnalyticsResponse> handler)
DataSafeAsync
Gets a list of aggregated user profile details in the specified compartment. This provides information about the overall profiles available. For example, the user profile details include how many users have the profile assigned and do how many use password verification function. This data is especially useful content for dashboards or to support analytics.
When you perform the ListProfileAnalytics operation, if the parameter compartmentIdInSubtree is set to \"true,\" and if the parameter accessLevel is set to ACCESSIBLE, then the operation returns 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.
The parameter compartmentIdInSubtree applies when you perform ListProfileAnalytics on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned.
To use ListProfileAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment, set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
listProfileAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProfileSummariesResponse> listProfileSummaries(ListProfileSummariesRequest request, AsyncHandler<ListProfileSummariesRequest,ListProfileSummariesResponse> handler)
DataSafeAsync
Gets a list of user profiles containing the profile details along with the target id and user counts.
The ListProfiles operation returns only the profiles belonging to a certain target. If compartment type user assessment id is provided, then profile information for all the targets belonging to the pertaining compartment is returned. The list does not include any subcompartments of the compartment under consideration.
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 ListUserProfiles on the 'compartmentId' belonging to the assessmentId 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.
listProfileSummaries
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListReportDefinitionsResponse> listReportDefinitions(ListReportDefinitionsRequest request, AsyncHandler<ListReportDefinitionsRequest,ListReportDefinitionsResponse> handler)
DataSafeAsync
Gets a list of report definitions. The ListReportDefinitions operation returns only the
report definitions in the specified compartmentId
. It also returns the seeded report
definitions which are available to all the compartments.
listReportDefinitions
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListReportsResponse> listReports(ListReportsRequest request, AsyncHandler<ListReportsRequest,ListReportsResponse> handler)
DataSafeAsync
Gets a list of all the reports in the compartment. It contains information such as report generation time.
listReports
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListRoleGrantPathsResponse> listRoleGrantPaths(ListRoleGrantPathsRequest request, AsyncHandler<ListRoleGrantPathsRequest,ListRoleGrantPathsResponse> handler)
DataSafeAsync
Retrieves a list of all role grant paths for a particular user.
The ListRoleGrantPaths operation returns only the role grant paths for the specified security policy report.
listRoleGrantPaths
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListRolesResponse> listRoles(ListRolesRequest request, AsyncHandler<ListRolesRequest,ListRolesResponse> handler)
DataSafeAsync
Returns a list of role metadata objects.
listRoles
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSchemasResponse> listSchemas(ListSchemasRequest request, AsyncHandler<ListSchemasRequest,ListSchemasResponse> handler)
DataSafeAsync
Returns list of schema.
listSchemas
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSdmMaskingPolicyDifferencesResponse> listSdmMaskingPolicyDifferences(ListSdmMaskingPolicyDifferencesRequest request, AsyncHandler<ListSdmMaskingPolicyDifferencesRequest,ListSdmMaskingPolicyDifferencesResponse> handler)
DataSafeAsync
Gets a list of SDM and masking policy difference resources based on the specified query parameters.
listSdmMaskingPolicyDifferences
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityAssessmentsResponse> listSecurityAssessments(ListSecurityAssessmentsRequest request, AsyncHandler<ListSecurityAssessmentsRequest,ListSecurityAssessmentsResponse> handler)
DataSafeAsync
Gets a list of security assessments.
The ListSecurityAssessments operation returns only the assessments 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 ListSecurityAssessments 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.
listSecurityAssessments
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityFeatureAnalyticsResponse> listSecurityFeatureAnalytics(ListSecurityFeatureAnalyticsRequest request, AsyncHandler<ListSecurityFeatureAnalyticsRequest,ListSecurityFeatureAnalyticsResponse> handler)
DataSafeAsync
Gets a list of Database security feature usage aggregated details in the specified compartment. This provides information about the overall security controls, by returning the counting number of the target databases using the security features.
When you perform the ListSecurityFeatureAnalytics 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.
listSecurityFeatureAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityFeaturesResponse> listSecurityFeatures(ListSecurityFeaturesRequest request, AsyncHandler<ListSecurityFeaturesRequest,ListSecurityFeaturesResponse> handler)
DataSafeAsync
Lists the usage of Database security features for a given compartment or a target level, based on the filters provided.
listSecurityFeatures
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityPoliciesResponse> listSecurityPolicies(ListSecurityPoliciesRequest request, AsyncHandler<ListSecurityPoliciesRequest,ListSecurityPoliciesResponse> handler)
DataSafeAsync
Retrieves a list of all security policies in Data Safe.
The ListSecurityPolicies operation returns only the security policies 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 ListSecurityPolicies 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.
listSecurityPolicies
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityPolicyDeploymentsResponse> listSecurityPolicyDeployments(ListSecurityPolicyDeploymentsRequest request, AsyncHandler<ListSecurityPolicyDeploymentsRequest,ListSecurityPolicyDeploymentsResponse> handler)
DataSafeAsync
Retrieves a list of all security policy deployments in Data Safe.
The ListSecurityPolicyDeployments operation returns only the security policy deployments 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 ListSecurityPolicyDeployments 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.
listSecurityPolicyDeployments
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityPolicyEntryStatesResponse> listSecurityPolicyEntryStates(ListSecurityPolicyEntryStatesRequest request, AsyncHandler<ListSecurityPolicyEntryStatesRequest,ListSecurityPolicyEntryStatesResponse> handler)
DataSafeAsync
Retrieves a list of all security policy entry states in Data Safe.
The ListSecurityPolicyEntryStates operation returns only the security policy entry states for the specified security policy entry.
listSecurityPolicyEntryStates
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSecurityPolicyReportsResponse> listSecurityPolicyReports(ListSecurityPolicyReportsRequest request, AsyncHandler<ListSecurityPolicyReportsRequest,ListSecurityPolicyReportsResponse> handler)
DataSafeAsync
Retrieves a list of all security policy reports in Data Safe.
The ListSecurityPolicyReports operation returns only the security policy reports 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 ListSecurityPolicyReports 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.
listSecurityPolicyReports
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSensitiveColumnsResponse> listSensitiveColumns(ListSensitiveColumnsRequest request, AsyncHandler<ListSensitiveColumnsRequest,ListSensitiveColumnsResponse> handler)
DataSafeAsync
Gets a list of sensitive columns present in the specified sensitive data model based on the specified query parameters.
listSensitiveColumns
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSensitiveDataModelSensitiveTypesResponse> listSensitiveDataModelSensitiveTypes(ListSensitiveDataModelSensitiveTypesRequest request, AsyncHandler<ListSensitiveDataModelSensitiveTypesRequest,ListSensitiveDataModelSensitiveTypesResponse> handler)
DataSafeAsync
Gets a list of sensitive type Ids present in the specified sensitive data model.
listSensitiveDataModelSensitiveTypes
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSensitiveDataModelsResponse> listSensitiveDataModels(ListSensitiveDataModelsRequest request, AsyncHandler<ListSensitiveDataModelsRequest,ListSensitiveDataModelsResponse> handler)
DataSafeAsync
Gets a list of sensitive data models based on the specified query parameters.
listSensitiveDataModels
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSensitiveObjectsResponse> listSensitiveObjects(ListSensitiveObjectsRequest request, AsyncHandler<ListSensitiveObjectsRequest,ListSensitiveObjectsResponse> handler)
DataSafeAsync
Gets a list of sensitive objects present in the specified sensitive data model based on the specified query parameters.
listSensitiveObjects
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSensitiveSchemasResponse> listSensitiveSchemas(ListSensitiveSchemasRequest request, AsyncHandler<ListSensitiveSchemasRequest,ListSensitiveSchemasResponse> handler)
DataSafeAsync
Gets a list of sensitive schemas present in the specified sensitive data model based on the specified query parameters.
listSensitiveSchemas
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSensitiveTypesResponse> listSensitiveTypes(ListSensitiveTypesRequest request, AsyncHandler<ListSensitiveTypesRequest,ListSensitiveTypesResponse> handler)
DataSafeAsync
Gets a list of sensitive types based on the specified query parameters.
listSensitiveTypes
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlCollectionAnalyticsResponse> listSqlCollectionAnalytics(ListSqlCollectionAnalyticsRequest request, AsyncHandler<ListSqlCollectionAnalyticsRequest,ListSqlCollectionAnalyticsResponse> handler)
DataSafeAsync
Retrieves a list of all SQL collection analytics in Data Safe.
The ListSqlCollectionAnalytics operation returns only the analytics for the SQL collections 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 ListSqlCollections 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.
listSqlCollectionAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlCollectionLogInsightsResponse> listSqlCollectionLogInsights(ListSqlCollectionLogInsightsRequest request, AsyncHandler<ListSqlCollectionLogInsightsRequest,ListSqlCollectionLogInsightsResponse> handler)
DataSafeAsync
Retrieves a list of the SQL collection log analytics.
listSqlCollectionLogInsights
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlCollectionsResponse> listSqlCollections(ListSqlCollectionsRequest request, AsyncHandler<ListSqlCollectionsRequest,ListSqlCollectionsResponse> handler)
DataSafeAsync
Retrieves a list of all SQL collections in Data Safe.
The ListSqlCollections operation returns only the SQL collections 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 ListSqlCollections 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.
listSqlCollections
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlFirewallAllowedSqlAnalyticsResponse> listSqlFirewallAllowedSqlAnalytics(ListSqlFirewallAllowedSqlAnalyticsRequest request, AsyncHandler<ListSqlFirewallAllowedSqlAnalyticsRequest,ListSqlFirewallAllowedSqlAnalyticsResponse> handler)
DataSafeAsync
Returns the aggregation details of all SQL Firewall allowed SQL statements.
The ListSqlFirewallAllowedSqlAnalytics operation returns the aggregates of the SQL Firewall allowed SQL statements 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 ListSqlFirewallAllowedSqlAnalytics 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.
listSqlFirewallAllowedSqlAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlFirewallAllowedSqlsResponse> listSqlFirewallAllowedSqls(ListSqlFirewallAllowedSqlsRequest request, AsyncHandler<ListSqlFirewallAllowedSqlsRequest,ListSqlFirewallAllowedSqlsResponse> handler)
DataSafeAsync
Retrieves a list of all SQL Firewall allowed SQL statements.
The ListSqlFirewallAllowedSqls operation returns only the SQL Firewall allowed SQL statements 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 ListSqlFirewallPolicies 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.
listSqlFirewallAllowedSqls
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlFirewallPoliciesResponse> listSqlFirewallPolicies(ListSqlFirewallPoliciesRequest request, AsyncHandler<ListSqlFirewallPoliciesRequest,ListSqlFirewallPoliciesResponse> handler)
DataSafeAsync
Retrieves a list of all SQL Firewall policies.
The ListSqlFirewallPolicies operation returns only the SQL Firewall policies 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 ListSqlFirewallPolicies 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.
listSqlFirewallPolicies
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlFirewallPolicyAnalyticsResponse> listSqlFirewallPolicyAnalytics(ListSqlFirewallPolicyAnalyticsRequest request, AsyncHandler<ListSqlFirewallPolicyAnalyticsRequest,ListSqlFirewallPolicyAnalyticsResponse> handler)
DataSafeAsync
Gets a list of aggregated SQL Firewall policy details.
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 SummarizedSqlFirewallPolicyInfo 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.
listSqlFirewallPolicyAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlFirewallViolationAnalyticsResponse> listSqlFirewallViolationAnalytics(ListSqlFirewallViolationAnalyticsRequest request, AsyncHandler<ListSqlFirewallViolationAnalyticsRequest,ListSqlFirewallViolationAnalyticsResponse> handler)
DataSafeAsync
Returns the aggregation details of the SQL Firewall violations.
listSqlFirewallViolationAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListSqlFirewallViolationsResponse> listSqlFirewallViolations(ListSqlFirewallViolationsRequest request, AsyncHandler<ListSqlFirewallViolationsRequest,ListSqlFirewallViolationsResponse> handler)
DataSafeAsync
Gets a list of all the SQL Firewall violations captured by the firewall.
listSqlFirewallViolations
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTablesResponse> listTables(ListTablesRequest request, AsyncHandler<ListTablesRequest,ListTablesResponse> handler)
DataSafeAsync
Returns a list of table metadata objects.
listTables
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTargetAlertPolicyAssociationsResponse> listTargetAlertPolicyAssociations(ListTargetAlertPolicyAssociationsRequest request, AsyncHandler<ListTargetAlertPolicyAssociationsRequest,ListTargetAlertPolicyAssociationsResponse> handler)
DataSafeAsync
Gets a list of all target-alert policy associations.
listTargetAlertPolicyAssociations
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTargetDatabasesResponse> listTargetDatabases(ListTargetDatabasesRequest request, AsyncHandler<ListTargetDatabasesRequest,ListTargetDatabasesResponse> handler)
DataSafeAsync
Returns the list of registered target databases in Data Safe.
listTargetDatabases
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListUserAccessAnalyticsResponse> listUserAccessAnalytics(ListUserAccessAnalyticsRequest request, AsyncHandler<ListUserAccessAnalyticsRequest,ListUserAccessAnalyticsResponse> handler)
DataSafeAsync
Gets a list of aggregated user access analytics in the specified target in a compartment.
listUserAccessAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListUserAnalyticsResponse> listUserAnalytics(ListUserAnalyticsRequest request, AsyncHandler<ListUserAnalyticsRequest,ListUserAnalyticsResponse> handler)
DataSafeAsync
Gets a list of aggregated user details from the specified user assessment. This provides information about the overall state. of database user security. For example, the user details include how many users have the DBA role and how many users are in the critical category. This data is especially useful content for dashboards or to support analytics.
When you perform the ListUserAnalytics operation, if the parameter compartmentIdInSubtree is set to \"true,\" and if the parameter accessLevel is set to ACCESSIBLE, then the operation returns 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.
The parameter compartmentIdInSubtree applies when you perform ListUserAnalytics on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned.
To use ListUserAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment, set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
listUserAnalytics
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListUserAssessmentsResponse> listUserAssessments(ListUserAssessmentsRequest request, AsyncHandler<ListUserAssessmentsRequest,ListUserAssessmentsResponse> handler)
DataSafeAsync
Gets a list of user assessments.
The ListUserAssessments operation returns only the assessments 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 ListUserAssessments 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.
listUserAssessments
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListUsersResponse> listUsers(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResponse> handler)
DataSafeAsync
Gets a list of users of the specified user assessment. The result contains the database user details for each user, such as user type, account status, last login time, user creation time, authentication type, user profile, and the date and time of the latest password change. It also contains the user category derived from these user details as well as privileges granted to each user.
listUsers
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
DataSafeAsync
Gets a list of errors for the specified work request.
listWorkRequestErrors
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
DataSafeAsync
Gets a list of log entries for the specified work request.
listWorkRequestLogs
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
DataSafeAsync
Gets a list of work requests.
listWorkRequests
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<MaskDataResponse> maskData(MaskDataRequest request, AsyncHandler<MaskDataRequest,MaskDataResponse> handler)
DataSafeAsync
Masks data using the specified masking policy.
maskData
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ModifyGlobalSettingsResponse> modifyGlobalSettings(ModifyGlobalSettingsRequest request, AsyncHandler<ModifyGlobalSettingsRequest,ModifyGlobalSettingsResponse> handler)
DataSafeAsync
Modifies Global Settings in Data Safe in the tenancy and region.
modifyGlobalSettings
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchAlertsResponse> patchAlerts(PatchAlertsRequest request, AsyncHandler<PatchAlertsRequest,PatchAlertsResponse> handler)
DataSafeAsync
Updates the status of one or more alert specified by the alert IDs.
patchAlerts
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchDiscoveryJobResultsResponse> patchDiscoveryJobResults(PatchDiscoveryJobResultsRequest request, AsyncHandler<PatchDiscoveryJobResultsRequest,PatchDiscoveryJobResultsResponse> handler)
DataSafeAsync
Patches one or more discovery results. You can use this operation to set the plannedAction attribute before using ApplyDiscoveryJobResults to process the results based on this attribute.
patchDiscoveryJobResults
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchMaskingColumnsResponse> patchMaskingColumns(PatchMaskingColumnsRequest request, AsyncHandler<PatchMaskingColumnsRequest,PatchMaskingColumnsResponse> handler)
DataSafeAsync
Patches one or more columns in the specified masking policy. Use it to create, or update masking columns. To create masking columns, use CreateMaskingColumnDetails as the patch value. And to update masking columns, use UpdateMaskingColumnDetails as the patch value.
patchMaskingColumns
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchSdmMaskingPolicyDifferenceColumnsResponse> patchSdmMaskingPolicyDifferenceColumns(PatchSdmMaskingPolicyDifferenceColumnsRequest request, AsyncHandler<PatchSdmMaskingPolicyDifferenceColumnsRequest,PatchSdmMaskingPolicyDifferenceColumnsResponse> handler)
DataSafeAsync
Patches one or more SDM masking policy difference columns. You can use this operation to set the plannedAction attribute before using ApplySdmMaskingPolicyDifference to process the difference based on this attribute.
patchSdmMaskingPolicyDifferenceColumns
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchSensitiveColumnsResponse> patchSensitiveColumns(PatchSensitiveColumnsRequest request, AsyncHandler<PatchSensitiveColumnsRequest,PatchSensitiveColumnsResponse> handler)
DataSafeAsync
Patches one or more columns in the specified sensitive data model. Use it to create, update, or delete sensitive columns. To create sensitive columns, use CreateSensitiveColumnDetails as the patch value. And to update sensitive columns, use UpdateSensitiveColumnDetails as the patch value.
patchSensitiveColumns
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchSqlFirewallAllowedSqlResponse> patchSqlFirewallAllowedSql(PatchSqlFirewallAllowedSqlRequest request, AsyncHandler<PatchSqlFirewallAllowedSqlRequest,PatchSqlFirewallAllowedSqlResponse> handler)
DataSafeAsync
Delete multiple allowed sqls. You can use this operation to delete one or more allowed sqls. Create and update of multiple allowed sqls is not supported.
patchSqlFirewallAllowedSql
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchTargetAlertPolicyAssociationResponse> patchTargetAlertPolicyAssociation(PatchTargetAlertPolicyAssociationRequest request, AsyncHandler<PatchTargetAlertPolicyAssociationRequest,PatchTargetAlertPolicyAssociationResponse> handler)
DataSafeAsync
Creates new target-alert policy associations that will be applied on the target database.
patchTargetAlertPolicyAssociation
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ProvisionAuditPolicyResponse> provisionAuditPolicy(ProvisionAuditPolicyRequest request, AsyncHandler<ProvisionAuditPolicyRequest,ProvisionAuditPolicyResponse> handler)
DataSafeAsync
Provision audit policy.
provisionAuditPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PurgeSqlCollectionLogsResponse> purgeSqlCollectionLogs(PurgeSqlCollectionLogsRequest request, AsyncHandler<PurgeSqlCollectionLogsRequest,PurgeSqlCollectionLogsResponse> handler)
DataSafeAsync
Purge the SQL collection logs for the specified SqlCollection.
purgeSqlCollectionLogs
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RefreshDatabaseSecurityConfigurationResponse> refreshDatabaseSecurityConfiguration(RefreshDatabaseSecurityConfigurationRequest request, AsyncHandler<RefreshDatabaseSecurityConfigurationRequest,RefreshDatabaseSecurityConfigurationResponse> handler)
DataSafeAsync
Refreshes the specified database security configuration.
refreshDatabaseSecurityConfiguration
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RefreshSecurityAssessmentResponse> refreshSecurityAssessment(RefreshSecurityAssessmentRequest request, AsyncHandler<RefreshSecurityAssessmentRequest,RefreshSecurityAssessmentResponse> handler)
DataSafeAsync
Runs a security assessment, refreshes the latest assessment, and saves it for future reference. The assessment runs with a securityAssessmentId of type LATEST. Before you start, first call the ListSecurityAssessments operation with filter "type = latest" to get the security assessment id for the target’s latest assessment.
refreshSecurityAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RefreshSqlCollectionLogInsightsResponse> refreshSqlCollectionLogInsights(RefreshSqlCollectionLogInsightsRequest request, AsyncHandler<RefreshSqlCollectionLogInsightsRequest,RefreshSqlCollectionLogInsightsResponse> handler)
DataSafeAsync
Refresh the specified SQL collection Log Insights.
refreshSqlCollectionLogInsights
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RefreshTargetDatabaseResponse> refreshTargetDatabase(RefreshTargetDatabaseRequest request, AsyncHandler<RefreshTargetDatabaseRequest,RefreshTargetDatabaseResponse> handler)
DataSafeAsync
Refreshes the Data Safe target database to update it’s state.
refreshTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RefreshUserAssessmentResponse> refreshUserAssessment(RefreshUserAssessmentRequest request, AsyncHandler<RefreshUserAssessmentRequest,RefreshUserAssessmentResponse> handler)
DataSafeAsync
Refreshes the latest assessment and saves it for future reference. This operation runs with a userAssessmentId of type LATEST. Before you start, first call the ListUserAssessments operation with filter "type = latest" to get the user assessment ID for the target’s latest assessment.
refreshUserAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveScheduleReportResponse> removeScheduleReport(RemoveScheduleReportRequest request, AsyncHandler<RemoveScheduleReportRequest,RemoveScheduleReportResponse> handler)
DataSafeAsync
Deletes the schedule of a .xls or .pdf report.
removeScheduleReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ResumeAuditTrailResponse> resumeAuditTrail(ResumeAuditTrailRequest request, AsyncHandler<ResumeAuditTrailRequest,ResumeAuditTrailResponse> handler)
DataSafeAsync
Resumes the specified audit trail once it got stopped.
resumeAuditTrail
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ResumeWorkRequestResponse> resumeWorkRequest(ResumeWorkRequestRequest request, AsyncHandler<ResumeWorkRequestRequest,ResumeWorkRequestResponse> handler)
DataSafeAsync
Resume the given work request. Issuing a resume does not guarantee of immediate resume of the work request.
resumeWorkRequest
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RetrieveAuditPoliciesResponse> retrieveAuditPolicies(RetrieveAuditPoliciesRequest request, AsyncHandler<RetrieveAuditPoliciesRequest,RetrieveAuditPoliciesResponse> handler)
DataSafeAsync
Retrieves the audit policy details from the source target database.
retrieveAuditPolicies
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ScheduleReportResponse> scheduleReport(ScheduleReportRequest request, AsyncHandler<ScheduleReportRequest,ScheduleReportResponse> handler)
DataSafeAsync
Schedules a .xls or .pdf report based on parameters and report definition.
scheduleReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SetSecurityAssessmentBaselineResponse> setSecurityAssessmentBaseline(SetSecurityAssessmentBaselineRequest request, AsyncHandler<SetSecurityAssessmentBaselineRequest,SetSecurityAssessmentBaselineResponse> handler)
DataSafeAsync
Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type ‘SAVED’.
setSecurityAssessmentBaseline
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SetUserAssessmentBaselineResponse> setUserAssessmentBaseline(SetUserAssessmentBaselineRequest request, AsyncHandler<SetUserAssessmentBaselineRequest,SetUserAssessmentBaselineResponse> handler)
DataSafeAsync
Sets the saved user assessment as the baseline in the compartment where the specified assessment resides. The user assessment needs to be of type ‘SAVED’.
setUserAssessmentBaseline
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<StartAuditTrailResponse> startAuditTrail(StartAuditTrailRequest request, AsyncHandler<StartAuditTrailRequest,StartAuditTrailResponse> handler)
DataSafeAsync
Starts collection of audit records on the specified audit trail.
startAuditTrail
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<StartSqlCollectionResponse> startSqlCollection(StartSqlCollectionRequest request, AsyncHandler<StartSqlCollectionRequest,StartSqlCollectionResponse> handler)
DataSafeAsync
Start the specified SQL collection.
startSqlCollection
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<StopAuditTrailResponse> stopAuditTrail(StopAuditTrailRequest request, AsyncHandler<StopAuditTrailRequest,StopAuditTrailResponse> handler)
DataSafeAsync
Stops the specified audit trail.
stopAuditTrail
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<StopSqlCollectionResponse> stopSqlCollection(StopSqlCollectionRequest request, AsyncHandler<StopSqlCollectionRequest,StopSqlCollectionResponse> handler)
DataSafeAsync
Stops the specified SQL collection.
stopSqlCollection
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SuspendWorkRequestResponse> suspendWorkRequest(SuspendWorkRequestRequest request, AsyncHandler<SuspendWorkRequestRequest,SuspendWorkRequestResponse> handler)
DataSafeAsync
Suspend the given work request. Issuing a suspend does not guarantee of a immediate suspend of the work request.
suspendWorkRequest
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UnsetSecurityAssessmentBaselineResponse> unsetSecurityAssessmentBaseline(UnsetSecurityAssessmentBaselineRequest request, AsyncHandler<UnsetSecurityAssessmentBaselineRequest,UnsetSecurityAssessmentBaselineResponse> handler)
DataSafeAsync
Removes the baseline setting for the saved security assessment associated with the targetId passed via body. If no body or empty body is passed then the baseline settings of all the saved security assessments pertaining to the baseline assessment OCID provided in the path will be removed. Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.
unsetSecurityAssessmentBaseline
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UnsetUserAssessmentBaselineResponse> unsetUserAssessmentBaseline(UnsetUserAssessmentBaselineRequest request, AsyncHandler<UnsetUserAssessmentBaselineRequest,UnsetUserAssessmentBaselineResponse> handler)
DataSafeAsync
Removes the baseline setting for the saved user assessment associated with the targetId passed via body. If no body or empty body is passed then the baseline settings of all the saved user assessments pertaining to the baseline assessment OCID provided in the path will be removed. Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.
unsetUserAssessmentBaseline
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAlertResponse> updateAlert(UpdateAlertRequest request, AsyncHandler<UpdateAlertRequest,UpdateAlertResponse> handler)
DataSafeAsync
Updates the status of the specified alert.
updateAlert
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAlertPolicyResponse> updateAlertPolicy(UpdateAlertPolicyRequest request, AsyncHandler<UpdateAlertPolicyRequest,UpdateAlertPolicyResponse> handler)
DataSafeAsync
Updates the specified alert policy .
updateAlertPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAlertPolicyRuleResponse> updateAlertPolicyRule(UpdateAlertPolicyRuleRequest request, AsyncHandler<UpdateAlertPolicyRuleRequest,UpdateAlertPolicyRuleResponse> handler)
DataSafeAsync
Updates the specified alert policy rule.
updateAlertPolicyRule
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAuditArchiveRetrievalResponse> updateAuditArchiveRetrieval(UpdateAuditArchiveRetrievalRequest request, AsyncHandler<UpdateAuditArchiveRetrievalRequest,UpdateAuditArchiveRetrievalResponse> handler)
DataSafeAsync
Updates the audit archive retrieval.
updateAuditArchiveRetrieval
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAuditPolicyResponse> updateAuditPolicy(UpdateAuditPolicyRequest request, AsyncHandler<UpdateAuditPolicyRequest,UpdateAuditPolicyResponse> handler)
DataSafeAsync
Updates the audit policy.
updateAuditPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAuditProfileResponse> updateAuditProfile(UpdateAuditProfileRequest request, AsyncHandler<UpdateAuditProfileRequest,UpdateAuditProfileResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified audit profile.
updateAuditProfile
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAuditTrailResponse> updateAuditTrail(UpdateAuditTrailRequest request, AsyncHandler<UpdateAuditTrailRequest,UpdateAuditTrailResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified audit trail.
updateAuditTrail
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDataSafePrivateEndpointResponse> updateDataSafePrivateEndpoint(UpdateDataSafePrivateEndpointRequest request, AsyncHandler<UpdateDataSafePrivateEndpointRequest,UpdateDataSafePrivateEndpointResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified Data Safe private endpoint.
updateDataSafePrivateEndpoint
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateDatabaseSecurityConfigResponse> updateDatabaseSecurityConfig(UpdateDatabaseSecurityConfigRequest request, AsyncHandler<UpdateDatabaseSecurityConfigRequest,UpdateDatabaseSecurityConfigResponse> handler)
DataSafeAsync
Updates the database security configuration.
updateDatabaseSecurityConfig
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateFindingResponse> updateFinding(UpdateFindingRequest request, AsyncHandler<UpdateFindingRequest,UpdateFindingResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified finding.
updateFinding
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateLibraryMaskingFormatResponse> updateLibraryMaskingFormat(UpdateLibraryMaskingFormatRequest request, AsyncHandler<UpdateLibraryMaskingFormatRequest,UpdateLibraryMaskingFormatResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified library masking format. Note that updating the formatEntries attribute replaces all the existing masking format entries with the specified format entries.
updateLibraryMaskingFormat
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateMaskingColumnResponse> updateMaskingColumn(UpdateMaskingColumnRequest request, AsyncHandler<UpdateMaskingColumnRequest,UpdateMaskingColumnResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified masking column. Note that updating the maskingFormats attribute replaces the currently assigned masking formats with the specified masking formats.
updateMaskingColumn
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateMaskingPolicyResponse> updateMaskingPolicy(UpdateMaskingPolicyRequest request, AsyncHandler<UpdateMaskingPolicyRequest,UpdateMaskingPolicyResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified masking policy.
updateMaskingPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateOnPremConnectorResponse> updateOnPremConnector(UpdateOnPremConnectorRequest request, AsyncHandler<UpdateOnPremConnectorRequest,UpdateOnPremConnectorResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified on-premises connector.
updateOnPremConnector
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateOnPremConnectorWalletResponse> updateOnPremConnectorWallet(UpdateOnPremConnectorWalletRequest request, AsyncHandler<UpdateOnPremConnectorWalletRequest,UpdateOnPremConnectorWalletResponse> handler)
DataSafeAsync
Updates the wallet for the specified on-premises connector to a new version.
updateOnPremConnectorWallet
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdatePeerTargetDatabaseResponse> updatePeerTargetDatabase(UpdatePeerTargetDatabaseRequest request, AsyncHandler<UpdatePeerTargetDatabaseRequest,UpdatePeerTargetDatabaseResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified Data Safe peer target database.
updatePeerTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateReportResponse> updateReport(UpdateReportRequest request, AsyncHandler<UpdateReportRequest,UpdateReportResponse> handler)
DataSafeAsync
Updates the specified report. Only tags can be updated.
updateReport
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateReportDefinitionResponse> updateReportDefinition(UpdateReportDefinitionRequest request, AsyncHandler<UpdateReportDefinitionRequest,UpdateReportDefinitionResponse> handler)
DataSafeAsync
Updates the specified report definition. Only user created report definition can be updated. Seeded report definitions need to be saved as new report definition first.
updateReportDefinition
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSdmMaskingPolicyDifferenceResponse> updateSdmMaskingPolicyDifference(UpdateSdmMaskingPolicyDifferenceRequest request, AsyncHandler<UpdateSdmMaskingPolicyDifferenceRequest,UpdateSdmMaskingPolicyDifferenceResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified sdm masking policy difference.
updateSdmMaskingPolicyDifference
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSecurityAssessmentResponse> updateSecurityAssessment(UpdateSecurityAssessmentRequest request, AsyncHandler<UpdateSecurityAssessmentRequest,UpdateSecurityAssessmentResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified security assessment. This operation allows to update the security assessment displayName, description, or schedule.
updateSecurityAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSecurityPolicyResponse> updateSecurityPolicy(UpdateSecurityPolicyRequest request, AsyncHandler<UpdateSecurityPolicyRequest,UpdateSecurityPolicyResponse> handler)
DataSafeAsync
Updates the security policy.
updateSecurityPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSecurityPolicyDeploymentResponse> updateSecurityPolicyDeployment(UpdateSecurityPolicyDeploymentRequest request, AsyncHandler<UpdateSecurityPolicyDeploymentRequest,UpdateSecurityPolicyDeploymentResponse> handler)
DataSafeAsync
Updates the security policy deployment.
updateSecurityPolicyDeployment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSensitiveColumnResponse> updateSensitiveColumn(UpdateSensitiveColumnRequest request, AsyncHandler<UpdateSensitiveColumnRequest,UpdateSensitiveColumnResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified sensitive column.
updateSensitiveColumn
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSensitiveDataModelResponse> updateSensitiveDataModel(UpdateSensitiveDataModelRequest request, AsyncHandler<UpdateSensitiveDataModelRequest,UpdateSensitiveDataModelResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified sensitive data model. Note that updating any attribute of a sensitive data model does not perform data discovery.
updateSensitiveDataModel
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSensitiveTypeResponse> updateSensitiveType(UpdateSensitiveTypeRequest request, AsyncHandler<UpdateSensitiveTypeRequest,UpdateSensitiveTypeResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified sensitive type.
updateSensitiveType
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSqlCollectionResponse> updateSqlCollection(UpdateSqlCollectionRequest request, AsyncHandler<UpdateSqlCollectionRequest,UpdateSqlCollectionResponse> handler)
DataSafeAsync
Updates the SQL collection.
updateSqlCollection
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateSqlFirewallPolicyResponse> updateSqlFirewallPolicy(UpdateSqlFirewallPolicyRequest request, AsyncHandler<UpdateSqlFirewallPolicyRequest,UpdateSqlFirewallPolicyResponse> handler)
DataSafeAsync
Updates the SQL Firewall policy.
updateSqlFirewallPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTargetAlertPolicyAssociationResponse> updateTargetAlertPolicyAssociation(UpdateTargetAlertPolicyAssociationRequest request, AsyncHandler<UpdateTargetAlertPolicyAssociationRequest,UpdateTargetAlertPolicyAssociationResponse> handler)
DataSafeAsync
Updates the specified target-alert policy association.
updateTargetAlertPolicyAssociation
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTargetDatabaseResponse> updateTargetDatabase(UpdateTargetDatabaseRequest request, AsyncHandler<UpdateTargetDatabaseRequest,UpdateTargetDatabaseResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified Data Safe target database.
updateTargetDatabase
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateUserAssessmentResponse> updateUserAssessment(UpdateUserAssessmentRequest request, AsyncHandler<UpdateUserAssessmentRequest,UpdateUserAssessmentResponse> handler)
DataSafeAsync
Updates one or more attributes of the specified user assessment. This operation allows to update the user assessment displayName, description, or schedule.
updateUserAssessment
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UploadMaskingPolicyResponse> uploadMaskingPolicy(UploadMaskingPolicyRequest request, AsyncHandler<UploadMaskingPolicyRequest,UploadMaskingPolicyResponse> handler)
DataSafeAsync
Uploads a masking policy file (also called template) to update the specified masking policy. To create a new masking policy using a file, first use the CreateMaskingPolicy operation to create an empty masking policy and then use this endpoint to upload the masking policy file. Note that the upload operation replaces the content of the specified masking policy, including all the existing columns and masking formats, with the content of the file.
uploadMaskingPolicy
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UploadSensitiveDataModelResponse> uploadSensitiveDataModel(UploadSensitiveDataModelRequest request, AsyncHandler<UploadSensitiveDataModelRequest,UploadSensitiveDataModelResponse> handler)
DataSafeAsync
Uploads a sensitive data model file (also called template) to update the specified sensitive data model. To create a new sensitive data model using a file, first use the CreateSensitiveDataModel operation to create an empty data model and then use this endpoint to upload the data model file. Note that the upload operation replaces the content of the specified sensitive data model, including all the existing columns and their relationships, with the content of the file.
uploadSensitiveDataModel
in interface DataSafeAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
Copyright © 2016–2024. All rights reserved.