#[non_exhaustive]pub struct ManagedEntity {Show 13 fields
pub data: Option<Value>,
pub device: Option<Box<Device>>,
pub email: Option<Box<Email>>,
pub group: Option<Box<Group>>,
pub location: Option<Box<Location>>,
pub name: Option<String>,
pub org: Option<Box<Organization>>,
pub policy: Option<Box<Policy>>,
pub type: Option<String>,
pub type_id: Option<i64>,
pub uid: Option<String>,
pub user: Option<Box<User>>,
pub version: Option<String>,
}Expand description
Managed Entity
The Managed Entity object describes the type and version of an entity, such as a user, device, or policy. For types in the type_id enum list, an associated attribute should be populated. If the type of entity is not in the type_id list, information can be put into the data attribute, type_id should be ‘Other’ and the type attribute should label the entity type.
[] Category: | Name: managed_entity
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
The managed entity content as a JSON object.
optional
device: Option<Box<Device>>Device
An addressable device, computer system or host.
recommended
email: Option<Box<Email>>The email object.
recommended
group: Option<Box<Group>>Group
The group object associated with an entity such as user, policy, or rule.
recommended
location: Option<Box<Location>>Geo Location
The detailed geographical location usually associated with an IP address.
optional
name: Option<String>Name
The name of the managed entity. It should match the name of the specific entity object’s name if populated, or the name of the managed entity if the type_id is ‘Other’.
recommended
org: Option<Box<Organization>>Organization
The Organization object containing details about the managed organizational entity. This object includes properties such as the organization name, unique identifier, type, and other organizational metadata. This attribute should be populated when type_id is 4 (Organization).
recommended
policy: Option<Box<Policy>>Policy
Describes details of a managed policy.
recommended
type: Option<String>Type
The managed entity type. For example: Policy, User, Organization, Device.
recommended
type_id: Option<i64>Type ID
The type of the Managed Entity. It is recommended to also populate the type attribute with the associated label, or the source specific name if Other.
recommended
uid: Option<String>Unique ID
The identifier of the managed entity. It should match the uid of the specific entity’s object UID if populated, or the source specific ID if the type_id is ‘Other’.
recommended
user: Option<Box<User>>User
The user that pertains to the event or object.
recommended
version: Option<String>Version
The version of the managed entity. For example: 1.2.3.
recommended
Trait Implementations§
Source§impl Clone for ManagedEntity
impl Clone for ManagedEntity
Source§fn clone(&self) -> ManagedEntity
fn clone(&self) -> ManagedEntity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more