Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi
oci.DataSafe.getAuditProfile
Explore with Pulumi AI
This data source provides details about a specific Audit Profile resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of audit profile resource and associated audit trails of the audit profile.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAuditProfile = oci.DataSafe.getAuditProfile({
auditProfileId: testAuditProfileOciDataSafeAuditProfile.id,
});
import pulumi
import pulumi_oci as oci
test_audit_profile = oci.DataSafe.get_audit_profile(audit_profile_id=test_audit_profile_oci_data_safe_audit_profile["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetAuditProfile(ctx, &datasafe.GetAuditProfileArgs{
AuditProfileId: testAuditProfileOciDataSafeAuditProfile.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAuditProfile = Oci.DataSafe.GetAuditProfile.Invoke(new()
{
AuditProfileId = testAuditProfileOciDataSafeAuditProfile.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetAuditProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testAuditProfile = DataSafeFunctions.getAuditProfile(GetAuditProfileArgs.builder()
.auditProfileId(testAuditProfileOciDataSafeAuditProfile.id())
.build());
}
}
variables:
testAuditProfile:
fn::invoke:
function: oci:DataSafe:getAuditProfile
arguments:
auditProfileId: ${testAuditProfileOciDataSafeAuditProfile.id}
Using getAuditProfile
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAuditProfile(args: GetAuditProfileArgs, opts?: InvokeOptions): Promise<GetAuditProfileResult>
function getAuditProfileOutput(args: GetAuditProfileOutputArgs, opts?: InvokeOptions): Output<GetAuditProfileResult>
def get_audit_profile(audit_profile_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAuditProfileResult
def get_audit_profile_output(audit_profile_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAuditProfileResult]
func LookupAuditProfile(ctx *Context, args *LookupAuditProfileArgs, opts ...InvokeOption) (*LookupAuditProfileResult, error)
func LookupAuditProfileOutput(ctx *Context, args *LookupAuditProfileOutputArgs, opts ...InvokeOption) LookupAuditProfileResultOutput
> Note: This function is named LookupAuditProfile
in the Go SDK.
public static class GetAuditProfile
{
public static Task<GetAuditProfileResult> InvokeAsync(GetAuditProfileArgs args, InvokeOptions? opts = null)
public static Output<GetAuditProfileResult> Invoke(GetAuditProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAuditProfileResult> getAuditProfile(GetAuditProfileArgs args, InvokeOptions options)
public static Output<GetAuditProfileResult> getAuditProfile(GetAuditProfileArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getAuditProfile:getAuditProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Audit
Profile stringId - The OCID of the audit.
- Audit
Profile stringId - The OCID of the audit.
- audit
Profile StringId - The OCID of the audit.
- audit
Profile stringId - The OCID of the audit.
- audit_
profile_ strid - The OCID of the audit.
- audit
Profile StringId - The OCID of the audit.
getAuditProfile Result
The following output properties are available:
- Audit
Collected stringVolume - Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- Audit
Profile stringId - The OCID of the parent audit.
- Audit
Trails List<GetAudit Profile Audit Trail> - Contains the list of available audit trails on the target database.
- Change
Retention intTrigger - Compartment
Id string - The OCID of the compartment that contains the audit profile.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the audit profile.
- Display
Name string - The display name of the audit profile.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the audit profile.
- Is
Override boolGlobal Paid Usage - Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see Data Safe Price List.
- Is
Override boolGlobal Retention Setting - Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
- Is
Paid boolUsage Enabled - Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
- Lifecycle
Details string - Details about the current state of the audit profile in Data Safe.
- Offline
Months int - Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
- Offline
Months stringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
- Online
Months int - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- Online
Months stringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
- Paid
Usage stringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
- State string
- The current state of the audit profile.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Id string - The OCID of the target database or target database group for which the audit profile is created.
- Target
Type string - The resource type that is represented by the audit profile.
- Time
Created string - The date and time the audit profile was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the audit profile was updated, in the format defined by RFC3339.
- Audit
Collected stringVolume - Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- Audit
Profile stringId - The OCID of the parent audit.
- Audit
Trails []GetAudit Profile Audit Trail - Contains the list of available audit trails on the target database.
- Change
Retention intTrigger - Compartment
Id string - The OCID of the compartment that contains the audit profile.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the audit profile.
- Display
Name string - The display name of the audit profile.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the audit profile.
- Is
Override boolGlobal Paid Usage - Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see Data Safe Price List.
- Is
Override boolGlobal Retention Setting - Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
- Is
Paid boolUsage Enabled - Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
- Lifecycle
Details string - Details about the current state of the audit profile in Data Safe.
- Offline
Months int - Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
- Offline
Months stringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
- Online
Months int - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- Online
Months stringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
- Paid
Usage stringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
- State string
- The current state of the audit profile.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Id string - The OCID of the target database or target database group for which the audit profile is created.
- Target
Type string - The resource type that is represented by the audit profile.
- Time
Created string - The date and time the audit profile was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the audit profile was updated, in the format defined by RFC3339.
- audit
Collected StringVolume - Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- audit
Profile StringId - The OCID of the parent audit.
- audit
Trails List<GetAudit Profile Audit Trail> - Contains the list of available audit trails on the target database.
- change
Retention IntegerTrigger - compartment
Id String - The OCID of the compartment that contains the audit profile.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the audit profile.
- display
Name String - The display name of the audit profile.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the audit profile.
- is
Override BooleanGlobal Paid Usage - Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see Data Safe Price List.
- is
Override BooleanGlobal Retention Setting - Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
- is
Paid BooleanUsage Enabled - Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
- lifecycle
Details String - Details about the current state of the audit profile in Data Safe.
- offline
Months Integer - Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
- offline
Months StringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
- online
Months Integer - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- online
Months StringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
- paid
Usage StringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
- state String
- The current state of the audit profile.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Id String - The OCID of the target database or target database group for which the audit profile is created.
- target
Type String - The resource type that is represented by the audit profile.
- time
Created String - The date and time the audit profile was created, in the format defined by RFC3339.
- time
Updated String - The date and time the audit profile was updated, in the format defined by RFC3339.
- audit
Collected stringVolume - Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- audit
Profile stringId - The OCID of the parent audit.
- audit
Trails GetAudit Profile Audit Trail[] - Contains the list of available audit trails on the target database.
- change
Retention numberTrigger - compartment
Id string - The OCID of the compartment that contains the audit profile.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description string
- The description of the audit profile.
- display
Name string - The display name of the audit profile.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id string
- The OCID of the audit profile.
- is
Override booleanGlobal Paid Usage - Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see Data Safe Price List.
- is
Override booleanGlobal Retention Setting - Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
- is
Paid booleanUsage Enabled - Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
- lifecycle
Details string - Details about the current state of the audit profile in Data Safe.
- offline
Months number - Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
- offline
Months stringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
- online
Months number - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- online
Months stringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
- paid
Usage stringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
- state string
- The current state of the audit profile.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Id string - The OCID of the target database or target database group for which the audit profile is created.
- target
Type string - The resource type that is represented by the audit profile.
- time
Created string - The date and time the audit profile was created, in the format defined by RFC3339.
- time
Updated string - The date and time the audit profile was updated, in the format defined by RFC3339.
- audit_
collected_ strvolume - Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- audit_
profile_ strid - The OCID of the parent audit.
- audit_
trails Sequence[GetAudit Profile Audit Trail] - Contains the list of available audit trails on the target database.
- change_
retention_ inttrigger - compartment_
id str - The OCID of the compartment that contains the audit profile.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description str
- The description of the audit profile.
- display_
name str - The display name of the audit profile.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id str
- The OCID of the audit profile.
- is_
override_ boolglobal_ paid_ usage - Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see Data Safe Price List.
- is_
override_ boolglobal_ retention_ setting - Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
- is_
paid_ boolusage_ enabled - Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
- lifecycle_
details str - Details about the current state of the audit profile in Data Safe.
- offline_
months int - Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
- offline_
months_ strsource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
- online_
months int - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- online_
months_ strsource - The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
- paid_
usage_ strsource - The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
- state str
- The current state of the audit profile.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target_
id str - The OCID of the target database or target database group for which the audit profile is created.
- target_
type str - The resource type that is represented by the audit profile.
- time_
created str - The date and time the audit profile was created, in the format defined by RFC3339.
- time_
updated str - The date and time the audit profile was updated, in the format defined by RFC3339.
- audit
Collected StringVolume - Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- audit
Profile StringId - The OCID of the parent audit.
- audit
Trails List<Property Map> - Contains the list of available audit trails on the target database.
- change
Retention NumberTrigger - compartment
Id String - The OCID of the compartment that contains the audit profile.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the audit profile.
- display
Name String - The display name of the audit profile.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the audit profile.
- is
Override BooleanGlobal Paid Usage - Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see Data Safe Price List.
- is
Override BooleanGlobal Retention Setting - Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.
- is
Paid BooleanUsage Enabled - Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
- lifecycle
Details String - Details about the current state of the audit profile in Data Safe.
- offline
Months Number - Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.
- offline
Months StringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID.
- online
Months Number - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- online
Months StringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID.
- paid
Usage StringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID.
- state String
- The current state of the audit profile.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Id String - The OCID of the target database or target database group for which the audit profile is created.
- target
Type String - The resource type that is represented by the audit profile.
- time
Created String - The date and time the audit profile was created, in the format defined by RFC3339.
- time
Updated String - The date and time the audit profile was updated, in the format defined by RFC3339.
Supporting Types
GetAuditProfileAuditTrail
- Audit
Collection stringStart Time - The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- Audit
Profile stringId - The OCID of the audit.
- Can
Update boolLast Archive Time On Target - Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
- Compartment
Id string - The OCID of the compartment that contains the audit profile.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the audit profile.
- Display
Name string - The display name of the audit profile.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the audit profile.
- Is
Auto boolPurge Enabled - Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.
- Lifecycle
Details string - Details about the current state of the audit profile in Data Safe.
- Peer
Target intDatabase Key - The secondary id assigned for the peer database registered with Data Safe.
- Purge
Job stringDetails - The details of the audit trail purge job that ran on the "purgeJobTime".
- Purge
Job stringStatus - The current status of the audit trail purge job.
- Purge
Job stringTime - The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
- State string
- The current state of the audit profile.
- Status string
- The current sub-state of the audit trail.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Id string - The OCID of the target database or target database group for which the audit profile is created.
- Time
Created string - The date and time the audit profile was created, in the format defined by RFC3339.
- Time
Last stringCollected - The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
- Time
Updated string - The date and time the audit profile was updated, in the format defined by RFC3339.
- Trail
Location string - An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
- Trail
Source string - The underlying source of unified audit trail.
- Work
Request stringId - The OCID of the workrequest for audit trail which collects audit records.
- Audit
Collection stringStart Time - The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- Audit
Profile stringId - The OCID of the audit.
- Can
Update boolLast Archive Time On Target - Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
- Compartment
Id string - The OCID of the compartment that contains the audit profile.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the audit profile.
- Display
Name string - The display name of the audit profile.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the audit profile.
- Is
Auto boolPurge Enabled - Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.
- Lifecycle
Details string - Details about the current state of the audit profile in Data Safe.
- Peer
Target intDatabase Key - The secondary id assigned for the peer database registered with Data Safe.
- Purge
Job stringDetails - The details of the audit trail purge job that ran on the "purgeJobTime".
- Purge
Job stringStatus - The current status of the audit trail purge job.
- Purge
Job stringTime - The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
- State string
- The current state of the audit profile.
- Status string
- The current sub-state of the audit trail.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Id string - The OCID of the target database or target database group for which the audit profile is created.
- Time
Created string - The date and time the audit profile was created, in the format defined by RFC3339.
- Time
Last stringCollected - The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
- Time
Updated string - The date and time the audit profile was updated, in the format defined by RFC3339.
- Trail
Location string - An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
- Trail
Source string - The underlying source of unified audit trail.
- Work
Request stringId - The OCID of the workrequest for audit trail which collects audit records.
- audit
Collection StringStart Time - The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- audit
Profile StringId - The OCID of the audit.
- can
Update BooleanLast Archive Time On Target - Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
- compartment
Id String - The OCID of the compartment that contains the audit profile.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the audit profile.
- display
Name String - The display name of the audit profile.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the audit profile.
- is
Auto BooleanPurge Enabled - Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.
- lifecycle
Details String - Details about the current state of the audit profile in Data Safe.
- peer
Target IntegerDatabase Key - The secondary id assigned for the peer database registered with Data Safe.
- purge
Job StringDetails - The details of the audit trail purge job that ran on the "purgeJobTime".
- purge
Job StringStatus - The current status of the audit trail purge job.
- purge
Job StringTime - The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
- state String
- The current state of the audit profile.
- status String
- The current sub-state of the audit trail.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Id String - The OCID of the target database or target database group for which the audit profile is created.
- time
Created String - The date and time the audit profile was created, in the format defined by RFC3339.
- time
Last StringCollected - The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
- time
Updated String - The date and time the audit profile was updated, in the format defined by RFC3339.
- trail
Location String - An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
- trail
Source String - The underlying source of unified audit trail.
- work
Request StringId - The OCID of the workrequest for audit trail which collects audit records.
- audit
Collection stringStart Time - The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- audit
Profile stringId - The OCID of the audit.
- can
Update booleanLast Archive Time On Target - Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
- compartment
Id string - The OCID of the compartment that contains the audit profile.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description string
- The description of the audit profile.
- display
Name string - The display name of the audit profile.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id string
- The OCID of the audit profile.
- is
Auto booleanPurge Enabled - Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.
- lifecycle
Details string - Details about the current state of the audit profile in Data Safe.
- peer
Target numberDatabase Key - The secondary id assigned for the peer database registered with Data Safe.
- purge
Job stringDetails - The details of the audit trail purge job that ran on the "purgeJobTime".
- purge
Job stringStatus - The current status of the audit trail purge job.
- purge
Job stringTime - The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
- state string
- The current state of the audit profile.
- status string
- The current sub-state of the audit trail.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Id string - The OCID of the target database or target database group for which the audit profile is created.
- time
Created string - The date and time the audit profile was created, in the format defined by RFC3339.
- time
Last stringCollected - The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
- time
Updated string - The date and time the audit profile was updated, in the format defined by RFC3339.
- trail
Location string - An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
- trail
Source string - The underlying source of unified audit trail.
- work
Request stringId - The OCID of the workrequest for audit trail which collects audit records.
- audit_
collection_ strstart_ time - The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- audit_
profile_ strid - The OCID of the audit.
- can_
update_ boollast_ archive_ time_ on_ target - Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
- compartment_
id str - The OCID of the compartment that contains the audit profile.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description str
- The description of the audit profile.
- display_
name str - The display name of the audit profile.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id str
- The OCID of the audit profile.
- is_
auto_ boolpurge_ enabled - Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.
- lifecycle_
details str - Details about the current state of the audit profile in Data Safe.
- peer_
target_ intdatabase_ key - The secondary id assigned for the peer database registered with Data Safe.
- purge_
job_ strdetails - The details of the audit trail purge job that ran on the "purgeJobTime".
- purge_
job_ strstatus - The current status of the audit trail purge job.
- purge_
job_ strtime - The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
- state str
- The current state of the audit profile.
- status str
- The current sub-state of the audit trail.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target_
id str - The OCID of the target database or target database group for which the audit profile is created.
- time_
created str - The date and time the audit profile was created, in the format defined by RFC3339.
- time_
last_ strcollected - The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
- time_
updated str - The date and time the audit profile was updated, in the format defined by RFC3339.
- trail_
location str - An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
- trail_
source str - The underlying source of unified audit trail.
- work_
request_ strid - The OCID of the workrequest for audit trail which collects audit records.
- audit
Collection StringStart Time - The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- audit
Profile StringId - The OCID of the audit.
- can
Update BooleanLast Archive Time On Target - Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
- compartment
Id String - The OCID of the compartment that contains the audit profile.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the audit profile.
- display
Name String - The display name of the audit profile.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the audit profile.
- is
Auto BooleanPurge Enabled - Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.
- lifecycle
Details String - Details about the current state of the audit profile in Data Safe.
- peer
Target NumberDatabase Key - The secondary id assigned for the peer database registered with Data Safe.
- purge
Job StringDetails - The details of the audit trail purge job that ran on the "purgeJobTime".
- purge
Job StringStatus - The current status of the audit trail purge job.
- purge
Job StringTime - The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
- state String
- The current state of the audit profile.
- status String
- The current sub-state of the audit trail.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Id String - The OCID of the target database or target database group for which the audit profile is created.
- time
Created String - The date and time the audit profile was created, in the format defined by RFC3339.
- time
Last StringCollected - The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
- time
Updated String - The date and time the audit profile was updated, in the format defined by RFC3339.
- trail
Location String - An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
- trail
Source String - The underlying source of unified audit trail.
- work
Request StringId - The OCID of the workrequest for audit trail which collects audit records.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.