#[non_exhaustive]pub struct Policy {
pub data: Option<Value>,
pub desc: Option<String>,
pub group: Option<Box<Group>>,
pub is_applied: Option<bool>,
pub name: Option<String>,
pub type: Option<String>,
pub uid: Option<String>,
pub version: Option<String>,
}Expand description
Policy
The Policy object describes the policies that are applicable.
Policy attributes provide traceability to the operational state of the security product at the time that the event was captured, facilitating forensics, troubleshooting, and policy tuning/adjustments.
[] Category: | Name: policy
Constraints:
- at_least_one:
[name,uid]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data: Option<Value>Data
Additional data about the policy such as the underlying JSON policy itself or other details.
optional
desc: Option<String>Description
The description of the policy.
optional
group: Option<Box<Group>>Group
The policy group.
optional
is_applied: Option<bool>Applied
A determination if the content of a policy was applied to a target or request, or not.
recommended
name: Option<String>Name
The policy name. For example: AdministratorAccess Policy.
recommended
type: Option<String>Type
The policy type. For example: Identity Policy, Resource Policy, Service Control Policy, etc./code>.
optional
uid: Option<String>Unique ID
A unique identifier of the policy instance.
recommended
version: Option<String>Version
The policy version number.
recommended