Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 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/v2/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 dictionaryThe following arguments are supported:
- AuditProfile stringId 
- The OCID of the audit.
- AuditProfile stringId 
- The OCID of the audit.
- auditProfile StringId 
- The OCID of the audit.
- auditProfile stringId 
- The OCID of the audit.
- audit_profile_ strid 
- The OCID of the audit.
- auditProfile StringId 
- The OCID of the audit.
getAuditProfile Result
The following output properties are available:
- AuditCollected stringVolume 
- Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- AuditProfile stringId 
- The OCID of the parent audit.
- AuditTrails List<GetAudit Profile Audit Trail> 
- Indicates the list of available audit trails on the target.
- ChangeRetention intTrigger 
- CompartmentId string
- The OCID of the compartment that contains the audit.
- 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.
- 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.
- IsOverride boolGlobal Retention Setting 
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
- IsPaid 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.
- LifecycleDetails string
- Details about the current state of the audit profile in Data Safe.
- OfflineMonths int
- Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
- OnlineMonths int
- Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- 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"}
- TargetId string
- The OCID of the Data Safe target for which the audit profile is created.
- 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.
- AuditCollected stringVolume 
- Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- AuditProfile stringId 
- The OCID of the parent audit.
- AuditTrails []GetAudit Profile Audit Trail 
- Indicates the list of available audit trails on the target.
- ChangeRetention intTrigger 
- CompartmentId string
- The OCID of the compartment that contains the audit.
- 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.
- 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.
- IsOverride boolGlobal Retention Setting 
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
- IsPaid 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.
- LifecycleDetails string
- Details about the current state of the audit profile in Data Safe.
- OfflineMonths int
- Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
- OnlineMonths int
- Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- 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"}
- TargetId string
- The OCID of the Data Safe target for which the audit profile is created.
- 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.
- auditCollected StringVolume 
- Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- auditProfile StringId 
- The OCID of the parent audit.
- auditTrails List<GetAudit Profile Audit Trail> 
- Indicates the list of available audit trails on the target.
- changeRetention IntegerTrigger 
- compartmentId String
- The OCID of the compartment that contains the audit.
- 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.
- 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.
- isOverride BooleanGlobal Retention Setting 
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
- isPaid 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.
- lifecycleDetails String
- Details about the current state of the audit profile in Data Safe.
- offlineMonths Integer
- Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
- onlineMonths Integer
- Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- 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"}
- targetId String
- The OCID of the Data Safe target for which the audit profile is created.
- 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.
- auditCollected stringVolume 
- Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- auditProfile stringId 
- The OCID of the parent audit.
- auditTrails GetAudit Profile Audit Trail[] 
- Indicates the list of available audit trails on the target.
- changeRetention numberTrigger 
- compartmentId string
- The OCID of the compartment that contains the audit.
- {[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.
- {[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.
- isOverride booleanGlobal Retention Setting 
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
- isPaid 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.
- lifecycleDetails string
- Details about the current state of the audit profile in Data Safe.
- offlineMonths number
- Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
- onlineMonths number
- Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- 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"}
- targetId string
- The OCID of the Data Safe target for which the audit profile is created.
- 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_ strvolume 
- Indicates number of audit records collected by Data Safe 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] 
- Indicates the list of available audit trails on the target.
- change_retention_ inttrigger 
- compartment_id str
- The OCID of the compartment that contains the audit.
- 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_ retention_ setting 
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global 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
- Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
- online_months int
- Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- 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 Data Safe target 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_updated str
- The date and time the audit profile was updated, in the format defined by RFC3339.
- auditCollected StringVolume 
- Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
- auditProfile StringId 
- The OCID of the parent audit.
- auditTrails List<Property Map>
- Indicates the list of available audit trails on the target.
- changeRetention NumberTrigger 
- compartmentId String
- The OCID of the compartment that contains the audit.
- 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.
- 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.
- isOverride BooleanGlobal Retention Setting 
- Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
- isPaid 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.
- lifecycleDetails String
- Details about the current state of the audit profile in Data Safe.
- offlineMonths Number
- Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
- onlineMonths Number
- Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- 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"}
- targetId String
- The OCID of the Data Safe target for which the audit profile is created.
- 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    
- AuditCollection stringStart Time 
- The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- AuditProfile stringId 
- The OCID of the audit.
- CompartmentId string
- The OCID of the compartment that contains the audit.
- 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.
- 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.
- IsAuto 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.
- LifecycleDetails string
- Details about the current state of the audit profile in Data Safe.
- PeerTarget intDatabase Key 
- The secondary id assigned for the peer database registered with Data Safe.
- PurgeJob stringDetails 
- The details of the audit trail purge job that ran on the "purgeJobTime".
- PurgeJob stringStatus 
- The current status of the audit trail purge job.
- PurgeJob 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"}
- TargetId string
- The OCID of the Data Safe target for which the audit profile is created.
- TimeCreated string
- The date and time the audit profile was created, in the format defined by RFC3339.
- TimeLast 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.
- 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.
- WorkRequest stringId 
- The OCID of the workrequest for audit trail which collects audit records.
- AuditCollection stringStart Time 
- The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- AuditProfile stringId 
- The OCID of the audit.
- CompartmentId string
- The OCID of the compartment that contains the audit.
- 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.
- 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.
- IsAuto 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.
- LifecycleDetails string
- Details about the current state of the audit profile in Data Safe.
- PeerTarget intDatabase Key 
- The secondary id assigned for the peer database registered with Data Safe.
- PurgeJob stringDetails 
- The details of the audit trail purge job that ran on the "purgeJobTime".
- PurgeJob stringStatus 
- The current status of the audit trail purge job.
- PurgeJob 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"}
- TargetId string
- The OCID of the Data Safe target for which the audit profile is created.
- TimeCreated string
- The date and time the audit profile was created, in the format defined by RFC3339.
- TimeLast 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.
- 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.
- WorkRequest stringId 
- The OCID of the workrequest for audit trail which collects audit records.
- auditCollection StringStart Time 
- The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- auditProfile StringId 
- The OCID of the audit.
- compartmentId String
- The OCID of the compartment that contains the audit.
- 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.
- 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.
- isAuto 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.
- lifecycleDetails String
- Details about the current state of the audit profile in Data Safe.
- peerTarget IntegerDatabase Key 
- The secondary id assigned for the peer database registered with Data Safe.
- purgeJob StringDetails 
- The details of the audit trail purge job that ran on the "purgeJobTime".
- purgeJob StringStatus 
- The current status of the audit trail purge job.
- purgeJob 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"}
- targetId String
- The OCID of the Data Safe target for which the audit profile is created.
- timeCreated String
- The date and time the audit profile was created, in the format defined by RFC3339.
- timeLast 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.
- 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.
- workRequest StringId 
- The OCID of the workrequest for audit trail which collects audit records.
- auditCollection stringStart Time 
- The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- auditProfile stringId 
- The OCID of the audit.
- compartmentId string
- The OCID of the compartment that contains the audit.
- {[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.
- {[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.
- isAuto 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.
- lifecycleDetails string
- Details about the current state of the audit profile in Data Safe.
- peerTarget numberDatabase Key 
- The secondary id assigned for the peer database registered with Data Safe.
- purgeJob stringDetails 
- The details of the audit trail purge job that ran on the "purgeJobTime".
- purgeJob stringStatus 
- The current status of the audit trail purge job.
- purgeJob 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"}
- targetId string
- The OCID of the Data Safe target for which the audit profile is created.
- timeCreated string
- The date and time the audit profile was created, in the format defined by RFC3339.
- timeLast 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.
- 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.
- workRequest 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.
- compartment_id str
- The OCID of the compartment that contains the audit.
- 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 Data Safe target 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.
- auditCollection StringStart Time 
- The date from which the audit trail must start collecting data, in the format defined by RFC3339.
- auditProfile StringId 
- The OCID of the audit.
- compartmentId String
- The OCID of the compartment that contains the audit.
- 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.
- 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.
- isAuto 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.
- lifecycleDetails String
- Details about the current state of the audit profile in Data Safe.
- peerTarget NumberDatabase Key 
- The secondary id assigned for the peer database registered with Data Safe.
- purgeJob StringDetails 
- The details of the audit trail purge job that ran on the "purgeJobTime".
- purgeJob StringStatus 
- The current status of the audit trail purge job.
- purgeJob 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"}
- targetId String
- The OCID of the Data Safe target for which the audit profile is created.
- timeCreated String
- The date and time the audit profile was created, in the format defined by RFC3339.
- timeLast 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.
- 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.
- workRequest 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 ociTerraform Provider.