Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

AuditProfile

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

Updates one or more attributes of the specified audit profile.

Create a AuditProfile Resource

new AuditProfile(name: string, args: AuditProfileArgs, opts?: CustomResourceOptions);
@overload
def AuditProfile(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 audit_profile_id: Optional[str] = None,
                 change_retention_trigger: Optional[int] = 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_paid_usage_enabled: Optional[bool] = None)
@overload
def AuditProfile(resource_name: str,
                 args: AuditProfileArgs,
                 opts: Optional[ResourceOptions] = None)
func NewAuditProfile(ctx *Context, name string, args AuditProfileArgs, opts ...ResourceOption) (*AuditProfile, error)
public AuditProfile(string name, AuditProfileArgs args, CustomResourceOptions? opts = null)
public AuditProfile(String name, AuditProfileArgs args)
public AuditProfile(String name, AuditProfileArgs args, CustomResourceOptions options)
type: oci:DataSafe:AuditProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AuditProfileArgs
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 AuditProfileArgs
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 AuditProfileArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AuditProfileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AuditProfileArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AuditProfile 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 AuditProfile resource accepts the following input properties:

AuditProfileId string

The OCID of the audit.

ChangeRetentionTrigger int

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

CompartmentId string

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

DisplayName string

(Updatable) The display name of the audit profile. 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"}

IsPaidUsageEnabled bool

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

AuditProfileId string

The OCID of the audit.

ChangeRetentionTrigger int

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

CompartmentId string

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

DisplayName string

(Updatable) The display name of the audit profile. 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"}

IsPaidUsageEnabled bool

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

auditProfileId String

The OCID of the audit.

changeRetentionTrigger Integer

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

compartmentId String

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

displayName String

(Updatable) The display name of the audit profile. 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"}

isPaidUsageEnabled Boolean

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

auditProfileId string

The OCID of the audit.

changeRetentionTrigger number

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

compartmentId string

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

displayName string

(Updatable) The display name of the audit profile. 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"}

isPaidUsageEnabled boolean

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

audit_profile_id str

The OCID of the audit.

change_retention_trigger int

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

compartment_id str

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

display_name str

(Updatable) The display name of the audit profile. 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_paid_usage_enabled bool

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

auditProfileId String

The OCID of the audit.

changeRetentionTrigger Number

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

compartmentId String

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

displayName String

(Updatable) The display name of the audit profile. 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"}

isPaidUsageEnabled Boolean

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

Outputs

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

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.

AuditTrails List<AuditProfileAuditTrail>

Indicates the list of available audit trails on the target.

Id string

The provider-assigned unique ID for this managed resource.

IsOverrideGlobalRetentionSetting bool

Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.

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, 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 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.

AuditTrails []AuditProfileAuditTrail

Indicates the list of available audit trails on the target.

Id string

The provider-assigned unique ID for this managed resource.

IsOverrideGlobalRetentionSetting bool

Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.

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]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 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.

auditTrails List<AuditProfileAuditTrail>

Indicates the list of available audit trails on the target.

id String

The provider-assigned unique ID for this managed resource.

isOverrideGlobalRetentionSetting Boolean

Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.

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,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 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.

auditTrails AuditProfileAuditTrail[]

Indicates the list of available audit trails on the target.

id string

The provider-assigned unique ID for this managed resource.

isOverrideGlobalRetentionSetting boolean

Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.

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]: 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 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_trails AuditProfileAuditTrail]

Indicates the list of available audit trails on the target.

id str

The provider-assigned unique ID for this managed resource.

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.

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, 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 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.

auditTrails List<Property Map>

Indicates the list of available audit trails on the target.

id String

The provider-assigned unique ID for this managed resource.

isOverrideGlobalRetentionSetting Boolean

Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.

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

Look up an Existing AuditProfile Resource

Get an existing AuditProfile 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?: AuditProfileState, opts?: CustomResourceOptions): AuditProfile
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        audit_collected_volume: Optional[str] = None,
        audit_profile_id: Optional[str] = None,
        audit_trails: Optional[Sequence[_datasafe.AuditProfileAuditTrailArgs]] = None,
        change_retention_trigger: Optional[int] = 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_override_global_retention_setting: Optional[bool] = None,
        is_paid_usage_enabled: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        offline_months: Optional[int] = None,
        online_months: Optional[int] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = None,
        target_id: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> AuditProfile
func GetAuditProfile(ctx *Context, name string, id IDInput, state *AuditProfileState, opts ...ResourceOption) (*AuditProfile, error)
public static AuditProfile Get(string name, Input<string> id, AuditProfileState? state, CustomResourceOptions? opts = null)
public static AuditProfile get(String name, Output<String> id, AuditProfileState 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:
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 audit.

AuditTrails List<AuditProfileAuditTrailArgs>

Indicates the list of available audit trails on the target.

ChangeRetentionTrigger int

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

CompartmentId string

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

DisplayName string

(Updatable) The display name of the audit profile. 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"}

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

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

AuditTrails []AuditProfileAuditTrailArgs

Indicates the list of available audit trails on the target.

ChangeRetentionTrigger int

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

CompartmentId string

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

DisplayName string

(Updatable) The display name of the audit profile. 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"}

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

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

auditTrails List<AuditProfileAuditTrailArgs>

Indicates the list of available audit trails on the target.

changeRetentionTrigger Integer

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

compartmentId String

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

displayName String

(Updatable) The display name of the audit profile. 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"}

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

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

auditTrails AuditProfileAuditTrailArgs[]

Indicates the list of available audit trails on the target.

changeRetentionTrigger number

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

compartmentId string

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

displayName string

(Updatable) The display name of the audit profile. 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"}

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

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

audit_trails AuditProfileAuditTrailArgs]

Indicates the list of available audit trails on the target.

change_retention_trigger int

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

compartment_id str

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

display_name str

(Updatable) The display name of the audit profile. 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_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

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

auditTrails List<Property Map>

Indicates the list of available audit trails on the target.

changeRetentionTrigger Number

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

compartmentId String

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

displayName String

(Updatable) The display name of the audit profile. 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"}

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

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

AuditProfileAuditTrail

AuditCollectionStartTime string

The date from which the audit trail must start collecting data, in the format defined by RFC3339.

AuditProfileId string

The OCID of the audit.

CompartmentId string

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

DisplayName string

(Updatable) The display name of the audit profile. 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"}

Id string

The OCID of the audit profile.

IsAutoPurgeEnabled bool

Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.

LifecycleDetails string

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

State string

The current state of the audit profile.

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

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

CompartmentId string

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

DisplayName string

(Updatable) The display name of the audit profile. 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"}

Id string

The OCID of the audit profile.

IsAutoPurgeEnabled bool

Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.

LifecycleDetails string

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

State string

The current state of the audit profile.

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

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

compartmentId String

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

displayName String

(Updatable) The display name of the audit profile. 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"}

id String

The OCID of the audit profile.

isAutoPurgeEnabled Boolean

Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.

lifecycleDetails String

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

state String

The current state of the audit profile.

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

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

compartmentId string

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

displayName string

(Updatable) The display name of the audit profile. 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"}

id string

The OCID of the audit profile.

isAutoPurgeEnabled boolean

Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.

lifecycleDetails string

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

state string

The current state of the audit profile.

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

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

compartment_id str

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

display_name str

(Updatable) The display name of the audit profile. 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"}

id str

The OCID of the audit profile.

is_auto_purge_enabled bool

Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.

lifecycle_details str

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

state str

The current state of the audit profile.

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

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

compartmentId String

(Updatable) The OCID of the compartment that contains the audit.

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 profile.

displayName String

(Updatable) The display name of the audit profile. 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"}

id String

The OCID of the audit profile.

isAutoPurgeEnabled Boolean

Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database's audit trail does not become too large.

lifecycleDetails String

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

state String

The current state of the audit profile.

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

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

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

 $ pulumi import oci:DataSafe/auditProfile:AuditProfile test_audit_profile "id"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.