1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getAuditProfiles
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.DataSafe.getAuditProfiles

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAuditProfiles = oci.DataSafe.getAuditProfiles({
        compartmentId: compartmentId,
        accessLevel: auditProfileAccessLevel,
        auditCollectedVolumeGreaterThanOrEqualTo: auditProfileAuditCollectedVolumeGreaterThanOrEqualTo,
        auditProfileId: testAuditProfile.id,
        compartmentIdInSubtree: auditProfileCompartmentIdInSubtree,
        displayName: auditProfileDisplayName,
        isOverrideGlobalRetentionSetting: auditProfileIsOverrideGlobalRetentionSetting,
        isPaidUsageEnabled: auditProfileIsPaidUsageEnabled,
        state: auditProfileState,
        targetId: testTarget.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_audit_profiles = oci.DataSafe.get_audit_profiles(compartment_id=compartment_id,
        access_level=audit_profile_access_level,
        audit_collected_volume_greater_than_or_equal_to=audit_profile_audit_collected_volume_greater_than_or_equal_to,
        audit_profile_id=test_audit_profile["id"],
        compartment_id_in_subtree=audit_profile_compartment_id_in_subtree,
        display_name=audit_profile_display_name,
        is_override_global_retention_setting=audit_profile_is_override_global_retention_setting,
        is_paid_usage_enabled=audit_profile_is_paid_usage_enabled,
        state=audit_profile_state,
        target_id=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:                            compartmentId,
    			AccessLevel:                              pulumi.StringRef(auditProfileAccessLevel),
    			AuditCollectedVolumeGreaterThanOrEqualTo: pulumi.StringRef(auditProfileAuditCollectedVolumeGreaterThanOrEqualTo),
    			AuditProfileId:                           pulumi.StringRef(testAuditProfile.Id),
    			CompartmentIdInSubtree:                   pulumi.BoolRef(auditProfileCompartmentIdInSubtree),
    			DisplayName:                              pulumi.StringRef(auditProfileDisplayName),
    			IsOverrideGlobalRetentionSetting:         pulumi.BoolRef(auditProfileIsOverrideGlobalRetentionSetting),
    			IsPaidUsageEnabled:                       pulumi.BoolRef(auditProfileIsPaidUsageEnabled),
    			State:                                    pulumi.StringRef(auditProfileState),
    			TargetId:                                 pulumi.StringRef(testTarget.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testAuditProfiles = Oci.DataSafe.GetAuditProfiles.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = auditProfileAccessLevel,
            AuditCollectedVolumeGreaterThanOrEqualTo = auditProfileAuditCollectedVolumeGreaterThanOrEqualTo,
            AuditProfileId = testAuditProfile.Id,
            CompartmentIdInSubtree = auditProfileCompartmentIdInSubtree,
            DisplayName = auditProfileDisplayName,
            IsOverrideGlobalRetentionSetting = auditProfileIsOverrideGlobalRetentionSetting,
            IsPaidUsageEnabled = auditProfileIsPaidUsageEnabled,
            State = auditProfileState,
            TargetId = testTarget.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetAuditProfilesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testAuditProfiles = DataSafeFunctions.getAuditProfiles(GetAuditProfilesArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(auditProfileAccessLevel)
                .auditCollectedVolumeGreaterThanOrEqualTo(auditProfileAuditCollectedVolumeGreaterThanOrEqualTo)
                .auditProfileId(testAuditProfile.id())
                .compartmentIdInSubtree(auditProfileCompartmentIdInSubtree)
                .displayName(auditProfileDisplayName)
                .isOverrideGlobalRetentionSetting(auditProfileIsOverrideGlobalRetentionSetting)
                .isPaidUsageEnabled(auditProfileIsPaidUsageEnabled)
                .state(auditProfileState)
                .targetId(testTarget.id())
                .build());
    
        }
    }
    
    variables:
      testAuditProfiles:
        fn::invoke:
          Function: oci:DataSafe:getAuditProfiles
          Arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${auditProfileAccessLevel}
            auditCollectedVolumeGreaterThanOrEqualTo: ${auditProfileAuditCollectedVolumeGreaterThanOrEqualTo}
            auditProfileId: ${testAuditProfile.id}
            compartmentIdInSubtree: ${auditProfileCompartmentIdInSubtree}
            displayName: ${auditProfileDisplayName}
            isOverrideGlobalRetentionSetting: ${auditProfileIsOverrideGlobalRetentionSetting}
            isPaidUsageEnabled: ${auditProfileIsPaidUsageEnabled}
            state: ${auditProfileState}
            targetId: ${testTarget.id}
    

    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 Sequence[datasafe.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 Sequence[datasafe.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 Sequence[datasafe.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 Sequence[datasafe.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.
    PeerTargetDatabaseKey int
    The secondary id assigned for the peer database registered with Data Safe.
    PurgeJobDetails string
    The details of the audit trail purge job that ran on the "purgeJobTime".
    PurgeJobStatus string
    The current status of the audit trail purge job.
    PurgeJobTime string
    The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
    State 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.
    TimeLastCollected string
    The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the audit profile was updated, in the format defined by RFC3339.
    TrailLocation string
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    TrailSource string
    The underlying source of unified audit trail.
    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.
    PeerTargetDatabaseKey int
    The secondary id assigned for the peer database registered with Data Safe.
    PurgeJobDetails string
    The details of the audit trail purge job that ran on the "purgeJobTime".
    PurgeJobStatus string
    The current status of the audit trail purge job.
    PurgeJobTime string
    The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
    State 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.
    TimeLastCollected string
    The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the audit profile was updated, in the format defined by RFC3339.
    TrailLocation string
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    TrailSource string
    The underlying source of unified audit trail.
    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.
    peerTargetDatabaseKey Integer
    The secondary id assigned for the peer database registered with Data Safe.
    purgeJobDetails String
    The details of the audit trail purge job that ran on the "purgeJobTime".
    purgeJobStatus String
    The current status of the audit trail purge job.
    purgeJobTime String
    The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
    state 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.
    timeLastCollected String
    The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
    timeUpdated String
    The date and time the audit profile was updated, in the format defined by RFC3339.
    trailLocation String
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    trailSource String
    The underlying source of unified audit trail.
    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.
    peerTargetDatabaseKey number
    The secondary id assigned for the peer database registered with Data Safe.
    purgeJobDetails string
    The details of the audit trail purge job that ran on the "purgeJobTime".
    purgeJobStatus string
    The current status of the audit trail purge job.
    purgeJobTime string
    The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
    state 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.
    timeLastCollected string
    The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
    timeUpdated string
    The date and time the audit profile was updated, in the format defined by RFC3339.
    trailLocation string
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    trailSource string
    The underlying source of unified audit trail.
    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.
    peer_target_database_key int
    The secondary id assigned for the peer database registered with Data Safe.
    purge_job_details str
    The details of the audit trail purge job that ran on the "purgeJobTime".
    purge_job_status str
    The current status of the audit trail purge job.
    purge_job_time str
    The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
    state 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_last_collected str
    The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
    time_updated str
    The date and time the audit profile was updated, in the format defined by RFC3339.
    trail_location str
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    trail_source str
    The underlying source of unified audit trail.
    work_request_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.
    peerTargetDatabaseKey Number
    The secondary id assigned for the peer database registered with Data Safe.
    purgeJobDetails String
    The details of the audit trail purge job that ran on the "purgeJobTime".
    purgeJobStatus String
    The current status of the audit trail purge job.
    purgeJobTime String
    The date and time of the last purge job, which deletes audit data in the target database every seven days so that the database's audit trail does not become too large. In the format defined by RFC3339.
    state 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.
    timeLastCollected String
    The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
    timeUpdated String
    The date and time the audit profile was updated, in the format defined by RFC3339.
    trailLocation String
    An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
    trailSource String
    The underlying source of unified audit trail.
    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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi