1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getAuditProfile
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.DataSafe.getAuditProfile

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

    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:

    AuditProfileId string
    The OCID of the audit.
    AuditProfileId string
    The OCID of the audit.
    auditProfileId String
    The OCID of the audit.
    auditProfileId string
    The OCID of the audit.
    audit_profile_id str
    The OCID of the audit.
    auditProfileId String
    The OCID of the audit.

    getAuditProfile Result

    The following output properties are available:

    AuditCollectedVolume string
    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.
    AuditProfileId string
    The OCID of the parent audit.
    AuditTrails List<GetAuditProfileAuditTrail>
    Contains the list of available audit trails on the target database.
    ChangeRetentionTrigger int
    CompartmentId string
    The OCID of the compartment that contains the audit profile.
    DefinedTags 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.
    DisplayName string
    The display name of the audit profile.
    FreeformTags 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.
    IsOverrideGlobalPaidUsage bool
    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.
    IsOverrideGlobalRetentionSetting bool
    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.
    IsPaidUsageEnabled bool
    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.
    LifecycleDetails string
    Details about the current state of the audit profile in Data Safe.
    OfflineMonths 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.
    OfflineMonthsSource string
    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.
    OnlineMonths 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
    OnlineMonthsSource string
    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.
    PaidUsageSource string
    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.
    SystemTags 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"}
    TargetId string
    The OCID of the target database or target database group for which the audit profile is created.
    TargetType string
    The resource type that is represented by the audit profile.
    TimeCreated string
    The date and time the audit profile was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the audit profile was updated, in the format defined by RFC3339.
    AuditCollectedVolume string
    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.
    AuditProfileId string
    The OCID of the parent audit.
    AuditTrails []GetAuditProfileAuditTrail
    Contains the list of available audit trails on the target database.
    ChangeRetentionTrigger int
    CompartmentId string
    The OCID of the compartment that contains the audit profile.
    DefinedTags 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.
    DisplayName string
    The display name of the audit profile.
    FreeformTags 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.
    IsOverrideGlobalPaidUsage bool
    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.
    IsOverrideGlobalRetentionSetting bool
    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.
    IsPaidUsageEnabled bool
    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.
    LifecycleDetails string
    Details about the current state of the audit profile in Data Safe.
    OfflineMonths 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.
    OfflineMonthsSource string
    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.
    OnlineMonths 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
    OnlineMonthsSource string
    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.
    PaidUsageSource string
    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.
    SystemTags 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"}
    TargetId string
    The OCID of the target database or target database group for which the audit profile is created.
    TargetType string
    The resource type that is represented by the audit profile.
    TimeCreated string
    The date and time the audit profile was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the audit profile was updated, in the format defined by RFC3339.
    auditCollectedVolume String
    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.
    auditProfileId String
    The OCID of the parent audit.
    auditTrails List<GetAuditProfileAuditTrail>
    Contains the list of available audit trails on the target database.
    changeRetentionTrigger Integer
    compartmentId String
    The OCID of the compartment that contains the audit profile.
    definedTags 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.
    displayName String
    The display name of the audit profile.
    freeformTags 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.
    isOverrideGlobalPaidUsage Boolean
    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.
    isOverrideGlobalRetentionSetting Boolean
    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.
    isPaidUsageEnabled Boolean
    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.
    lifecycleDetails String
    Details about the current state of the audit profile in Data Safe.
    offlineMonths 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.
    offlineMonthsSource String
    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.
    onlineMonths 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
    onlineMonthsSource String
    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.
    paidUsageSource String
    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.
    systemTags 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"}
    targetId String
    The OCID of the target database or target database group for which the audit profile is created.
    targetType String
    The resource type that is represented by the audit profile.
    timeCreated String
    The date and time the audit profile was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the audit profile was updated, in the format defined by RFC3339.
    auditCollectedVolume string
    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.
    auditProfileId string
    The OCID of the parent audit.
    auditTrails GetAuditProfileAuditTrail[]
    Contains the list of available audit trails on the target database.
    changeRetentionTrigger number
    compartmentId string
    The OCID of the compartment that contains the audit profile.
    definedTags {[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.
    displayName string
    The display name of the audit profile.
    freeformTags {[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.
    isOverrideGlobalPaidUsage boolean
    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.
    isOverrideGlobalRetentionSetting boolean
    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.
    isPaidUsageEnabled boolean
    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.
    lifecycleDetails string
    Details about the current state of the audit profile in Data Safe.
    offlineMonths 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.
    offlineMonthsSource string
    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.
    onlineMonths 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
    onlineMonthsSource string
    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.
    paidUsageSource string
    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.
    systemTags {[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"}
    targetId string
    The OCID of the target database or target database group for which the audit profile is created.
    targetType string
    The resource type that is represented by the audit profile.
    timeCreated string
    The date and time the audit profile was created, in the format defined by RFC3339.
    timeUpdated string
    The date and time the audit profile was updated, in the format defined by RFC3339.
    audit_collected_volume str
    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_id str
    The OCID of the parent audit.
    audit_trails Sequence[GetAuditProfileAuditTrail]
    Contains the list of available audit trails on the target database.
    change_retention_trigger int
    compartment_id str
    The OCID of the compartment that contains the audit profile.
    defined_tags 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.
    freeform_tags 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_global_paid_usage bool
    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_global_retention_setting bool
    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_usage_enabled bool
    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_source str
    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_source str
    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.
    str
    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.
    system_tags 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.
    auditCollectedVolume String
    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.
    auditProfileId String
    The OCID of the parent audit.
    auditTrails List<Property Map>
    Contains the list of available audit trails on the target database.
    changeRetentionTrigger Number
    compartmentId String
    The OCID of the compartment that contains the audit profile.
    definedTags 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.
    displayName String
    The display name of the audit profile.
    freeformTags 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.
    isOverrideGlobalPaidUsage Boolean
    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.
    isOverrideGlobalRetentionSetting Boolean
    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.
    isPaidUsageEnabled Boolean
    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.
    lifecycleDetails String
    Details about the current state of the audit profile in Data Safe.
    offlineMonths 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.
    offlineMonthsSource String
    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.
    onlineMonths 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
    onlineMonthsSource String
    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.
    paidUsageSource String
    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.
    systemTags 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"}
    targetId String
    The OCID of the target database or target database group for which the audit profile is created.
    targetType String
    The resource type that is represented by the audit profile.
    timeCreated String
    The date and time the audit profile was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the audit profile was updated, in the format defined by RFC3339.

    Supporting Types

    GetAuditProfileAuditTrail

    AuditCollectionStartTime string
    The date from which the audit trail must start collecting data, in the format defined by RFC3339.
    AuditProfileId string
    The OCID of the audit.
    CanUpdateLastArchiveTimeOnTarget bool
    Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
    CompartmentId string
    The OCID of the compartment that contains the audit profile.
    DefinedTags 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.
    DisplayName string
    The display name of the audit profile.
    FreeformTags 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.
    IsAutoPurgeEnabled bool
    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.
    LifecycleDetails string
    Details about the current state of the audit profile in Data Safe.
    PeerTargetDatabaseKey int
    The secondary id assigned for the peer database registered with Data Safe.
    PurgeJobDetails string
    The details of the audit trail purge job that ran on the "purgeJobTime".
    PurgeJobStatus string
    The current status of the audit trail purge job.
    PurgeJobTime string
    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.
    SystemTags 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"}
    TargetId string
    The OCID of the target database or target database group for which the audit profile is created.
    TimeCreated string
    The date and time the audit profile was created, in the format defined by RFC3339.
    TimeLastCollected string
    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.
    TimeUpdated string
    The date and time the audit profile was updated, in the format defined by RFC3339.
    TrailLocation string
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    TrailSource string
    The underlying source of unified audit trail.
    WorkRequestId string
    The OCID of the workrequest for audit trail which collects audit records.
    AuditCollectionStartTime string
    The date from which the audit trail must start collecting data, in the format defined by RFC3339.
    AuditProfileId string
    The OCID of the audit.
    CanUpdateLastArchiveTimeOnTarget bool
    Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
    CompartmentId string
    The OCID of the compartment that contains the audit profile.
    DefinedTags 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.
    DisplayName string
    The display name of the audit profile.
    FreeformTags 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.
    IsAutoPurgeEnabled bool
    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.
    LifecycleDetails string
    Details about the current state of the audit profile in Data Safe.
    PeerTargetDatabaseKey int
    The secondary id assigned for the peer database registered with Data Safe.
    PurgeJobDetails string
    The details of the audit trail purge job that ran on the "purgeJobTime".
    PurgeJobStatus string
    The current status of the audit trail purge job.
    PurgeJobTime string
    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.
    SystemTags 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"}
    TargetId string
    The OCID of the target database or target database group for which the audit profile is created.
    TimeCreated string
    The date and time the audit profile was created, in the format defined by RFC3339.
    TimeLastCollected string
    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.
    TimeUpdated string
    The date and time the audit profile was updated, in the format defined by RFC3339.
    TrailLocation string
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    TrailSource string
    The underlying source of unified audit trail.
    WorkRequestId string
    The OCID of the workrequest for audit trail which collects audit records.
    auditCollectionStartTime String
    The date from which the audit trail must start collecting data, in the format defined by RFC3339.
    auditProfileId String
    The OCID of the audit.
    canUpdateLastArchiveTimeOnTarget Boolean
    Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
    compartmentId String
    The OCID of the compartment that contains the audit profile.
    definedTags 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.
    displayName String
    The display name of the audit profile.
    freeformTags 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.
    isAutoPurgeEnabled Boolean
    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.
    lifecycleDetails String
    Details about the current state of the audit profile in Data Safe.
    peerTargetDatabaseKey Integer
    The secondary id assigned for the peer database registered with Data Safe.
    purgeJobDetails String
    The details of the audit trail purge job that ran on the "purgeJobTime".
    purgeJobStatus String
    The current status of the audit trail purge job.
    purgeJobTime String
    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.
    systemTags 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"}
    targetId String
    The OCID of the target database or target database group for which the audit profile is created.
    timeCreated String
    The date and time the audit profile was created, in the format defined by RFC3339.
    timeLastCollected String
    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.
    timeUpdated String
    The date and time the audit profile was updated, in the format defined by RFC3339.
    trailLocation String
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    trailSource String
    The underlying source of unified audit trail.
    workRequestId String
    The OCID of the workrequest for audit trail which collects audit records.
    auditCollectionStartTime string
    The date from which the audit trail must start collecting data, in the format defined by RFC3339.
    auditProfileId string
    The OCID of the audit.
    canUpdateLastArchiveTimeOnTarget boolean
    Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
    compartmentId string
    The OCID of the compartment that contains the audit profile.
    definedTags {[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.
    displayName string
    The display name of the audit profile.
    freeformTags {[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.
    isAutoPurgeEnabled boolean
    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.
    lifecycleDetails string
    Details about the current state of the audit profile in Data Safe.
    peerTargetDatabaseKey number
    The secondary id assigned for the peer database registered with Data Safe.
    purgeJobDetails string
    The details of the audit trail purge job that ran on the "purgeJobTime".
    purgeJobStatus string
    The current status of the audit trail purge job.
    purgeJobTime string
    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.
    systemTags {[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"}
    targetId string
    The OCID of the target database or target database group for which the audit profile is created.
    timeCreated string
    The date and time the audit profile was created, in the format defined by RFC3339.
    timeLastCollected string
    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.
    timeUpdated string
    The date and time the audit profile was updated, in the format defined by RFC3339.
    trailLocation string
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    trailSource string
    The underlying source of unified audit trail.
    workRequestId string
    The OCID of the workrequest for audit trail which collects audit records.
    audit_collection_start_time str
    The date from which the audit trail must start collecting data, in the format defined by RFC3339.
    audit_profile_id str
    The OCID of the audit.
    can_update_last_archive_time_on_target bool
    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.
    defined_tags 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.
    freeform_tags 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_purge_enabled bool
    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_database_key int
    The secondary id assigned for the peer database registered with Data Safe.
    purge_job_details str
    The details of the audit trail purge job that ran on the "purgeJobTime".
    purge_job_status str
    The current status of the audit trail purge job.
    purge_job_time str
    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.
    system_tags 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_collected str
    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_id str
    The OCID of the workrequest for audit trail which collects audit records.
    auditCollectionStartTime String
    The date from which the audit trail must start collecting data, in the format defined by RFC3339.
    auditProfileId String
    The OCID of the audit.
    canUpdateLastArchiveTimeOnTarget Boolean
    Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.
    compartmentId String
    The OCID of the compartment that contains the audit profile.
    definedTags 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.
    displayName String
    The display name of the audit profile.
    freeformTags 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.
    isAutoPurgeEnabled Boolean
    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.
    lifecycleDetails String
    Details about the current state of the audit profile in Data Safe.
    peerTargetDatabaseKey Number
    The secondary id assigned for the peer database registered with Data Safe.
    purgeJobDetails String
    The details of the audit trail purge job that ran on the "purgeJobTime".
    purgeJobStatus String
    The current status of the audit trail purge job.
    purgeJobTime String
    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.
    systemTags 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"}
    targetId String
    The OCID of the target database or target database group for which the audit profile is created.
    timeCreated String
    The date and time the audit profile was created, in the format defined by RFC3339.
    timeLastCollected String
    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.
    timeUpdated String
    The date and time the audit profile was updated, in the format defined by RFC3339.
    trailLocation String
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    trailSource String
    The underlying source of unified audit trail.
    workRequestId String
    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.
    oci logo
    Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi