1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getUnifiedAuditPolicyDefinitions
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.DataSafe.getUnifiedAuditPolicyDefinitions

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

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

    Retrieves a list of all unified audit policy definitions in Data Safe.

    The ListUnifiedAuditPolicyDefinitions operation returns only the unified audit policy definitions in the specified compartmentId.

    The parameter accessLevel specifies whether to return only those compartments for which the requester 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 ListUnifiedAuditPolicyDefinitions 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 testUnifiedAuditPolicyDefinitions = oci.DataSafe.getUnifiedAuditPolicyDefinitions({
        compartmentId: compartmentId,
        accessLevel: unifiedAuditPolicyDefinitionAccessLevel,
        compartmentIdInSubtree: unifiedAuditPolicyDefinitionCompartmentIdInSubtree,
        displayName: unifiedAuditPolicyDefinitionDisplayName,
        isSeeded: unifiedAuditPolicyDefinitionIsSeeded,
        state: unifiedAuditPolicyDefinitionState,
        unifiedAuditPolicyCategory: unifiedAuditPolicyDefinitionUnifiedAuditPolicyCategory,
        unifiedAuditPolicyDefinitionId: testUnifiedAuditPolicyDefinition.id,
        unifiedAuditPolicyName: testUnifiedAuditPolicy.name,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_unified_audit_policy_definitions = oci.DataSafe.get_unified_audit_policy_definitions(compartment_id=compartment_id,
        access_level=unified_audit_policy_definition_access_level,
        compartment_id_in_subtree=unified_audit_policy_definition_compartment_id_in_subtree,
        display_name=unified_audit_policy_definition_display_name,
        is_seeded=unified_audit_policy_definition_is_seeded,
        state=unified_audit_policy_definition_state,
        unified_audit_policy_category=unified_audit_policy_definition_unified_audit_policy_category,
        unified_audit_policy_definition_id=test_unified_audit_policy_definition["id"],
        unified_audit_policy_name=test_unified_audit_policy["name"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/datasafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datasafe.GetUnifiedAuditPolicyDefinitions(ctx, &datasafe.GetUnifiedAuditPolicyDefinitionsArgs{
    			CompartmentId:                  compartmentId,
    			AccessLevel:                    pulumi.StringRef(unifiedAuditPolicyDefinitionAccessLevel),
    			CompartmentIdInSubtree:         pulumi.BoolRef(unifiedAuditPolicyDefinitionCompartmentIdInSubtree),
    			DisplayName:                    pulumi.StringRef(unifiedAuditPolicyDefinitionDisplayName),
    			IsSeeded:                       pulumi.BoolRef(unifiedAuditPolicyDefinitionIsSeeded),
    			State:                          pulumi.StringRef(unifiedAuditPolicyDefinitionState),
    			UnifiedAuditPolicyCategory:     pulumi.StringRef(unifiedAuditPolicyDefinitionUnifiedAuditPolicyCategory),
    			UnifiedAuditPolicyDefinitionId: pulumi.StringRef(testUnifiedAuditPolicyDefinition.Id),
    			UnifiedAuditPolicyName:         pulumi.StringRef(testUnifiedAuditPolicy.Name),
    		}, 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 testUnifiedAuditPolicyDefinitions = Oci.DataSafe.GetUnifiedAuditPolicyDefinitions.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = unifiedAuditPolicyDefinitionAccessLevel,
            CompartmentIdInSubtree = unifiedAuditPolicyDefinitionCompartmentIdInSubtree,
            DisplayName = unifiedAuditPolicyDefinitionDisplayName,
            IsSeeded = unifiedAuditPolicyDefinitionIsSeeded,
            State = unifiedAuditPolicyDefinitionState,
            UnifiedAuditPolicyCategory = unifiedAuditPolicyDefinitionUnifiedAuditPolicyCategory,
            UnifiedAuditPolicyDefinitionId = testUnifiedAuditPolicyDefinition.Id,
            UnifiedAuditPolicyName = testUnifiedAuditPolicy.Name,
        });
    
    });
    
    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.GetUnifiedAuditPolicyDefinitionsArgs;
    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 testUnifiedAuditPolicyDefinitions = DataSafeFunctions.getUnifiedAuditPolicyDefinitions(GetUnifiedAuditPolicyDefinitionsArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(unifiedAuditPolicyDefinitionAccessLevel)
                .compartmentIdInSubtree(unifiedAuditPolicyDefinitionCompartmentIdInSubtree)
                .displayName(unifiedAuditPolicyDefinitionDisplayName)
                .isSeeded(unifiedAuditPolicyDefinitionIsSeeded)
                .state(unifiedAuditPolicyDefinitionState)
                .unifiedAuditPolicyCategory(unifiedAuditPolicyDefinitionUnifiedAuditPolicyCategory)
                .unifiedAuditPolicyDefinitionId(testUnifiedAuditPolicyDefinition.id())
                .unifiedAuditPolicyName(testUnifiedAuditPolicy.name())
                .build());
    
        }
    }
    
    variables:
      testUnifiedAuditPolicyDefinitions:
        fn::invoke:
          function: oci:DataSafe:getUnifiedAuditPolicyDefinitions
          arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${unifiedAuditPolicyDefinitionAccessLevel}
            compartmentIdInSubtree: ${unifiedAuditPolicyDefinitionCompartmentIdInSubtree}
            displayName: ${unifiedAuditPolicyDefinitionDisplayName}
            isSeeded: ${unifiedAuditPolicyDefinitionIsSeeded}
            state: ${unifiedAuditPolicyDefinitionState}
            unifiedAuditPolicyCategory: ${unifiedAuditPolicyDefinitionUnifiedAuditPolicyCategory}
            unifiedAuditPolicyDefinitionId: ${testUnifiedAuditPolicyDefinition.id}
            unifiedAuditPolicyName: ${testUnifiedAuditPolicy.name}
    

    Using getUnifiedAuditPolicyDefinitions

    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 getUnifiedAuditPolicyDefinitions(args: GetUnifiedAuditPolicyDefinitionsArgs, opts?: InvokeOptions): Promise<GetUnifiedAuditPolicyDefinitionsResult>
    function getUnifiedAuditPolicyDefinitionsOutput(args: GetUnifiedAuditPolicyDefinitionsOutputArgs, opts?: InvokeOptions): Output<GetUnifiedAuditPolicyDefinitionsResult>
    def get_unified_audit_policy_definitions(access_level: Optional[str] = None,
                                             compartment_id: Optional[str] = None,
                                             compartment_id_in_subtree: Optional[bool] = None,
                                             display_name: Optional[str] = None,
                                             filters: Optional[Sequence[GetUnifiedAuditPolicyDefinitionsFilter]] = None,
                                             is_seeded: Optional[bool] = None,
                                             state: Optional[str] = None,
                                             unified_audit_policy_category: Optional[str] = None,
                                             unified_audit_policy_definition_id: Optional[str] = None,
                                             unified_audit_policy_name: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetUnifiedAuditPolicyDefinitionsResult
    def get_unified_audit_policy_definitions_output(access_level: 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[GetUnifiedAuditPolicyDefinitionsFilterArgs]]]] = None,
                                             is_seeded: Optional[pulumi.Input[bool]] = None,
                                             state: Optional[pulumi.Input[str]] = None,
                                             unified_audit_policy_category: Optional[pulumi.Input[str]] = None,
                                             unified_audit_policy_definition_id: Optional[pulumi.Input[str]] = None,
                                             unified_audit_policy_name: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetUnifiedAuditPolicyDefinitionsResult]
    func GetUnifiedAuditPolicyDefinitions(ctx *Context, args *GetUnifiedAuditPolicyDefinitionsArgs, opts ...InvokeOption) (*GetUnifiedAuditPolicyDefinitionsResult, error)
    func GetUnifiedAuditPolicyDefinitionsOutput(ctx *Context, args *GetUnifiedAuditPolicyDefinitionsOutputArgs, opts ...InvokeOption) GetUnifiedAuditPolicyDefinitionsResultOutput

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

    public static class GetUnifiedAuditPolicyDefinitions 
    {
        public static Task<GetUnifiedAuditPolicyDefinitionsResult> InvokeAsync(GetUnifiedAuditPolicyDefinitionsArgs args, InvokeOptions? opts = null)
        public static Output<GetUnifiedAuditPolicyDefinitionsResult> Invoke(GetUnifiedAuditPolicyDefinitionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUnifiedAuditPolicyDefinitionsResult> getUnifiedAuditPolicyDefinitions(GetUnifiedAuditPolicyDefinitionsArgs args, InvokeOptions options)
    public static Output<GetUnifiedAuditPolicyDefinitionsResult> getUnifiedAuditPolicyDefinitions(GetUnifiedAuditPolicyDefinitionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DataSafe/getUnifiedAuditPolicyDefinitions:getUnifiedAuditPolicyDefinitions
      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.
    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<GetUnifiedAuditPolicyDefinitionsFilter>
    IsSeeded bool
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    State string
    The current state of the unified audit policy definition.
    UnifiedAuditPolicyCategory string
    The category to which the unified audit policy definition belongs to.
    UnifiedAuditPolicyDefinitionId string
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    UnifiedAuditPolicyName string
    The name of the unified audit policy.
    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.
    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 []GetUnifiedAuditPolicyDefinitionsFilter
    IsSeeded bool
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    State string
    The current state of the unified audit policy definition.
    UnifiedAuditPolicyCategory string
    The category to which the unified audit policy definition belongs to.
    UnifiedAuditPolicyDefinitionId string
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    UnifiedAuditPolicyName string
    The name of the unified audit policy.
    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.
    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<GetUnifiedAuditPolicyDefinitionsFilter>
    isSeeded Boolean
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    state String
    The current state of the unified audit policy definition.
    unifiedAuditPolicyCategory String
    The category to which the unified audit policy definition belongs to.
    unifiedAuditPolicyDefinitionId String
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    unifiedAuditPolicyName String
    The name of the unified audit policy.
    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.
    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 GetUnifiedAuditPolicyDefinitionsFilter[]
    isSeeded boolean
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    state string
    The current state of the unified audit policy definition.
    unifiedAuditPolicyCategory string
    The category to which the unified audit policy definition belongs to.
    unifiedAuditPolicyDefinitionId string
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    unifiedAuditPolicyName string
    The name of the unified audit policy.
    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.
    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[GetUnifiedAuditPolicyDefinitionsFilter]
    is_seeded bool
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    state str
    The current state of the unified audit policy definition.
    unified_audit_policy_category str
    The category to which the unified audit policy definition belongs to.
    unified_audit_policy_definition_id str
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    unified_audit_policy_name str
    The name of the unified audit policy.
    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.
    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>
    isSeeded Boolean
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    state String
    The current state of the unified audit policy definition.
    unifiedAuditPolicyCategory String
    The category to which the unified audit policy definition belongs to.
    unifiedAuditPolicyDefinitionId String
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    unifiedAuditPolicyName String
    The name of the unified audit policy.

    getUnifiedAuditPolicyDefinitions Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment containing the unified audit policy definition.
    Id string
    The provider-assigned unique ID for this managed resource.
    UnifiedAuditPolicyDefinitionCollections List<GetUnifiedAuditPolicyDefinitionsUnifiedAuditPolicyDefinitionCollection>
    The list of unified_audit_policy_definition_collection.
    AccessLevel string
    CompartmentIdInSubtree bool
    DisplayName string
    The display name of the unified audit policy definition.
    Filters List<GetUnifiedAuditPolicyDefinitionsFilter>
    IsSeeded bool
    Signifies whether the unified audit policy definition is seeded or not.
    State string
    The current state of the unified audit policy definition.
    UnifiedAuditPolicyCategory string
    UnifiedAuditPolicyDefinitionId string
    UnifiedAuditPolicyName string
    CompartmentId string
    The OCID of the compartment containing the unified audit policy definition.
    Id string
    The provider-assigned unique ID for this managed resource.
    UnifiedAuditPolicyDefinitionCollections []GetUnifiedAuditPolicyDefinitionsUnifiedAuditPolicyDefinitionCollection
    The list of unified_audit_policy_definition_collection.
    AccessLevel string
    CompartmentIdInSubtree bool
    DisplayName string
    The display name of the unified audit policy definition.
    Filters []GetUnifiedAuditPolicyDefinitionsFilter
    IsSeeded bool
    Signifies whether the unified audit policy definition is seeded or not.
    State string
    The current state of the unified audit policy definition.
    UnifiedAuditPolicyCategory string
    UnifiedAuditPolicyDefinitionId string
    UnifiedAuditPolicyName string
    compartmentId String
    The OCID of the compartment containing the unified audit policy definition.
    id String
    The provider-assigned unique ID for this managed resource.
    unifiedAuditPolicyDefinitionCollections List<GetUnifiedAuditPolicyDefinitionsUnifiedAuditPolicyDefinitionCollection>
    The list of unified_audit_policy_definition_collection.
    accessLevel String
    compartmentIdInSubtree Boolean
    displayName String
    The display name of the unified audit policy definition.
    filters List<GetUnifiedAuditPolicyDefinitionsFilter>
    isSeeded Boolean
    Signifies whether the unified audit policy definition is seeded or not.
    state String
    The current state of the unified audit policy definition.
    unifiedAuditPolicyCategory String
    unifiedAuditPolicyDefinitionId String
    unifiedAuditPolicyName String
    compartmentId string
    The OCID of the compartment containing the unified audit policy definition.
    id string
    The provider-assigned unique ID for this managed resource.
    unifiedAuditPolicyDefinitionCollections GetUnifiedAuditPolicyDefinitionsUnifiedAuditPolicyDefinitionCollection[]
    The list of unified_audit_policy_definition_collection.
    accessLevel string
    compartmentIdInSubtree boolean
    displayName string
    The display name of the unified audit policy definition.
    filters GetUnifiedAuditPolicyDefinitionsFilter[]
    isSeeded boolean
    Signifies whether the unified audit policy definition is seeded or not.
    state string
    The current state of the unified audit policy definition.
    unifiedAuditPolicyCategory string
    unifiedAuditPolicyDefinitionId string
    unifiedAuditPolicyName string
    compartment_id str
    The OCID of the compartment containing the unified audit policy definition.
    id str
    The provider-assigned unique ID for this managed resource.
    unified_audit_policy_definition_collections Sequence[GetUnifiedAuditPolicyDefinitionsUnifiedAuditPolicyDefinitionCollection]
    The list of unified_audit_policy_definition_collection.
    access_level str
    compartment_id_in_subtree bool
    display_name str
    The display name of the unified audit policy definition.
    filters Sequence[GetUnifiedAuditPolicyDefinitionsFilter]
    is_seeded bool
    Signifies whether the unified audit policy definition is seeded or not.
    state str
    The current state of the unified audit policy definition.
    unified_audit_policy_category str
    unified_audit_policy_definition_id str
    unified_audit_policy_name str
    compartmentId String
    The OCID of the compartment containing the unified audit policy definition.
    id String
    The provider-assigned unique ID for this managed resource.
    unifiedAuditPolicyDefinitionCollections List<Property Map>
    The list of unified_audit_policy_definition_collection.
    accessLevel String
    compartmentIdInSubtree Boolean
    displayName String
    The display name of the unified audit policy definition.
    filters List<Property Map>
    isSeeded Boolean
    Signifies whether the unified audit policy definition is seeded or not.
    state String
    The current state of the unified audit policy definition.
    unifiedAuditPolicyCategory String
    unifiedAuditPolicyDefinitionId String
    unifiedAuditPolicyName String

    Supporting Types

    GetUnifiedAuditPolicyDefinitionsFilter

    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

    GetUnifiedAuditPolicyDefinitionsUnifiedAuditPolicyDefinitionCollection

    GetUnifiedAuditPolicyDefinitionsUnifiedAuditPolicyDefinitionCollectionItem

    AuditPolicyCategory string
    The category to which the unified audit policy belongs in the target database.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the unified audit policy definition.
    DisplayName string
    A filter to return only resources that match the specified display name.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of the unified audit policy definition.
    IsSeeded bool
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    LifecycleDetails string
    Details about the current state of the unified audit policy definition.
    PolicyDefinitionStatement string
    The definition of the unified audit policy to be provisioned in the target database.
    PolicyName string
    The unified audit policy name in the target database.
    State string
    The current state of the unified audit policy definition.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the unified audit policy was created, in the format defined by RFC3339.
    TimeUpdated string
    The last date and time the unified audit policy was updated, in the format defined by RFC3339.
    UnifiedAuditPolicyDefinitionId string
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    AuditPolicyCategory string
    The category to which the unified audit policy belongs in the target database.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the unified audit policy definition.
    DisplayName string
    A filter to return only resources that match the specified display name.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of the unified audit policy definition.
    IsSeeded bool
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    LifecycleDetails string
    Details about the current state of the unified audit policy definition.
    PolicyDefinitionStatement string
    The definition of the unified audit policy to be provisioned in the target database.
    PolicyName string
    The unified audit policy name in the target database.
    State string
    The current state of the unified audit policy definition.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the unified audit policy was created, in the format defined by RFC3339.
    TimeUpdated string
    The last date and time the unified audit policy was updated, in the format defined by RFC3339.
    UnifiedAuditPolicyDefinitionId string
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    auditPolicyCategory String
    The category to which the unified audit policy belongs in the target database.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the unified audit policy definition.
    displayName String
    A filter to return only resources that match the specified display name.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of the unified audit policy definition.
    isSeeded Boolean
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    lifecycleDetails String
    Details about the current state of the unified audit policy definition.
    policyDefinitionStatement String
    The definition of the unified audit policy to be provisioned in the target database.
    policyName String
    The unified audit policy name in the target database.
    state String
    The current state of the unified audit policy definition.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the unified audit policy was created, in the format defined by RFC3339.
    timeUpdated String
    The last date and time the unified audit policy was updated, in the format defined by RFC3339.
    unifiedAuditPolicyDefinitionId String
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    auditPolicyCategory string
    The category to which the unified audit policy belongs in the target database.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    The description of the unified audit policy definition.
    displayName string
    A filter to return only resources that match the specified display name.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id string
    The OCID of the unified audit policy definition.
    isSeeded boolean
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    lifecycleDetails string
    Details about the current state of the unified audit policy definition.
    policyDefinitionStatement string
    The definition of the unified audit policy to be provisioned in the target database.
    policyName string
    The unified audit policy name in the target database.
    state string
    The current state of the unified audit policy definition.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the unified audit policy was created, in the format defined by RFC3339.
    timeUpdated string
    The last date and time the unified audit policy was updated, in the format defined by RFC3339.
    unifiedAuditPolicyDefinitionId string
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    audit_policy_category str
    The category to which the unified audit policy belongs in the target database.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    The description of the unified audit policy definition.
    display_name str
    A filter to return only resources that match the specified display name.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id str
    The OCID of the unified audit policy definition.
    is_seeded bool
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    lifecycle_details str
    Details about the current state of the unified audit policy definition.
    policy_definition_statement str
    The definition of the unified audit policy to be provisioned in the target database.
    policy_name str
    The unified audit policy name in the target database.
    state str
    The current state of the unified audit policy definition.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time the unified audit policy was created, in the format defined by RFC3339.
    time_updated str
    The last date and time the unified audit policy was updated, in the format defined by RFC3339.
    unified_audit_policy_definition_id str
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
    auditPolicyCategory String
    The category to which the unified audit policy belongs in the target database.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the unified audit policy definition.
    displayName String
    A filter to return only resources that match the specified display name.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of the unified audit policy definition.
    isSeeded Boolean
    A boolean flag indicating to list seeded unified audit policy definitions. Set this parameter to get list of seeded unified audit policy definitions.
    lifecycleDetails String
    Details about the current state of the unified audit policy definition.
    policyDefinitionStatement String
    The definition of the unified audit policy to be provisioned in the target database.
    policyName String
    The unified audit policy name in the target database.
    state String
    The current state of the unified audit policy definition.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the unified audit policy was created, in the format defined by RFC3339.
    timeUpdated String
    The last date and time the unified audit policy was updated, in the format defined by RFC3339.
    unifiedAuditPolicyDefinitionId String
    An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.

    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 v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi