Oracle Cloud Infrastructure

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

getAuditPolicy

This data source provides details about a specific Audit Policy resource in Oracle Cloud Infrastructure Data Safe service.

Gets a audit policy by identifier.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAuditPolicy = Output.Create(Oci.DataSafe.GetAuditPolicy.InvokeAsync(new Oci.DataSafe.GetAuditPolicyArgs
        {
            AuditPolicyId = oci_data_safe_audit_policy.Test_audit_policy.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.GetAuditPolicy(ctx, &datasafe.GetAuditPolicyArgs{
			AuditPolicyId: oci_data_safe_audit_policy.Test_audit_policy.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_audit_policy = oci.DataSafe.get_audit_policy(audit_policy_id=oci_data_safe_audit_policy["test_audit_policy"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAuditPolicy = oci.DataSafe.getAuditPolicy({
    auditPolicyId: oci_data_safe_audit_policy.test_audit_policy.id,
});

Coming soon!

Using getAuditPolicy

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 getAuditPolicy(args: GetAuditPolicyArgs, opts?: InvokeOptions): Promise<GetAuditPolicyResult>
function getAuditPolicyOutput(args: GetAuditPolicyOutputArgs, opts?: InvokeOptions): Output<GetAuditPolicyResult>
def get_audit_policy(audit_policy_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetAuditPolicyResult
def get_audit_policy_output(audit_policy_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetAuditPolicyResult]
func GetAuditPolicy(ctx *Context, args *GetAuditPolicyArgs, opts ...InvokeOption) (*GetAuditPolicyResult, error)
func GetAuditPolicyOutput(ctx *Context, args *GetAuditPolicyOutputArgs, opts ...InvokeOption) GetAuditPolicyResultOutput

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

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

The following arguments are supported:

AuditPolicyId string

Unique audit policy identifier.

AuditPolicyId string

Unique audit policy identifier.

auditPolicyId String

Unique audit policy identifier.

auditPolicyId string

Unique audit policy identifier.

audit_policy_id str

Unique audit policy identifier.

auditPolicyId String

Unique audit policy identifier.

getAuditPolicy Result

The following output properties are available:

AuditConditions List<GetAuditPolicyAuditCondition>

Lists the audit policy provisioning conditions for the target database.

AuditPolicyId string
AuditSpecifications List<GetAuditPolicyAuditSpecification>

Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation.

CompartmentId string

The OCID of the compartment containing the audit policy.

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

Description of the audit policy.

DisplayName string

The display name of the audit policy.

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

IsDataSafeServiceAccountExcluded bool

Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.

LifecycleDetails string

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

ProvisionTrigger int
RetrieveFromTargetTrigger int
State string

The current state of the audit policy.

SystemTags Dictionary<string, object>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}

TargetId string

The OCID of the target for which the audit policy is created.

TimeCreated string

The time the the audit policy was created, in the format defined by RFC3339.

TimeLastProvisioned string

Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.

TimeLastRetrieved string

The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.

TimeUpdated string

The last date and time the audit policy was updated, in the format defined by RFC3339.

AuditConditions []GetAuditPolicyAuditCondition

Lists the audit policy provisioning conditions for the target database.

AuditPolicyId string
AuditSpecifications []GetAuditPolicyAuditSpecification

Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation.

CompartmentId string

The OCID of the compartment containing the audit policy.

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

Description of the audit policy.

DisplayName string

The display name of the audit policy.

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

IsDataSafeServiceAccountExcluded bool

Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.

LifecycleDetails string

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

ProvisionTrigger int
RetrieveFromTargetTrigger int
State string

The current state of the audit policy.

SystemTags map[string]interface{}

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}

TargetId string

The OCID of the target for which the audit policy is created.

TimeCreated string

The time the the audit policy was created, in the format defined by RFC3339.

TimeLastProvisioned string

Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.

TimeLastRetrieved string

The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.

TimeUpdated string

The last date and time the audit policy was updated, in the format defined by RFC3339.

auditConditions List<GetAuditPolicyAuditCondition>

Lists the audit policy provisioning conditions for the target database.

auditPolicyId String
auditSpecifications List<GetAuditPolicyAuditSpecification>

Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation.

compartmentId String

The OCID of the compartment containing the audit policy.

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

Description of the audit policy.

displayName String

The display name of the audit policy.

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

isDataSafeServiceAccountExcluded Boolean

Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.

lifecycleDetails String

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

provisionTrigger Integer
retrieveFromTargetTrigger Integer
state String

The current state of the audit policy.

systemTags Map<String,Object>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}

targetId String

The OCID of the target for which the audit policy is created.

timeCreated String

The time the the audit policy was created, in the format defined by RFC3339.

timeLastProvisioned String

Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.

timeLastRetrieved String

The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.

timeUpdated String

The last date and time the audit policy was updated, in the format defined by RFC3339.

auditConditions GetAuditPolicyAuditCondition[]

Lists the audit policy provisioning conditions for the target database.

auditPolicyId string
auditSpecifications GetAuditPolicyAuditSpecification[]

Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation.

compartmentId string

The OCID of the compartment containing the audit policy.

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

Description of the audit policy.

displayName string

The display name of the audit policy.

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

isDataSafeServiceAccountExcluded boolean

Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.

lifecycleDetails string

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

provisionTrigger number
retrieveFromTargetTrigger number
state string

The current state of the audit policy.

systemTags {[key: string]: any}

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}

targetId string

The OCID of the target for which the audit policy is created.

timeCreated string

The time the the audit policy was created, in the format defined by RFC3339.

timeLastProvisioned string

Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.

timeLastRetrieved string

The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.

timeUpdated string

The last date and time the audit policy was updated, in the format defined by RFC3339.

audit_conditions GetAuditPolicyAuditCondition]

Lists the audit policy provisioning conditions for the target database.

audit_policy_id str
audit_specifications GetAuditPolicyAuditSpecification]

Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation.

compartment_id str

The OCID of the compartment containing the audit policy.

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

Description of the audit policy.

display_name str

The display name of the audit policy.

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

is_data_safe_service_account_excluded bool

Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.

lifecycle_details str

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

provision_trigger int
retrieve_from_target_trigger int
state str

The current state of the audit policy.

system_tags Mapping[str, Any]

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}

target_id str

The OCID of the target for which the audit policy is created.

time_created str

The time the the audit policy was created, in the format defined by RFC3339.

time_last_provisioned str

Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.

time_last_retrieved str

The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.

time_updated str

The last date and time the audit policy was updated, in the format defined by RFC3339.

auditConditions List<Property Map>

Lists the audit policy provisioning conditions for the target database.

auditPolicyId String
auditSpecifications List<Property Map>

Represents all available audit policy specifications relevant for the target database. For more details on available audit polcies, refer to documentation.

compartmentId String

The OCID of the compartment containing the audit policy.

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

Description of the audit policy.

displayName String

The display name of the audit policy.

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

isDataSafeServiceAccountExcluded Boolean

Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies.

lifecycleDetails String

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

provisionTrigger Number
retrieveFromTargetTrigger Number
state String

The current state of the audit policy.

systemTags Map<Any>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}

targetId String

The OCID of the target for which the audit policy is created.

timeCreated String

The time the the audit policy was created, in the format defined by RFC3339.

timeLastProvisioned String

Indicates the last provisioning time of audit policies on the target, in the format defined by RFC3339.

timeLastRetrieved String

The time when the audit policies was last retrieved from this target, in the format defined by RFC3339.

timeUpdated String

The last date and time the audit policy was updated, in the format defined by RFC3339.

Supporting Types

GetAuditPolicyAuditCondition

AuditPolicyName string

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

EnableConditions List<GetAuditPolicyAuditConditionEnableCondition>

Indicates the users/roles in the target database for which the audit policy is enforced, and the success/failure event condition to generate the audit event..

IsDataSafeServiceAccountAudited bool

Indicates whether the Data Safe user activity on the target database will be audited by the policy.

IsPrivUsersManagedByDataSafe bool

Indicates whether the privileged user list is managed by Data Safe.

AuditPolicyName string

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

EnableConditions []GetAuditPolicyAuditConditionEnableCondition

Indicates the users/roles in the target database for which the audit policy is enforced, and the success/failure event condition to generate the audit event..

IsDataSafeServiceAccountAudited bool

Indicates whether the Data Safe user activity on the target database will be audited by the policy.

IsPrivUsersManagedByDataSafe bool

Indicates whether the privileged user list is managed by Data Safe.

auditPolicyName String

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

enableConditions List<GetAuditPolicyAuditConditionEnableCondition>

Indicates the users/roles in the target database for which the audit policy is enforced, and the success/failure event condition to generate the audit event..

isDataSafeServiceAccountAudited Boolean

Indicates whether the Data Safe user activity on the target database will be audited by the policy.

isPrivUsersManagedByDataSafe Boolean

Indicates whether the privileged user list is managed by Data Safe.

auditPolicyName string

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

enableConditions GetAuditPolicyAuditConditionEnableCondition[]

Indicates the users/roles in the target database for which the audit policy is enforced, and the success/failure event condition to generate the audit event..

isDataSafeServiceAccountAudited boolean

Indicates whether the Data Safe user activity on the target database will be audited by the policy.

isPrivUsersManagedByDataSafe boolean

Indicates whether the privileged user list is managed by Data Safe.

audit_policy_name str

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

enable_conditions GetAuditPolicyAuditConditionEnableCondition]

Indicates the users/roles in the target database for which the audit policy is enforced, and the success/failure event condition to generate the audit event..

is_data_safe_service_account_audited bool

Indicates whether the Data Safe user activity on the target database will be audited by the policy.

is_priv_users_managed_by_data_safe bool

Indicates whether the privileged user list is managed by Data Safe.

auditPolicyName String

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

enableConditions List<Property Map>

Indicates the users/roles in the target database for which the audit policy is enforced, and the success/failure event condition to generate the audit event..

isDataSafeServiceAccountAudited Boolean

Indicates whether the Data Safe user activity on the target database will be audited by the policy.

isPrivUsersManagedByDataSafe Boolean

Indicates whether the privileged user list is managed by Data Safe.

GetAuditPolicyAuditConditionEnableCondition

EntityNames List<string>

List of users or roles that the policy must be enabled for.

EntitySelection string

The entity include or exclude selection.

EntityType string

The entity type that the policy must be enabled for.

OperationStatus string

The operation status that the policy must be enabled for.

EntityNames []string

List of users or roles that the policy must be enabled for.

EntitySelection string

The entity include or exclude selection.

EntityType string

The entity type that the policy must be enabled for.

OperationStatus string

The operation status that the policy must be enabled for.

entityNames List<String>

List of users or roles that the policy must be enabled for.

entitySelection String

The entity include or exclude selection.

entityType String

The entity type that the policy must be enabled for.

operationStatus String

The operation status that the policy must be enabled for.

entityNames string[]

List of users or roles that the policy must be enabled for.

entitySelection string

The entity include or exclude selection.

entityType string

The entity type that the policy must be enabled for.

operationStatus string

The operation status that the policy must be enabled for.

entity_names Sequence[str]

List of users or roles that the policy must be enabled for.

entity_selection str

The entity include or exclude selection.

entity_type str

The entity type that the policy must be enabled for.

operation_status str

The operation status that the policy must be enabled for.

entityNames List<String>

List of users or roles that the policy must be enabled for.

entitySelection String

The entity include or exclude selection.

entityType String

The entity type that the policy must be enabled for.

operationStatus String

The operation status that the policy must be enabled for.

GetAuditPolicyAuditSpecification

AuditPolicyCategory string

The category to which the audit policy belongs.

AuditPolicyName string

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

DatabasePolicyNames List<string>

Indicates the names of corresponding database policy ( or policies) in the target database.

EnableStatus string

Indicates whether the policy has been enabled, disabled or partially enabled in the target database. The status is PARTIALLY_ENABLED if any of the constituent database audit policies is not enabled.

EnabledEntities string

Indicates on whom the audit policy is enabled.

IsCreated bool

Indicates whether the policy is already created on the target database.

IsEnabledForAllUsers bool

Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.

IsSeededInDataSafe bool

Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.

IsSeededInTarget bool

Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.

IsViewOnly bool

Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target.

PartiallyEnabledMsg string

Provides information about the policy that has been only partially enabled.

AuditPolicyCategory string

The category to which the audit policy belongs.

AuditPolicyName string

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

DatabasePolicyNames []string

Indicates the names of corresponding database policy ( or policies) in the target database.

EnableStatus string

Indicates whether the policy has been enabled, disabled or partially enabled in the target database. The status is PARTIALLY_ENABLED if any of the constituent database audit policies is not enabled.

EnabledEntities string

Indicates on whom the audit policy is enabled.

IsCreated bool

Indicates whether the policy is already created on the target database.

IsEnabledForAllUsers bool

Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.

IsSeededInDataSafe bool

Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.

IsSeededInTarget bool

Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.

IsViewOnly bool

Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target.

PartiallyEnabledMsg string

Provides information about the policy that has been only partially enabled.

auditPolicyCategory String

The category to which the audit policy belongs.

auditPolicyName String

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

databasePolicyNames List<String>

Indicates the names of corresponding database policy ( or policies) in the target database.

enableStatus String

Indicates whether the policy has been enabled, disabled or partially enabled in the target database. The status is PARTIALLY_ENABLED if any of the constituent database audit policies is not enabled.

enabledEntities String

Indicates on whom the audit policy is enabled.

isCreated Boolean

Indicates whether the policy is already created on the target database.

isEnabledForAllUsers Boolean

Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.

isSeededInDataSafe Boolean

Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.

isSeededInTarget Boolean

Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.

isViewOnly Boolean

Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target.

partiallyEnabledMsg String

Provides information about the policy that has been only partially enabled.

auditPolicyCategory string

The category to which the audit policy belongs.

auditPolicyName string

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

databasePolicyNames string[]

Indicates the names of corresponding database policy ( or policies) in the target database.

enableStatus string

Indicates whether the policy has been enabled, disabled or partially enabled in the target database. The status is PARTIALLY_ENABLED if any of the constituent database audit policies is not enabled.

enabledEntities string

Indicates on whom the audit policy is enabled.

isCreated boolean

Indicates whether the policy is already created on the target database.

isEnabledForAllUsers boolean

Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.

isSeededInDataSafe boolean

Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.

isSeededInTarget boolean

Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.

isViewOnly boolean

Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target.

partiallyEnabledMsg string

Provides information about the policy that has been only partially enabled.

audit_policy_category str

The category to which the audit policy belongs.

audit_policy_name str

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

database_policy_names Sequence[str]

Indicates the names of corresponding database policy ( or policies) in the target database.

enable_status str

Indicates whether the policy has been enabled, disabled or partially enabled in the target database. The status is PARTIALLY_ENABLED if any of the constituent database audit policies is not enabled.

enabled_entities str

Indicates on whom the audit policy is enabled.

is_created bool

Indicates whether the policy is already created on the target database.

is_enabled_for_all_users bool

Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.

is_seeded_in_data_safe bool

Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.

is_seeded_in_target bool

Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.

is_view_only bool

Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target.

partially_enabled_msg str

Provides information about the policy that has been only partially enabled.

auditPolicyCategory String

The category to which the audit policy belongs.

auditPolicyName String

Indicates the audit policy name. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

databasePolicyNames List<String>

Indicates the names of corresponding database policy ( or policies) in the target database.

enableStatus String

Indicates whether the policy has been enabled, disabled or partially enabled in the target database. The status is PARTIALLY_ENABLED if any of the constituent database audit policies is not enabled.

enabledEntities String

Indicates on whom the audit policy is enabled.

isCreated Boolean

Indicates whether the policy is already created on the target database.

isEnabledForAllUsers Boolean

Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.

isSeededInDataSafe Boolean

Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.

isSeededInTarget Boolean

Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.

isViewOnly Boolean

Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target.

partiallyEnabledMsg String

Provides information about the policy that has been only partially enabled.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.