oci.DataSafe.getUnifiedAuditPolicies
Explore with Pulumi AI
This data source provides the list of Unified Audit Policies in Oracle Cloud Infrastructure Data Safe service.
Retrieves a list of all Unified Audit policies.
The ListUnifiedAuditPolicies operation returns only the Unified Audit policies 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 sub-compartment) 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 ListUnifiedAuditPolicies 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 sub-compartments 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 testUnifiedAuditPolicies = oci.DataSafe.getUnifiedAuditPolicies({
compartmentId: compartmentId,
accessLevel: unifiedAuditPolicyAccessLevel,
compartmentIdInSubtree: unifiedAuditPolicyCompartmentIdInSubtree,
displayName: unifiedAuditPolicyDisplayName,
isSeeded: unifiedAuditPolicyIsSeeded,
securityPolicyId: testSecurityPolicy.id,
state: unifiedAuditPolicyState,
timeCreatedGreaterThanOrEqualTo: unifiedAuditPolicyTimeCreatedGreaterThanOrEqualTo,
timeCreatedLessThan: unifiedAuditPolicyTimeCreatedLessThan,
unifiedAuditPolicyDefinitionId: testUnifiedAuditPolicyDefinition.id,
unifiedAuditPolicyId: testUnifiedAuditPolicy.id,
});
import pulumi
import pulumi_oci as oci
test_unified_audit_policies = oci.DataSafe.get_unified_audit_policies(compartment_id=compartment_id,
access_level=unified_audit_policy_access_level,
compartment_id_in_subtree=unified_audit_policy_compartment_id_in_subtree,
display_name=unified_audit_policy_display_name,
is_seeded=unified_audit_policy_is_seeded,
security_policy_id=test_security_policy["id"],
state=unified_audit_policy_state,
time_created_greater_than_or_equal_to=unified_audit_policy_time_created_greater_than_or_equal_to,
time_created_less_than=unified_audit_policy_time_created_less_than,
unified_audit_policy_definition_id=test_unified_audit_policy_definition["id"],
unified_audit_policy_id=test_unified_audit_policy["id"])
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.GetUnifiedAuditPolicies(ctx, &datasafe.GetUnifiedAuditPoliciesArgs{
CompartmentId: compartmentId,
AccessLevel: pulumi.StringRef(unifiedAuditPolicyAccessLevel),
CompartmentIdInSubtree: pulumi.BoolRef(unifiedAuditPolicyCompartmentIdInSubtree),
DisplayName: pulumi.StringRef(unifiedAuditPolicyDisplayName),
IsSeeded: pulumi.BoolRef(unifiedAuditPolicyIsSeeded),
SecurityPolicyId: pulumi.StringRef(testSecurityPolicy.Id),
State: pulumi.StringRef(unifiedAuditPolicyState),
TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(unifiedAuditPolicyTimeCreatedGreaterThanOrEqualTo),
TimeCreatedLessThan: pulumi.StringRef(unifiedAuditPolicyTimeCreatedLessThan),
UnifiedAuditPolicyDefinitionId: pulumi.StringRef(testUnifiedAuditPolicyDefinition.Id),
UnifiedAuditPolicyId: pulumi.StringRef(testUnifiedAuditPolicy.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 testUnifiedAuditPolicies = Oci.DataSafe.GetUnifiedAuditPolicies.Invoke(new()
{
CompartmentId = compartmentId,
AccessLevel = unifiedAuditPolicyAccessLevel,
CompartmentIdInSubtree = unifiedAuditPolicyCompartmentIdInSubtree,
DisplayName = unifiedAuditPolicyDisplayName,
IsSeeded = unifiedAuditPolicyIsSeeded,
SecurityPolicyId = testSecurityPolicy.Id,
State = unifiedAuditPolicyState,
TimeCreatedGreaterThanOrEqualTo = unifiedAuditPolicyTimeCreatedGreaterThanOrEqualTo,
TimeCreatedLessThan = unifiedAuditPolicyTimeCreatedLessThan,
UnifiedAuditPolicyDefinitionId = testUnifiedAuditPolicyDefinition.Id,
UnifiedAuditPolicyId = testUnifiedAuditPolicy.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.GetUnifiedAuditPoliciesArgs;
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 testUnifiedAuditPolicies = DataSafeFunctions.getUnifiedAuditPolicies(GetUnifiedAuditPoliciesArgs.builder()
.compartmentId(compartmentId)
.accessLevel(unifiedAuditPolicyAccessLevel)
.compartmentIdInSubtree(unifiedAuditPolicyCompartmentIdInSubtree)
.displayName(unifiedAuditPolicyDisplayName)
.isSeeded(unifiedAuditPolicyIsSeeded)
.securityPolicyId(testSecurityPolicy.id())
.state(unifiedAuditPolicyState)
.timeCreatedGreaterThanOrEqualTo(unifiedAuditPolicyTimeCreatedGreaterThanOrEqualTo)
.timeCreatedLessThan(unifiedAuditPolicyTimeCreatedLessThan)
.unifiedAuditPolicyDefinitionId(testUnifiedAuditPolicyDefinition.id())
.unifiedAuditPolicyId(testUnifiedAuditPolicy.id())
.build());
}
}
variables:
testUnifiedAuditPolicies:
fn::invoke:
function: oci:DataSafe:getUnifiedAuditPolicies
arguments:
compartmentId: ${compartmentId}
accessLevel: ${unifiedAuditPolicyAccessLevel}
compartmentIdInSubtree: ${unifiedAuditPolicyCompartmentIdInSubtree}
displayName: ${unifiedAuditPolicyDisplayName}
isSeeded: ${unifiedAuditPolicyIsSeeded}
securityPolicyId: ${testSecurityPolicy.id}
state: ${unifiedAuditPolicyState}
timeCreatedGreaterThanOrEqualTo: ${unifiedAuditPolicyTimeCreatedGreaterThanOrEqualTo}
timeCreatedLessThan: ${unifiedAuditPolicyTimeCreatedLessThan}
unifiedAuditPolicyDefinitionId: ${testUnifiedAuditPolicyDefinition.id}
unifiedAuditPolicyId: ${testUnifiedAuditPolicy.id}
Using getUnifiedAuditPolicies
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 getUnifiedAuditPolicies(args: GetUnifiedAuditPoliciesArgs, opts?: InvokeOptions): Promise<GetUnifiedAuditPoliciesResult>
function getUnifiedAuditPoliciesOutput(args: GetUnifiedAuditPoliciesOutputArgs, opts?: InvokeOptions): Output<GetUnifiedAuditPoliciesResult>
def get_unified_audit_policies(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[GetUnifiedAuditPoliciesFilter]] = None,
is_seeded: Optional[bool] = None,
security_policy_id: Optional[str] = None,
state: Optional[str] = None,
time_created_greater_than_or_equal_to: Optional[str] = None,
time_created_less_than: Optional[str] = None,
unified_audit_policy_definition_id: Optional[str] = None,
unified_audit_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUnifiedAuditPoliciesResult
def get_unified_audit_policies_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[GetUnifiedAuditPoliciesFilterArgs]]]] = None,
is_seeded: Optional[pulumi.Input[bool]] = None,
security_policy_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_created_less_than: Optional[pulumi.Input[str]] = None,
unified_audit_policy_definition_id: Optional[pulumi.Input[str]] = None,
unified_audit_policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUnifiedAuditPoliciesResult]
func GetUnifiedAuditPolicies(ctx *Context, args *GetUnifiedAuditPoliciesArgs, opts ...InvokeOption) (*GetUnifiedAuditPoliciesResult, error)
func GetUnifiedAuditPoliciesOutput(ctx *Context, args *GetUnifiedAuditPoliciesOutputArgs, opts ...InvokeOption) GetUnifiedAuditPoliciesResultOutput
> Note: This function is named GetUnifiedAuditPolicies
in the Go SDK.
public static class GetUnifiedAuditPolicies
{
public static Task<GetUnifiedAuditPoliciesResult> InvokeAsync(GetUnifiedAuditPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetUnifiedAuditPoliciesResult> Invoke(GetUnifiedAuditPoliciesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUnifiedAuditPoliciesResult> getUnifiedAuditPolicies(GetUnifiedAuditPoliciesArgs args, InvokeOptions options)
public static Output<GetUnifiedAuditPoliciesResult> getUnifiedAuditPolicies(GetUnifiedAuditPoliciesArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getUnifiedAuditPolicies:getUnifiedAuditPolicies
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level 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.
- Compartment
Id boolIn Subtree - 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 string - A filter to return only resources that match the specified display name.
- Filters
List<Get
Unified Audit Policies Filter> - Is
Seeded bool - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- Security
Policy stringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- State string
- The current state of the Unified Audit policy.
- Time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- Time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- Unified
Audit stringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- Unified
Audit stringPolicy Id - An optional filter to return only resources that match the specified OCID of the Unified Audit policy resource.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level 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.
- Compartment
Id boolIn Subtree - 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 string - A filter to return only resources that match the specified display name.
- Filters
[]Get
Unified Audit Policies Filter - Is
Seeded bool - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- Security
Policy stringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- State string
- The current state of the Unified Audit policy.
- Time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- Time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- Unified
Audit stringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- Unified
Audit stringPolicy Id - An optional filter to return only resources that match the specified OCID of the Unified Audit policy resource.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- access
Level 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.
- compartment
Id BooleanIn Subtree - 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 String - A filter to return only resources that match the specified display name.
- filters
List<Get
Unified Audit Policies Filter> - is
Seeded Boolean - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- security
Policy StringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- state String
- The current state of the Unified Audit policy.
- time
Created StringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created StringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- unified
Audit StringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- unified
Audit StringPolicy Id - An optional filter to return only resources that match the specified OCID of the Unified Audit policy resource.
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- access
Level 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.
- compartment
Id booleanIn Subtree - 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 string - A filter to return only resources that match the specified display name.
- filters
Get
Unified Audit Policies Filter[] - is
Seeded boolean - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- security
Policy stringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- state string
- The current state of the Unified Audit policy.
- time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- unified
Audit stringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- unified
Audit stringPolicy Id - An optional filter to return only resources that match the specified OCID of the Unified Audit policy resource.
- 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_ boolin_ subtree - 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[Get
Unified Audit Policies Filter] - is_
seeded bool - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- security_
policy_ strid - An optional filter to return only resources that match the specified OCID of the security policy resource.
- state str
- The current state of the Unified Audit policy.
- time_
created_ strgreater_ than_ or_ equal_ to A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time_
created_ strless_ than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- unified_
audit_ strpolicy_ definition_ id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- unified_
audit_ strpolicy_ id - An optional filter to return only resources that match the specified OCID of the Unified Audit policy resource.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- access
Level 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.
- compartment
Id BooleanIn Subtree - 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 String - A filter to return only resources that match the specified display name.
- filters List<Property Map>
- is
Seeded Boolean - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- security
Policy StringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- state String
- The current state of the Unified Audit policy.
- time
Created StringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created StringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- unified
Audit StringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- unified
Audit StringPolicy Id - An optional filter to return only resources that match the specified OCID of the Unified Audit policy resource.
getUnifiedAuditPolicies Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the unified audit policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Unified
Audit List<GetPolicy Collections Unified Audit Policies Unified Audit Policy Collection> - The list of unified_audit_policy_collection.
- Access
Level string - Compartment
Id boolIn Subtree - Display
Name string - The display name of the unified audit policy.
- Filters
List<Get
Unified Audit Policies Filter> - Is
Seeded bool - Indicates whether the unified audit policy is seeded or not.
- Security
Policy stringId - The OCID of the security policy corresponding to the unified audit policy.
- State string
- The current state of the unified audit policy.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than - Unified
Audit stringPolicy Definition Id - The OCID of the associated unified audit policy definition.
- Unified
Audit stringPolicy Id
- Compartment
Id string - The OCID of the compartment containing the unified audit policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Unified
Audit []GetPolicy Collections Unified Audit Policies Unified Audit Policy Collection - The list of unified_audit_policy_collection.
- Access
Level string - Compartment
Id boolIn Subtree - Display
Name string - The display name of the unified audit policy.
- Filters
[]Get
Unified Audit Policies Filter - Is
Seeded bool - Indicates whether the unified audit policy is seeded or not.
- Security
Policy stringId - The OCID of the security policy corresponding to the unified audit policy.
- State string
- The current state of the unified audit policy.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than - Unified
Audit stringPolicy Definition Id - The OCID of the associated unified audit policy definition.
- Unified
Audit stringPolicy Id
- compartment
Id String - The OCID of the compartment containing the unified audit policy.
- id String
- The provider-assigned unique ID for this managed resource.
- unified
Audit List<GetPolicy Collections Unified Audit Policies Unified Audit Policy Collection> - The list of unified_audit_policy_collection.
- access
Level String - compartment
Id BooleanIn Subtree - display
Name String - The display name of the unified audit policy.
- filters
List<Get
Unified Audit Policies Filter> - is
Seeded Boolean - Indicates whether the unified audit policy is seeded or not.
- security
Policy StringId - The OCID of the security policy corresponding to the unified audit policy.
- state String
- The current state of the unified audit policy.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than - unified
Audit StringPolicy Definition Id - The OCID of the associated unified audit policy definition.
- unified
Audit StringPolicy Id
- compartment
Id string - The OCID of the compartment containing the unified audit policy.
- id string
- The provider-assigned unique ID for this managed resource.
- unified
Audit GetPolicy Collections Unified Audit Policies Unified Audit Policy Collection[] - The list of unified_audit_policy_collection.
- access
Level string - compartment
Id booleanIn Subtree - display
Name string - The display name of the unified audit policy.
- filters
Get
Unified Audit Policies Filter[] - is
Seeded boolean - Indicates whether the unified audit policy is seeded or not.
- security
Policy stringId - The OCID of the security policy corresponding to the unified audit policy.
- state string
- The current state of the unified audit policy.
- time
Created stringGreater Than Or Equal To - time
Created stringLess Than - unified
Audit stringPolicy Definition Id - The OCID of the associated unified audit policy definition.
- unified
Audit stringPolicy Id
- compartment_
id str - The OCID of the compartment containing the unified audit policy.
- id str
- The provider-assigned unique ID for this managed resource.
- unified_
audit_ Sequence[Getpolicy_ collections Unified Audit Policies Unified Audit Policy Collection] - The list of unified_audit_policy_collection.
- access_
level str - compartment_
id_ boolin_ subtree - display_
name str - The display name of the unified audit policy.
- filters
Sequence[Get
Unified Audit Policies Filter] - is_
seeded bool - Indicates whether the unified audit policy is seeded or not.
- security_
policy_ strid - The OCID of the security policy corresponding to the unified audit policy.
- state str
- The current state of the unified audit policy.
- time_
created_ strgreater_ than_ or_ equal_ to - time_
created_ strless_ than - unified_
audit_ strpolicy_ definition_ id - The OCID of the associated unified audit policy definition.
- unified_
audit_ strpolicy_ id
- compartment
Id String - The OCID of the compartment containing the unified audit policy.
- id String
- The provider-assigned unique ID for this managed resource.
- unified
Audit List<Property Map>Policy Collections - The list of unified_audit_policy_collection.
- access
Level String - compartment
Id BooleanIn Subtree - display
Name String - The display name of the unified audit policy.
- filters List<Property Map>
- is
Seeded Boolean - Indicates whether the unified audit policy is seeded or not.
- security
Policy StringId - The OCID of the security policy corresponding to the unified audit policy.
- state String
- The current state of the unified audit policy.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than - unified
Audit StringPolicy Definition Id - The OCID of the associated unified audit policy definition.
- unified
Audit StringPolicy Id
Supporting Types
GetUnifiedAuditPoliciesFilter
GetUnifiedAuditPoliciesUnifiedAuditPolicyCollection
GetUnifiedAuditPoliciesUnifiedAuditPolicyCollectionItem
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Conditions
List<Get
Unified Audit Policies Unified Audit Policy Collection Item Condition> - Lists the audit policy provisioning conditions.
- 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.
- Display
Name string - A filter to return only resources that match the specified display name.
- Enabled
Entities string - Indicates on whom the audit policy is enabled.
- 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.
- Is
Seeded bool - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- Lifecycle
Details string - The details of the current state of the unified audit policy in Data Safe.
- Security
Policy stringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- State string
- The current state of the Unified Audit policy.
- Status string
- Indicates whether the policy has been enabled or disabled.
- 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"}
- Time
Created string - The time the the unified audit policy was created, in the format defined by RFC3339.
- Time
Updated string - The last date and time the unified audit policy was updated, in the format defined by RFC3339.
- Unified
Audit stringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Conditions
[]Get
Unified Audit Policies Unified Audit Policy Collection Item Condition - Lists the audit policy provisioning conditions.
- 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.
- Display
Name string - A filter to return only resources that match the specified display name.
- Enabled
Entities string - Indicates on whom the audit policy is enabled.
- 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.
- Is
Seeded bool - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- Lifecycle
Details string - The details of the current state of the unified audit policy in Data Safe.
- Security
Policy stringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- State string
- The current state of the Unified Audit policy.
- Status string
- Indicates whether the policy has been enabled or disabled.
- 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"}
- Time
Created string - The time the the unified audit policy was created, in the format defined by RFC3339.
- Time
Updated string - The last date and time the unified audit policy was updated, in the format defined by RFC3339.
- Unified
Audit stringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- conditions
List<Get
Unified Audit Policies Unified Audit Policy Collection Item Condition> - Lists the audit policy provisioning conditions.
- 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.
- display
Name String - A filter to return only resources that match the specified display name.
- enabled
Entities String - Indicates on whom the audit policy is enabled.
- 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.
- is
Seeded Boolean - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- lifecycle
Details String - The details of the current state of the unified audit policy in Data Safe.
- security
Policy StringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- state String
- The current state of the Unified Audit policy.
- status String
- Indicates whether the policy has been enabled or disabled.
- 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"}
- time
Created String - The time the the unified audit policy was created, in the format defined by RFC3339.
- time
Updated String - The last date and time the unified audit policy was updated, in the format defined by RFC3339.
- unified
Audit StringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- conditions
Get
Unified Audit Policies Unified Audit Policy Collection Item Condition[] - Lists the audit policy provisioning conditions.
- {[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.
- display
Name string - A filter to return only resources that match the specified display name.
- enabled
Entities string - Indicates on whom the audit policy is enabled.
- {[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.
- is
Seeded boolean - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- lifecycle
Details string - The details of the current state of the unified audit policy in Data Safe.
- security
Policy stringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- state string
- The current state of the Unified Audit policy.
- status string
- Indicates whether the policy has been enabled or disabled.
- {[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"}
- time
Created string - The time the the unified audit policy was created, in the format defined by RFC3339.
- time
Updated string - The last date and time the unified audit policy was updated, in the format defined by RFC3339.
- unified
Audit stringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- compartment_
id str - A filter to return only resources that match the specified compartment OCID.
- conditions
Sequence[Get
Unified Audit Policies Unified Audit Policy Collection Item Condition] - Lists the audit policy provisioning conditions.
- 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.
- display_
name str - A filter to return only resources that match the specified display name.
- enabled_
entities str - Indicates on whom the audit policy is enabled.
- 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.
- is_
seeded bool - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- lifecycle_
details str - The details of the current state of the unified audit policy in Data Safe.
- security_
policy_ strid - An optional filter to return only resources that match the specified OCID of the security policy resource.
- state str
- The current state of the Unified Audit policy.
- status str
- Indicates whether the policy has been enabled or disabled.
- 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 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_ strpolicy_ definition_ id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- conditions List<Property Map>
- Lists the audit policy provisioning conditions.
- 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.
- display
Name String - A filter to return only resources that match the specified display name.
- enabled
Entities String - Indicates on whom the audit policy is enabled.
- 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.
- is
Seeded Boolean - A boolean flag indicating to list seeded unified audit policies. Set this parameter to get list of seeded unified audit policies.
- lifecycle
Details String - The details of the current state of the unified audit policy in Data Safe.
- security
Policy StringId - An optional filter to return only resources that match the specified OCID of the security policy resource.
- state String
- The current state of the Unified Audit policy.
- status String
- Indicates whether the policy has been enabled or disabled.
- 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"}
- time
Created String - The time the the unified audit policy was created, in the format defined by RFC3339.
- time
Updated String - The last date and time the unified audit policy was updated, in the format defined by RFC3339.
- unified
Audit StringPolicy Definition Id - An optional filter to return only resources that match the specified OCID of the unified audit policy definition resource.
GetUnifiedAuditPoliciesUnifiedAuditPolicyCollectionItemCondition
- Attribute
Set stringId - The OCID of the attribute set.
- Entity
Selection string - Specifies whether to include or exclude the specified users or roles.
- Entity
Type string - The type of users or roles that the unified audit policy is applied to.
- Operation
Status string - The operation status that the policy must be enabled for.
- Role
Names List<string> - List of roles that the policy must be enabled for.
- User
Names List<string> - The list of users that the unified audit policy is enabled for.
- Attribute
Set stringId - The OCID of the attribute set.
- Entity
Selection string - Specifies whether to include or exclude the specified users or roles.
- Entity
Type string - The type of users or roles that the unified audit policy is applied to.
- Operation
Status string - The operation status that the policy must be enabled for.
- Role
Names []string - List of roles that the policy must be enabled for.
- User
Names []string - The list of users that the unified audit policy is enabled for.
- attribute
Set StringId - The OCID of the attribute set.
- entity
Selection String - Specifies whether to include or exclude the specified users or roles.
- entity
Type String - The type of users or roles that the unified audit policy is applied to.
- operation
Status String - The operation status that the policy must be enabled for.
- role
Names List<String> - List of roles that the policy must be enabled for.
- user
Names List<String> - The list of users that the unified audit policy is enabled for.
- attribute
Set stringId - The OCID of the attribute set.
- entity
Selection string - Specifies whether to include or exclude the specified users or roles.
- entity
Type string - The type of users or roles that the unified audit policy is applied to.
- operation
Status string - The operation status that the policy must be enabled for.
- role
Names string[] - List of roles that the policy must be enabled for.
- user
Names string[] - The list of users that the unified audit policy is enabled for.
- attribute_
set_ strid - The OCID of the attribute set.
- entity_
selection str - Specifies whether to include or exclude the specified users or roles.
- entity_
type str - The type of users or roles that the unified audit policy is applied to.
- operation_
status str - The operation status that the policy must be enabled for.
- role_
names Sequence[str] - List of roles that the policy must be enabled for.
- user_
names Sequence[str] - The list of users that the unified audit policy is enabled for.
- attribute
Set StringId - The OCID of the attribute set.
- entity
Selection String - Specifies whether to include or exclude the specified users or roles.
- entity
Type String - The type of users or roles that the unified audit policy is applied to.
- operation
Status String - The operation status that the policy must be enabled for.
- role
Names List<String> - List of roles that the policy must be enabled for.
- user
Names List<String> - The list of users that the unified audit policy is enabled for.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.