oci logo
Oracle Cloud Infrastructure v0.13.0, Mar 28 23

oci.DataSafe.AuditTrail

This resource provides the Audit Trail resource in Oracle Cloud Infrastructure Data Safe service.

Updates one or more attributes of the specified audit trail.

Create AuditTrail Resource

new AuditTrail(name: string, args: AuditTrailArgs, opts?: CustomResourceOptions);
@overload
def AuditTrail(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               audit_trail_id: Optional[str] = None,
               defined_tags: Optional[Mapping[str, Any]] = None,
               description: Optional[str] = None,
               display_name: Optional[str] = None,
               freeform_tags: Optional[Mapping[str, Any]] = None,
               is_auto_purge_enabled: Optional[bool] = None,
               resume_trigger: Optional[int] = None,
               state: Optional[str] = None)
@overload
def AuditTrail(resource_name: str,
               args: AuditTrailArgs,
               opts: Optional[ResourceOptions] = None)
func NewAuditTrail(ctx *Context, name string, args AuditTrailArgs, opts ...ResourceOption) (*AuditTrail, error)
public AuditTrail(string name, AuditTrailArgs args, CustomResourceOptions? opts = null)
public AuditTrail(String name, AuditTrailArgs args)
public AuditTrail(String name, AuditTrailArgs args, CustomResourceOptions options)
type: oci:DataSafe:AuditTrail
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AuditTrailArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AuditTrailArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AuditTrailArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AuditTrailArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AuditTrailArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AuditTrail Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AuditTrail resource accepts the following input properties:

AuditTrailId string

The OCID of the audit trail.

DefinedTags Dictionary<string, object>

(Updatable) 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

(Updatable) The description of the audit trail.

DisplayName string

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

FreeformTags Dictionary<string, object>

(Updatable) 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"}

IsAutoPurgeEnabled bool

(Updatable) 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.

ResumeTrigger int

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

State string

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

AuditTrailId string

The OCID of the audit trail.

DefinedTags map[string]interface{}

(Updatable) 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

(Updatable) The description of the audit trail.

DisplayName string

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

FreeformTags map[string]interface{}

(Updatable) 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"}

IsAutoPurgeEnabled bool

(Updatable) 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.

ResumeTrigger int

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

State string

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

auditTrailId String

The OCID of the audit trail.

definedTags Map<String,Object>

(Updatable) 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

(Updatable) The description of the audit trail.

displayName String

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

freeformTags Map<String,Object>

(Updatable) 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"}

isAutoPurgeEnabled Boolean

(Updatable) 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.

resumeTrigger Integer

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

state String

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

auditTrailId string

The OCID of the audit trail.

definedTags {[key: string]: any}

(Updatable) 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

(Updatable) The description of the audit trail.

displayName string

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

freeformTags {[key: string]: any}

(Updatable) 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"}

isAutoPurgeEnabled boolean

(Updatable) 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.

resumeTrigger number

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

state string

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

audit_trail_id str

The OCID of the audit trail.

defined_tags Mapping[str, Any]

(Updatable) 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

(Updatable) The description of the audit trail.

display_name str

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

freeform_tags Mapping[str, Any]

(Updatable) 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"}

is_auto_purge_enabled bool

(Updatable) 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.

resume_trigger int

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

state str

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

auditTrailId String

The OCID of the audit trail.

definedTags Map<Any>

(Updatable) 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

(Updatable) The description of the audit trail.

displayName String

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

freeformTags Map<Any>

(Updatable) 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"}

isAutoPurgeEnabled Boolean

(Updatable) 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.

resumeTrigger Number

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

state String

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

Outputs

All input properties are implicitly available as output properties. Additionally, the AuditTrail resource produces the following output properties:

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 parent audit.

CompartmentId string

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Details about the current state of the audit trail in Data Safe.

Status string

The current sub-state of the audit trail.

SystemTags Dictionary<string, object>

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 trail is created.

TimeCreated string

The date and time the audit trail was created, in the format defined by RFC3339.

TimeLastCollected string

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

TimeUpdated string

The date and time the audit trail 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.

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 parent audit.

CompartmentId string

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Details about the current state of the audit trail in Data Safe.

Status string

The current sub-state of the audit trail.

SystemTags map[string]interface{}

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 trail is created.

TimeCreated string

The date and time the audit trail was created, in the format defined by RFC3339.

TimeLastCollected string

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

TimeUpdated string

The date and time the audit trail 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.

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 parent audit.

compartmentId String

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Details about the current state of the audit trail in Data Safe.

status String

The current sub-state of the audit trail.

systemTags Map<String,Object>

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 trail is created.

timeCreated String

The date and time the audit trail was created, in the format defined by RFC3339.

timeLastCollected String

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

timeUpdated String

The date and time the audit trail 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.

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 parent audit.

compartmentId string

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

id string

The provider-assigned unique ID for this managed resource.

lifecycleDetails string

Details about the current state of the audit trail in Data Safe.

status string

The current sub-state of the audit trail.

systemTags {[key: string]: any}

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 trail is created.

timeCreated string

The date and time the audit trail was created, in the format defined by RFC3339.

timeLastCollected string

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

timeUpdated string

The date and time the audit trail 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.

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 parent audit.

compartment_id str

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

id str

The provider-assigned unique ID for this managed resource.

lifecycle_details str

Details about the current state of the audit trail in Data Safe.

status str

The current sub-state of the audit trail.

system_tags Mapping[str, Any]

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 trail is created.

time_created str

The date and time the audit trail was created, in the format defined by RFC3339.

time_last_collected str

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

time_updated str

The date and time the audit trail 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.

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 parent audit.

compartmentId String

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Details about the current state of the audit trail in Data Safe.

status String

The current sub-state of the audit trail.

systemTags Map<Any>

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 trail is created.

timeCreated String

The date and time the audit trail was created, in the format defined by RFC3339.

timeLastCollected String

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

timeUpdated String

The date and time the audit trail 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.

workRequestId String

The OCID of the workrequest for audit trail which collects audit records.

Look up Existing AuditTrail Resource

Get an existing AuditTrail resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AuditTrailState, opts?: CustomResourceOptions): AuditTrail
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        audit_collection_start_time: Optional[str] = None,
        audit_profile_id: Optional[str] = None,
        audit_trail_id: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        is_auto_purge_enabled: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        resume_trigger: Optional[int] = None,
        state: Optional[str] = None,
        status: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = None,
        target_id: Optional[str] = None,
        time_created: Optional[str] = None,
        time_last_collected: Optional[str] = None,
        time_updated: Optional[str] = None,
        trail_location: Optional[str] = None,
        work_request_id: Optional[str] = None) -> AuditTrail
func GetAuditTrail(ctx *Context, name string, id IDInput, state *AuditTrailState, opts ...ResourceOption) (*AuditTrail, error)
public static AuditTrail Get(string name, Input<string> id, AuditTrailState? state, CustomResourceOptions? opts = null)
public static AuditTrail get(String name, Output<String> id, AuditTrailState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
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 parent audit.

AuditTrailId string

The OCID of the audit trail.

CompartmentId string

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

DefinedTags Dictionary<string, object>

(Updatable) 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

(Updatable) The description of the audit trail.

DisplayName string

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

FreeformTags Dictionary<string, object>

(Updatable) 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"}

IsAutoPurgeEnabled bool

(Updatable) 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 trail in Data Safe.

ResumeTrigger int

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

State string

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

Status string

The current sub-state of the audit trail.

SystemTags Dictionary<string, object>

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 trail is created.

TimeCreated string

The date and time the audit trail was created, in the format defined by RFC3339.

TimeLastCollected string

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

TimeUpdated string

The date and time the audit trail 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.

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 parent audit.

AuditTrailId string

The OCID of the audit trail.

CompartmentId string

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

DefinedTags map[string]interface{}

(Updatable) 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

(Updatable) The description of the audit trail.

DisplayName string

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

FreeformTags map[string]interface{}

(Updatable) 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"}

IsAutoPurgeEnabled bool

(Updatable) 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 trail in Data Safe.

ResumeTrigger int

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

State string

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

Status string

The current sub-state of the audit trail.

SystemTags map[string]interface{}

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 trail is created.

TimeCreated string

The date and time the audit trail was created, in the format defined by RFC3339.

TimeLastCollected string

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

TimeUpdated string

The date and time the audit trail 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.

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 parent audit.

auditTrailId String

The OCID of the audit trail.

compartmentId String

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

definedTags Map<String,Object>

(Updatable) 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

(Updatable) The description of the audit trail.

displayName String

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

freeformTags Map<String,Object>

(Updatable) 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"}

isAutoPurgeEnabled Boolean

(Updatable) 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 trail in Data Safe.

resumeTrigger Integer

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

state String

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

status String

The current sub-state of the audit trail.

systemTags Map<String,Object>

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 trail is created.

timeCreated String

The date and time the audit trail was created, in the format defined by RFC3339.

timeLastCollected String

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

timeUpdated String

The date and time the audit trail 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.

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 parent audit.

auditTrailId string

The OCID of the audit trail.

compartmentId string

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

definedTags {[key: string]: any}

(Updatable) 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

(Updatable) The description of the audit trail.

displayName string

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

freeformTags {[key: string]: any}

(Updatable) 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"}

isAutoPurgeEnabled boolean

(Updatable) 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 trail in Data Safe.

resumeTrigger number

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

state string

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

status string

The current sub-state of the audit trail.

systemTags {[key: string]: any}

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 trail is created.

timeCreated string

The date and time the audit trail was created, in the format defined by RFC3339.

timeLastCollected string

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

timeUpdated string

The date and time the audit trail 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.

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 parent audit.

audit_trail_id str

The OCID of the audit trail.

compartment_id str

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

defined_tags Mapping[str, Any]

(Updatable) 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

(Updatable) The description of the audit trail.

display_name str

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

freeform_tags Mapping[str, Any]

(Updatable) 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"}

is_auto_purge_enabled bool

(Updatable) 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 trail in Data Safe.

resume_trigger int

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

state str

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

status str

The current sub-state of the audit trail.

system_tags Mapping[str, Any]

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 trail is created.

time_created str

The date and time the audit trail was created, in the format defined by RFC3339.

time_last_collected str

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

time_updated str

The date and time the audit trail 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.

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 parent audit.

auditTrailId String

The OCID of the audit trail.

compartmentId String

The OCID of the compartment that contains the audit trail and its same as the compartment of audit profile resource.

definedTags Map<Any>

(Updatable) 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

(Updatable) The description of the audit trail.

displayName String

(Updatable) The display name of the audit trail. The name does not have to be unique, and it's changeable.

freeformTags Map<Any>

(Updatable) 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"}

isAutoPurgeEnabled Boolean

(Updatable) 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 trail in Data Safe.

resumeTrigger Number

(Updatable) An optional property when incremented triggers Resume. Could be set to any integer value.

state String

(Updatable) The target state for the Audit Trail. Could be set to ACTIVE or INACTIVE.

status String

The current sub-state of the audit trail.

systemTags Map<Any>

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 trail is created.

timeCreated String

The date and time the audit trail was created, in the format defined by RFC3339.

timeLastCollected String

The date and time until which the audit events are collected from target database by Data Safe audit trail collection process, in the format defined by RFC3339.

timeUpdated String

The date and time the audit trail 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.

workRequestId String

The OCID of the workrequest for audit trail which collects audit records.

Import

AuditTrails can be imported using the id, e.g.

 $ pulumi import oci:DataSafe/auditTrail:AuditTrail test_audit_trail "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.