Data Source: oci_cloud_guard_security_policy
This data source provides details about a specific Security Policy resource in Oracle Cloud Infrastructure Cloud Guard service.
Returns a security zone policy (SecurityPolicy resource), identified by its unique ID (securityPolicyId). When a policy is enabled in a security zone, then any action in the zone that attempts to violate that policy is blocked.
Example Usage
data "oci_cloud_guard_security_policy" "test_security_policy" {
#Required
security_policy_id = oci_cloud_guard_security_policy.test_security_policy.id
}
Argument Reference
The following arguments are supported:
security_policy_id
- (Required) The unique identifier of the security zone policy. (SecurityPolicy
)
Attributes Reference
The following attributes are exported:
category
- The category of the security policycompartment_id
- The OCID of the security policy’s compartmentdefined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
description
- The security policy’s descriptiondisplay_name
- The security policy’s display namefreeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
Avoid entering confidential information.
friendly_name
- A shorter version of the security policy’s nameid
- Unique identifier that can’t be changed after creationlifecycle_details
- A message describing the current state in more detail. For example, this can be used to provide actionable information for a resource in aFailed
state.owner
- The owner of the security policyservices
- The list of services that the security policy protectsstate
- The current lifecycle state of the security policytime_created
- The time the security policy was created. An RFC3339 formatted datetime string.time_updated
- The time the security policy was last updated. An RFC3339 formatted datetime string.