1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getAuditProfile
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.DataSafe.getAuditProfile

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 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,
});
Copy
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"])
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testAuditProfile:
    fn::invoke:
      function: oci:DataSafe:getAuditProfile
      arguments:
        auditProfileId: ${testAuditProfileOciDataSafeAuditProfile.id}
Copy

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>
Copy
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]
Copy
func GetAuditProfile(ctx *Context, args *GetAuditProfileArgs, opts ...InvokeOption) (*GetAuditProfileResult, error)
func GetAuditProfileOutput(ctx *Context, args *GetAuditProfileOutputArgs, opts ...InvokeOption) GetAuditProfileResultOutput
Copy

> Note: This function is named GetAuditProfile 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)
}
Copy
public static CompletableFuture<GetAuditProfileResult> getAuditProfile(GetAuditProfileArgs args, InvokeOptions options)
public static Output<GetAuditProfileResult> getAuditProfile(GetAuditProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DataSafe/getAuditProfile:getAuditProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AuditProfileId This property is required. string
The OCID of the audit.
AuditProfileId This property is required. string
The OCID of the audit.
auditProfileId This property is required. String
The OCID of the audit.
auditProfileId This property is required. string
The OCID of the audit.
audit_profile_id This property is required. str
The OCID of the audit.
auditProfileId This property is required. String
The OCID of the audit.

getAuditProfile Result

The following output properties are available:

AuditCollectedVolume string
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.
AuditProfileId string
The OCID of the parent audit.
AuditTrails List<GetAuditProfileAuditTrail>
Indicates the list of available audit trails on the target.
ChangeRetentionTrigger int
CompartmentId string
The OCID of the compartment that contains the audit.
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.
IsOverrideGlobalRetentionSetting bool
Indicates whether audit retention settings like online and offline months is set at the target level overriding the global 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
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.
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 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.
AuditCollectedVolume string
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.
AuditProfileId string
The OCID of the parent audit.
AuditTrails []GetAuditProfileAuditTrail
Indicates the list of available audit trails on the target.
ChangeRetentionTrigger int
CompartmentId string
The OCID of the compartment that contains the audit.
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.
IsOverrideGlobalRetentionSetting bool
Indicates whether audit retention settings like online and offline months is set at the target level overriding the global 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
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.
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 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.
auditCollectedVolume String
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.
auditProfileId String
The OCID of the parent audit.
auditTrails List<GetAuditProfileAuditTrail>
Indicates the list of available audit trails on the target.
changeRetentionTrigger Integer
compartmentId String
The OCID of the compartment that contains the audit.
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.
isOverrideGlobalRetentionSetting Boolean
Indicates whether audit retention settings like online and offline months is set at the target level overriding the global 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
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.
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 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.
auditCollectedVolume string
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.
auditProfileId string
The OCID of the parent audit.
auditTrails GetAuditProfileAuditTrail[]
Indicates the list of available audit trails on the target.
changeRetentionTrigger number
compartmentId string
The OCID of the compartment that contains the audit.
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.
isOverrideGlobalRetentionSetting boolean
Indicates whether audit retention settings like online and offline months is set at the target level overriding the global 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
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.
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 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_volume str
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_id str
The OCID of the parent audit.
audit_trails Sequence[datasafe.GetAuditProfileAuditTrail]
Indicates the list of available audit trails on the target.
change_retention_trigger int
compartment_id str
The OCID of the compartment that contains the audit.
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_retention_setting bool
Indicates whether audit retention settings like online and offline months is set at the target level overriding the global 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
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.
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 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.
auditCollectedVolume String
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.
auditProfileId String
The OCID of the parent audit.
auditTrails List<Property Map>
Indicates the list of available audit trails on the target.
changeRetentionTrigger Number
compartmentId String
The OCID of the compartment that contains the audit.
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.
isOverrideGlobalRetentionSetting Boolean
Indicates whether audit retention settings like online and offline months is set at the target level overriding the global 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
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.
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 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

AuditCollectionStartTime This property is required. string
The date from which the audit trail must start collecting data, in the format defined by RFC3339.
AuditProfileId This property is required. string
The OCID of the audit.
CompartmentId This property is required. string
The OCID of the compartment that contains the audit.
DefinedTags This property is required. 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 This property is required. string
The description of the audit profile.
DisplayName This property is required. string
The display name of the audit profile.
FreeformTags This property is required. 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 This property is required. string
The OCID of the audit profile.
IsAutoPurgeEnabled This property is required. 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 This property is required. string
Details about the current state of the audit profile in Data Safe.
PeerTargetDatabaseKey This property is required. int
The secondary id assigned for the peer database registered with Data Safe.
PurgeJobDetails This property is required. string
The details of the audit trail purge job that ran on the "purgeJobTime".
PurgeJobStatus This property is required. string
The current status of the audit trail purge job.
PurgeJobTime This property is required. 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 This property is required. string
The current state of the audit profile.
Status This property is required. string
The current sub-state of the audit trail.
SystemTags This property is required. 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 This property is required. string
The OCID of the Data Safe target for which the audit profile is created.
TimeCreated This property is required. string
The date and time the audit profile was created, in the format defined by RFC3339.
TimeLastCollected This property is required. 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 This property is required. string
The date and time the audit profile was updated, in the format defined by RFC3339.
TrailLocation This property is required. 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 This property is required. string
The underlying source of unified audit trail.
WorkRequestId This property is required. string
The OCID of the workrequest for audit trail which collects audit records.
AuditCollectionStartTime This property is required. string
The date from which the audit trail must start collecting data, in the format defined by RFC3339.
AuditProfileId This property is required. string
The OCID of the audit.
CompartmentId This property is required. string
The OCID of the compartment that contains the audit.
DefinedTags This property is required. 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 This property is required. string
The description of the audit profile.
DisplayName This property is required. string
The display name of the audit profile.
FreeformTags This property is required. 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 This property is required. string
The OCID of the audit profile.
IsAutoPurgeEnabled This property is required. 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 This property is required. string
Details about the current state of the audit profile in Data Safe.
PeerTargetDatabaseKey This property is required. int
The secondary id assigned for the peer database registered with Data Safe.
PurgeJobDetails This property is required. string
The details of the audit trail purge job that ran on the "purgeJobTime".
PurgeJobStatus This property is required. string
The current status of the audit trail purge job.
PurgeJobTime This property is required. 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 This property is required. string
The current state of the audit profile.
Status This property is required. string
The current sub-state of the audit trail.
SystemTags This property is required. 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 This property is required. string
The OCID of the Data Safe target for which the audit profile is created.
TimeCreated This property is required. string
The date and time the audit profile was created, in the format defined by RFC3339.
TimeLastCollected This property is required. 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 This property is required. string
The date and time the audit profile was updated, in the format defined by RFC3339.
TrailLocation This property is required. 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 This property is required. string
The underlying source of unified audit trail.
WorkRequestId This property is required. string
The OCID of the workrequest for audit trail which collects audit records.
auditCollectionStartTime This property is required. String
The date from which the audit trail must start collecting data, in the format defined by RFC3339.
auditProfileId This property is required. String
The OCID of the audit.
compartmentId This property is required. String
The OCID of the compartment that contains the audit.
definedTags This property is required. 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 This property is required. String
The description of the audit profile.
displayName This property is required. String
The display name of the audit profile.
freeformTags This property is required. 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 This property is required. String
The OCID of the audit profile.
isAutoPurgeEnabled This property is required. 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 This property is required. String
Details about the current state of the audit profile in Data Safe.
peerTargetDatabaseKey This property is required. Integer
The secondary id assigned for the peer database registered with Data Safe.
purgeJobDetails This property is required. String
The details of the audit trail purge job that ran on the "purgeJobTime".
purgeJobStatus This property is required. String
The current status of the audit trail purge job.
purgeJobTime This property is required. 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 This property is required. String
The current state of the audit profile.
status This property is required. String
The current sub-state of the audit trail.
systemTags This property is required. 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 This property is required. String
The OCID of the Data Safe target for which the audit profile is created.
timeCreated This property is required. String
The date and time the audit profile was created, in the format defined by RFC3339.
timeLastCollected This property is required. 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 This property is required. String
The date and time the audit profile was updated, in the format defined by RFC3339.
trailLocation This property is required. 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 This property is required. String
The underlying source of unified audit trail.
workRequestId This property is required. String
The OCID of the workrequest for audit trail which collects audit records.
auditCollectionStartTime This property is required. string
The date from which the audit trail must start collecting data, in the format defined by RFC3339.
auditProfileId This property is required. string
The OCID of the audit.
compartmentId This property is required. string
The OCID of the compartment that contains the audit.
definedTags This property is required. {[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 This property is required. string
The description of the audit profile.
displayName This property is required. string
The display name of the audit profile.
freeformTags This property is required. {[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 This property is required. string
The OCID of the audit profile.
isAutoPurgeEnabled This property is required. 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 This property is required. string
Details about the current state of the audit profile in Data Safe.
peerTargetDatabaseKey This property is required. number
The secondary id assigned for the peer database registered with Data Safe.
purgeJobDetails This property is required. string
The details of the audit trail purge job that ran on the "purgeJobTime".
purgeJobStatus This property is required. string
The current status of the audit trail purge job.
purgeJobTime This property is required. 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 This property is required. string
The current state of the audit profile.
status This property is required. string
The current sub-state of the audit trail.
systemTags This property is required. {[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 This property is required. string
The OCID of the Data Safe target for which the audit profile is created.
timeCreated This property is required. string
The date and time the audit profile was created, in the format defined by RFC3339.
timeLastCollected This property is required. 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 This property is required. string
The date and time the audit profile was updated, in the format defined by RFC3339.
trailLocation This property is required. 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 This property is required. string
The underlying source of unified audit trail.
workRequestId This property is required. string
The OCID of the workrequest for audit trail which collects audit records.
audit_collection_start_time This property is required. str
The date from which the audit trail must start collecting data, in the format defined by RFC3339.
audit_profile_id This property is required. str
The OCID of the audit.
compartment_id This property is required. str
The OCID of the compartment that contains the audit.
defined_tags This property is required. 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 This property is required. str
The description of the audit profile.
display_name This property is required. str
The display name of the audit profile.
freeform_tags This property is required. 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 This property is required. str
The OCID of the audit profile.
is_auto_purge_enabled This property is required. 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 This property is required. str
Details about the current state of the audit profile in Data Safe.
peer_target_database_key This property is required. int
The secondary id assigned for the peer database registered with Data Safe.
purge_job_details This property is required. str
The details of the audit trail purge job that ran on the "purgeJobTime".
purge_job_status This property is required. str
The current status of the audit trail purge job.
purge_job_time This property is required. 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 This property is required. str
The current state of the audit profile.
status This property is required. str
The current sub-state of the audit trail.
system_tags This property is required. 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 This property is required. str
The OCID of the Data Safe target for which the audit profile is created.
time_created This property is required. str
The date and time the audit profile was created, in the format defined by RFC3339.
time_last_collected This property is required. 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 This property is required. str
The date and time the audit profile was updated, in the format defined by RFC3339.
trail_location This property is required. 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 This property is required. str
The underlying source of unified audit trail.
work_request_id This property is required. str
The OCID of the workrequest for audit trail which collects audit records.
auditCollectionStartTime This property is required. String
The date from which the audit trail must start collecting data, in the format defined by RFC3339.
auditProfileId This property is required. String
The OCID of the audit.
compartmentId This property is required. String
The OCID of the compartment that contains the audit.
definedTags This property is required. 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 This property is required. String
The description of the audit profile.
displayName This property is required. String
The display name of the audit profile.
freeformTags This property is required. 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 This property is required. String
The OCID of the audit profile.
isAutoPurgeEnabled This property is required. 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 This property is required. String
Details about the current state of the audit profile in Data Safe.
peerTargetDatabaseKey This property is required. Number
The secondary id assigned for the peer database registered with Data Safe.
purgeJobDetails This property is required. String
The details of the audit trail purge job that ran on the "purgeJobTime".
purgeJobStatus This property is required. String
The current status of the audit trail purge job.
purgeJobTime This property is required. 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 This property is required. String
The current state of the audit profile.
status This property is required. String
The current sub-state of the audit trail.
systemTags This property is required. 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 This property is required. String
The OCID of the Data Safe target for which the audit profile is created.
timeCreated This property is required. String
The date and time the audit profile was created, in the format defined by RFC3339.
timeLastCollected This property is required. 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 This property is required. String
The date and time the audit profile was updated, in the format defined by RFC3339.
trailLocation This property is required. 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 This property is required. String
The underlying source of unified audit trail.
workRequestId This property is required. 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.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi