Oracle Cloud Infrastructure

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

getAuditProfiles

This data source provides the list of Audit Profiles in Oracle Cloud Infrastructure Data Safe service.

Gets a list of all audit profiles.

The ListAuditProfiles operation returns only the audit profiles in the specified compartmentId. The list does not include any subcompartments of the compartmentId passed.

The parameter accessLevel specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn’t have access to even one of the child compartments. This is valid only when compartmentIdInSubtree is set to true.

The parameter compartmentIdInSubtree applies when you perform ListAuditProfiles on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAuditProfiles = Output.Create(Oci.DataSafe.GetAuditProfiles.InvokeAsync(new Oci.DataSafe.GetAuditProfilesArgs
        {
            CompartmentId = @var.Compartment_id,
            AccessLevel = @var.Audit_profile_access_level,
            AuditCollectedVolumeGreaterThanOrEqualTo = @var.Audit_profile_audit_collected_volume_greater_than_or_equal_to,
            AuditProfileId = oci_data_safe_audit_profile.Test_audit_profile.Id,
            CompartmentIdInSubtree = @var.Audit_profile_compartment_id_in_subtree,
            DisplayName = @var.Audit_profile_display_name,
            IsOverrideGlobalRetentionSetting = @var.Audit_profile_is_override_global_retention_setting,
            IsPaidUsageEnabled = @var.Audit_profile_is_paid_usage_enabled,
            State = @var.Audit_profile_state,
            TargetId = oci_cloud_guard_target.Test_target.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DataSafe.GetAuditProfiles(ctx, &datasafe.GetAuditProfilesArgs{
			CompartmentId:                            _var.Compartment_id,
			AccessLevel:                              pulumi.StringRef(_var.Audit_profile_access_level),
			AuditCollectedVolumeGreaterThanOrEqualTo: pulumi.StringRef(_var.Audit_profile_audit_collected_volume_greater_than_or_equal_to),
			AuditProfileId:                           pulumi.StringRef(oci_data_safe_audit_profile.Test_audit_profile.Id),
			CompartmentIdInSubtree:                   pulumi.BoolRef(_var.Audit_profile_compartment_id_in_subtree),
			DisplayName:                              pulumi.StringRef(_var.Audit_profile_display_name),
			IsOverrideGlobalRetentionSetting:         pulumi.BoolRef(_var.Audit_profile_is_override_global_retention_setting),
			IsPaidUsageEnabled:                       pulumi.BoolRef(_var.Audit_profile_is_paid_usage_enabled),
			State:                                    pulumi.StringRef(_var.Audit_profile_state),
			TargetId:                                 pulumi.StringRef(oci_cloud_guard_target.Test_target.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_audit_profiles = oci.DataSafe.get_audit_profiles(compartment_id=var["compartment_id"],
    access_level=var["audit_profile_access_level"],
    audit_collected_volume_greater_than_or_equal_to=var["audit_profile_audit_collected_volume_greater_than_or_equal_to"],
    audit_profile_id=oci_data_safe_audit_profile["test_audit_profile"]["id"],
    compartment_id_in_subtree=var["audit_profile_compartment_id_in_subtree"],
    display_name=var["audit_profile_display_name"],
    is_override_global_retention_setting=var["audit_profile_is_override_global_retention_setting"],
    is_paid_usage_enabled=var["audit_profile_is_paid_usage_enabled"],
    state=var["audit_profile_state"],
    target_id=oci_cloud_guard_target["test_target"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAuditProfiles = oci.DataSafe.getAuditProfiles({
    compartmentId: _var.compartment_id,
    accessLevel: _var.audit_profile_access_level,
    auditCollectedVolumeGreaterThanOrEqualTo: _var.audit_profile_audit_collected_volume_greater_than_or_equal_to,
    auditProfileId: oci_data_safe_audit_profile.test_audit_profile.id,
    compartmentIdInSubtree: _var.audit_profile_compartment_id_in_subtree,
    displayName: _var.audit_profile_display_name,
    isOverrideGlobalRetentionSetting: _var.audit_profile_is_override_global_retention_setting,
    isPaidUsageEnabled: _var.audit_profile_is_paid_usage_enabled,
    state: _var.audit_profile_state,
    targetId: oci_cloud_guard_target.test_target.id,
});

Coming soon!

Using getAuditProfiles

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 getAuditProfiles(args: GetAuditProfilesArgs, opts?: InvokeOptions): Promise<GetAuditProfilesResult>
function getAuditProfilesOutput(args: GetAuditProfilesOutputArgs, opts?: InvokeOptions): Output<GetAuditProfilesResult>
def get_audit_profiles(access_level: Optional[str] = None,
                       audit_collected_volume_greater_than_or_equal_to: Optional[str] = None,
                       audit_profile_id: Optional[str] = None,
                       compartment_id: Optional[str] = None,
                       compartment_id_in_subtree: Optional[bool] = None,
                       display_name: Optional[str] = None,
                       filters: Optional[Sequence[_datasafe.GetAuditProfilesFilter]] = None,
                       is_override_global_retention_setting: Optional[bool] = None,
                       is_paid_usage_enabled: Optional[bool] = None,
                       state: Optional[str] = None,
                       target_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetAuditProfilesResult
def get_audit_profiles_output(access_level: Optional[pulumi.Input[str]] = None,
                       audit_collected_volume_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                       audit_profile_id: Optional[pulumi.Input[str]] = None,
                       compartment_id: Optional[pulumi.Input[str]] = None,
                       compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                       display_name: Optional[pulumi.Input[str]] = None,
                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetAuditProfilesFilterArgs]]]] = None,
                       is_override_global_retention_setting: Optional[pulumi.Input[bool]] = None,
                       is_paid_usage_enabled: Optional[pulumi.Input[bool]] = None,
                       state: Optional[pulumi.Input[str]] = None,
                       target_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetAuditProfilesResult]
func GetAuditProfiles(ctx *Context, args *GetAuditProfilesArgs, opts ...InvokeOption) (*GetAuditProfilesResult, error)
func GetAuditProfilesOutput(ctx *Context, args *GetAuditProfilesOutputArgs, opts ...InvokeOption) GetAuditProfilesResultOutput

> Note: This function is named GetAuditProfiles in the Go SDK.

public static class GetAuditProfiles 
{
    public static Task<GetAuditProfilesResult> InvokeAsync(GetAuditProfilesArgs args, InvokeOptions? opts = null)
    public static Output<GetAuditProfilesResult> Invoke(GetAuditProfilesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAuditProfilesResult> getAuditProfiles(GetAuditProfilesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DataSafe/getAuditProfiles:getAuditProfiles
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CompartmentId string

A filter to return only resources that match the specified compartment OCID.

AccessLevel string

Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.

AuditCollectedVolumeGreaterThanOrEqualTo string

A filter to return only items that have count of audit records collected greater than or equal to the specified value.

AuditProfileId string

A optional filter to return only resources that match the specified id.

CompartmentIdInSubtree bool

Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.

DisplayName string

A filter to return only resources that match the specified display name.

Filters List<GetAuditProfilesFilter>
IsOverrideGlobalRetentionSetting bool

A optional filter to return only resources that match the specified retention configured value.

IsPaidUsageEnabled bool

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.

State string

A optional filter to return only resources that match the specified lifecycle state.

TargetId string

A filter to return only items related to a specific target OCID.

CompartmentId string

A filter to return only resources that match the specified compartment OCID.

AccessLevel string

Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.

AuditCollectedVolumeGreaterThanOrEqualTo string

A filter to return only items that have count of audit records collected greater than or equal to the specified value.

AuditProfileId string

A optional filter to return only resources that match the specified id.

CompartmentIdInSubtree bool

Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.

DisplayName string

A filter to return only resources that match the specified display name.

Filters []GetAuditProfilesFilter
IsOverrideGlobalRetentionSetting bool

A optional filter to return only resources that match the specified retention configured value.

IsPaidUsageEnabled bool

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.

State string

A optional filter to return only resources that match the specified lifecycle state.

TargetId string

A filter to return only items related to a specific target OCID.

compartmentId String

A filter to return only resources that match the specified compartment OCID.

accessLevel String

Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.

auditCollectedVolumeGreaterThanOrEqualTo String

A filter to return only items that have count of audit records collected greater than or equal to the specified value.

auditProfileId String

A optional filter to return only resources that match the specified id.

compartmentIdInSubtree Boolean

Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.

displayName String

A filter to return only resources that match the specified display name.

filters List<GetAuditProfilesFilter>
isOverrideGlobalRetentionSetting Boolean

A optional filter to return only resources that match the specified retention configured value.

isPaidUsageEnabled Boolean

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.

state String

A optional filter to return only resources that match the specified lifecycle state.

targetId String

A filter to return only items related to a specific target OCID.

compartmentId string

A filter to return only resources that match the specified compartment OCID.

accessLevel string

Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.

auditCollectedVolumeGreaterThanOrEqualTo string

A filter to return only items that have count of audit records collected greater than or equal to the specified value.

auditProfileId string

A optional filter to return only resources that match the specified id.

compartmentIdInSubtree boolean

Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.

displayName string

A filter to return only resources that match the specified display name.

filters GetAuditProfilesFilter[]
isOverrideGlobalRetentionSetting boolean

A optional filter to return only resources that match the specified retention configured value.

isPaidUsageEnabled boolean

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.

state string

A optional filter to return only resources that match the specified lifecycle state.

targetId string

A filter to return only items related to a specific target OCID.

compartment_id str

A filter to return only resources that match the specified compartment OCID.

access_level str

Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.

audit_collected_volume_greater_than_or_equal_to str

A filter to return only items that have count of audit records collected greater than or equal to the specified value.

audit_profile_id str

A optional filter to return only resources that match the specified id.

compartment_id_in_subtree bool

Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.

display_name str

A filter to return only resources that match the specified display name.

filters GetAuditProfilesFilter]
is_override_global_retention_setting bool

A optional filter to return only resources that match the specified retention configured value.

is_paid_usage_enabled bool

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.

state str

A optional filter to return only resources that match the specified lifecycle state.

target_id str

A filter to return only items related to a specific target OCID.

compartmentId String

A filter to return only resources that match the specified compartment OCID.

accessLevel String

Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.

auditCollectedVolumeGreaterThanOrEqualTo String

A filter to return only items that have count of audit records collected greater than or equal to the specified value.

auditProfileId String

A optional filter to return only resources that match the specified id.

compartmentIdInSubtree Boolean

Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.

displayName String

A filter to return only resources that match the specified display name.

filters List<Property Map>
isOverrideGlobalRetentionSetting Boolean

A optional filter to return only resources that match the specified retention configured value.

isPaidUsageEnabled Boolean

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.

state String

A optional filter to return only resources that match the specified lifecycle state.

targetId String

A filter to return only items related to a specific target OCID.

getAuditProfiles Result

The following output properties are available:

AuditProfileCollections List<GetAuditProfilesAuditProfileCollection>

The list of audit_profile_collection.

CompartmentId string

The OCID of the compartment that contains the audit.

Id string

The provider-assigned unique ID for this managed resource.

AccessLevel string
AuditCollectedVolumeGreaterThanOrEqualTo string
AuditProfileId string

The OCID of the parent audit.

CompartmentIdInSubtree bool
DisplayName string

The display name of the audit profile.

Filters List<GetAuditProfilesFilter>
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.

State string

The current state of the audit profile.

TargetId string

The OCID of the Data Safe target for which the audit profile is created.

AuditProfileCollections []GetAuditProfilesAuditProfileCollection

The list of audit_profile_collection.

CompartmentId string

The OCID of the compartment that contains the audit.

Id string

The provider-assigned unique ID for this managed resource.

AccessLevel string
AuditCollectedVolumeGreaterThanOrEqualTo string
AuditProfileId string

The OCID of the parent audit.

CompartmentIdInSubtree bool
DisplayName string

The display name of the audit profile.

Filters []GetAuditProfilesFilter
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.

State string

The current state of the audit profile.

TargetId string

The OCID of the Data Safe target for which the audit profile is created.

auditProfileCollections List<GetAuditProfilesAuditProfileCollection>

The list of audit_profile_collection.

compartmentId String

The OCID of the compartment that contains the audit.

id String

The provider-assigned unique ID for this managed resource.

accessLevel String
auditCollectedVolumeGreaterThanOrEqualTo String
auditProfileId String

The OCID of the parent audit.

compartmentIdInSubtree Boolean
displayName String

The display name of the audit profile.

filters List<GetAuditProfilesFilter>
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.

state String

The current state of the audit profile.

targetId String

The OCID of the Data Safe target for which the audit profile is created.

auditProfileCollections GetAuditProfilesAuditProfileCollection[]

The list of audit_profile_collection.

compartmentId string

The OCID of the compartment that contains the audit.

id string

The provider-assigned unique ID for this managed resource.

accessLevel string
auditCollectedVolumeGreaterThanOrEqualTo string
auditProfileId string

The OCID of the parent audit.

compartmentIdInSubtree boolean
displayName string

The display name of the audit profile.

filters GetAuditProfilesFilter[]
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.

state string

The current state of the audit profile.

targetId string

The OCID of the Data Safe target for which the audit profile is created.

audit_profile_collections GetAuditProfilesAuditProfileCollection]

The list of audit_profile_collection.

compartment_id str

The OCID of the compartment that contains the audit.

id str

The provider-assigned unique ID for this managed resource.

access_level str
audit_collected_volume_greater_than_or_equal_to str
audit_profile_id str

The OCID of the parent audit.

compartment_id_in_subtree bool
display_name str

The display name of the audit profile.

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

state str

The current state of the audit profile.

target_id str

The OCID of the Data Safe target for which the audit profile is created.

auditProfileCollections List<Property Map>

The list of audit_profile_collection.

compartmentId String

The OCID of the compartment that contains the audit.

id String

The provider-assigned unique ID for this managed resource.

accessLevel String
auditCollectedVolumeGreaterThanOrEqualTo String
auditProfileId String

The OCID of the parent audit.

compartmentIdInSubtree Boolean
displayName String

The display name of the audit profile.

filters List<Property Map>
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.

state String

The current state of the audit profile.

targetId String

The OCID of the Data Safe target for which the audit profile is created.

Supporting Types

GetAuditProfilesAuditProfileCollection

GetAuditProfilesAuditProfileCollectionItem

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

A optional filter to return only resources that match the specified id.

AuditTrails List<GetAuditProfilesAuditProfileCollectionItemAuditTrail>

Indicates the list of available audit trails on the target.

ChangeRetentionTrigger int
CompartmentId string

A filter to return only resources that match the specified compartment OCID.

DefinedTags Dictionary<string, object>

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

A filter to return only resources that match the specified display name.

FreeformTags Dictionary<string, object>

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

A optional filter to return only resources that match the specified retention configured value.

IsPaidUsageEnabled bool

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, 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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

AuditTrails []GetAuditProfilesAuditProfileCollectionItemAuditTrail

Indicates the list of available audit trails on the target.

ChangeRetentionTrigger int
CompartmentId string

A filter to return only resources that match the specified compartment OCID.

DefinedTags map[string]interface{}

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

A filter to return only resources that match the specified display name.

FreeformTags map[string]interface{}

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

A optional filter to return only resources that match the specified retention configured value.

IsPaidUsageEnabled bool

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, 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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

auditTrails List<GetAuditProfilesAuditProfileCollectionItemAuditTrail>

Indicates the list of available audit trails on the target.

changeRetentionTrigger Integer
compartmentId String

A filter to return only resources that match the specified compartment OCID.

definedTags Map<String,Object>

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

A filter to return only resources that match the specified display name.

freeformTags Map<String,Object>

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

A optional filter to return only resources that match the specified retention configured value.

isPaidUsageEnabled Boolean

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, 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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

auditTrails GetAuditProfilesAuditProfileCollectionItemAuditTrail[]

Indicates the list of available audit trails on the target.

changeRetentionTrigger number
compartmentId string

A filter to return only resources that match the specified compartment OCID.

definedTags {[key: string]: any}

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

A filter to return only resources that match the specified display name.

freeformTags {[key: string]: any}

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

A optional filter to return only resources that match the specified retention configured value.

isPaidUsageEnabled boolean

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, 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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

audit_trails GetAuditProfilesAuditProfileCollectionItemAuditTrail]

Indicates the list of available audit trails on the target.

change_retention_trigger int
compartment_id str

A filter to return only resources that match the specified compartment OCID.

defined_tags Mapping[str, Any]

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

A filter to return only resources that match the specified display name.

freeform_tags Mapping[str, Any]

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

A optional filter to return only resources that match the specified retention configured value.

is_paid_usage_enabled bool

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, 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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

auditTrails List<Property Map>

Indicates the list of available audit trails on the target.

changeRetentionTrigger Number
compartmentId String

A filter to return only resources that match the specified compartment OCID.

definedTags Map<Any>

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

A filter to return only resources that match the specified display name.

freeformTags Map<Any>

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

A optional filter to return only resources that match the specified retention configured value.

isPaidUsageEnabled Boolean

Indicates if you want to continue audit record collection beyond the free limit of one million audit records per month per target database, 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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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.

GetAuditProfilesAuditProfileCollectionItemAuditTrail

AuditCollectionStartTime string

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

AuditProfileId string

A optional filter to return only resources that match the specified id.

CompartmentId string

A filter to return only resources that match the specified compartment OCID.

DefinedTags Dictionary<string, object>

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

A filter to return only resources that match the specified display name.

FreeformTags Dictionary<string, object>

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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

CompartmentId string

A filter to return only resources that match the specified compartment OCID.

DefinedTags map[string]interface{}

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

A filter to return only resources that match the specified display name.

FreeformTags map[string]interface{}

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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

compartmentId String

A filter to return only resources that match the specified compartment OCID.

definedTags Map<String,Object>

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

A filter to return only resources that match the specified display name.

freeformTags Map<String,Object>

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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

compartmentId string

A filter to return only resources that match the specified compartment OCID.

definedTags {[key: string]: any}

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

A filter to return only resources that match the specified display name.

freeformTags {[key: string]: any}

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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

compartment_id str

A filter to return only resources that match the specified compartment OCID.

defined_tags Mapping[str, Any]

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

A filter to return only resources that match the specified display name.

freeform_tags Mapping[str, Any]

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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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

A optional filter to return only resources that match the specified id.

compartmentId String

A filter to return only resources that match the specified compartment OCID.

definedTags Map<Any>

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

A filter to return only resources that match the specified display name.

freeformTags Map<Any>

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

A optional filter to return only resources that match the specified lifecycle state.

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

A filter to return only items related to a specific target OCID.

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.

GetAuditProfilesFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

Package Details

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

This Pulumi package is based on the oci Terraform Provider.