pub struct DeviceConfigStateChange {Show 42 fields
pub activity_id: DeviceConfigStateChangeActivityId,
pub activity_name: Option<String>,
pub actor: Option<Actor>,
pub api: Option<Api>,
pub category_name: Option<String>,
pub category_uid: i64,
pub class_name: Option<String>,
pub class_uid: i64,
pub cloud: Cloud,
pub count: Option<i64>,
pub device: Device,
pub duration: Option<i64>,
pub end_time: Option<i64>,
pub end_time_dt: Option<String>,
pub enrichments: Vec<Enrichment>,
pub message: Option<String>,
pub metadata: Metadata,
pub observables: Vec<Observable>,
pub osint: Vec<Osint>,
pub prev_security_level: Option<String>,
pub prev_security_level_id: Option<DeviceConfigStateChangePrevSecurityLevelId>,
pub prev_security_states: Vec<SecurityState>,
pub raw_data: Option<String>,
pub security_level: Option<String>,
pub security_level_id: Option<DeviceConfigStateChangeSecurityLevelId>,
pub security_states: Vec<SecurityState>,
pub severity: Option<String>,
pub severity_id: DeviceConfigStateChangeSeverityId,
pub start_time: Option<i64>,
pub start_time_dt: Option<String>,
pub state: Option<String>,
pub state_id: Option<DeviceConfigStateChangeStateId>,
pub status: Option<String>,
pub status_code: Option<String>,
pub status_detail: Option<String>,
pub status_id: Option<DeviceConfigStateChangeStatusId>,
pub time: i64,
pub time_dt: Option<String>,
pub timezone_offset: Option<i64>,
pub type_name: Option<String>,
pub type_uid: i64,
pub unmapped: Option<Object>,
}
Expand description
DeviceConfigStateChange
JSON schema
{
"$id": "https://schema.ocsf.io/schema/classes/device_config_state_change",
"type": "object",
"required": [
"activity_id",
"category_uid",
"class_uid",
"cloud",
"device",
"metadata",
"osint",
"severity_id",
"time",
"type_uid"
],
"properties": {
"activity_id": {
"type": "integer",
"enum": [
0,
1,
2,
99
]
},
"activity_name": {
"type": "string"
},
"actor": {
"$ref": "#/$defs/actor"
},
"api": {
"$ref": "#/$defs/api"
},
"category_name": {
"type": "string"
},
"category_uid": {
"type": "integer",
"const": 5
},
"class_name": {
"type": "string"
},
"class_uid": {
"type": "integer",
"const": 5019
},
"cloud": {
"$ref": "#/$defs/cloud"
},
"count": {
"type": "integer"
},
"device": {
"$ref": "#/$defs/device"
},
"duration": {
"type": "integer"
},
"end_time": {
"type": "integer"
},
"end_time_dt": {
"type": "string"
},
"enrichments": {
"type": "array",
"items": {
"$ref": "#/$defs/enrichment"
}
},
"message": {
"type": "string"
},
"metadata": {
"$ref": "#/$defs/metadata"
},
"observables": {
"type": "array",
"items": {
"$ref": "#/$defs/observable"
}
},
"osint": {
"type": "array",
"items": {
"$ref": "#/$defs/osint"
}
},
"prev_security_level": {
"type": "string"
},
"prev_security_level_id": {
"type": "integer",
"enum": [
3,
0,
1,
2,
99
]
},
"prev_security_states": {
"type": "array",
"items": {
"$ref": "#/$defs/security_state"
}
},
"raw_data": {
"type": "string"
},
"security_level": {
"type": "string"
},
"security_level_id": {
"type": "integer",
"enum": [
3,
0,
1,
2,
99
]
},
"security_states": {
"type": "array",
"items": {
"$ref": "#/$defs/security_state"
}
},
"severity": {
"type": "string"
},
"severity_id": {
"type": "integer",
"enum": [
3,
6,
0,
1,
2,
99,
4,
5
]
},
"start_time": {
"type": "integer"
},
"start_time_dt": {
"type": "string"
},
"state": {
"type": "string"
},
"state_id": {
"type": "integer",
"enum": [
0,
1,
2,
99
]
},
"status": {
"type": "string"
},
"status_code": {
"type": "string"
},
"status_detail": {
"type": "string"
},
"status_id": {
"type": "integer",
"enum": [
0,
1,
2,
99
]
},
"time": {
"type": "integer"
},
"time_dt": {
"type": "string"
},
"timezone_offset": {
"type": "integer"
},
"type_name": {
"type": "string"
},
"type_uid": {
"type": "integer"
},
"unmapped": {
"$ref": "#/$defs/object"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}
Fields§
§activity_id: DeviceConfigStateChangeActivityId
§activity_name: Option<String>
§actor: Option<Actor>
§api: Option<Api>
§category_name: Option<String>
§category_uid: i64
§class_name: Option<String>
§class_uid: i64
§cloud: Cloud
§count: Option<i64>
§device: Device
§duration: Option<i64>
§end_time: Option<i64>
§end_time_dt: Option<String>
§enrichments: Vec<Enrichment>
§message: Option<String>
§metadata: Metadata
§observables: Vec<Observable>
§osint: Vec<Osint>
§prev_security_level: Option<String>
§prev_security_level_id: Option<DeviceConfigStateChangePrevSecurityLevelId>
§prev_security_states: Vec<SecurityState>
§raw_data: Option<String>
§security_level: Option<String>
§security_level_id: Option<DeviceConfigStateChangeSecurityLevelId>
§security_states: Vec<SecurityState>
§severity: Option<String>
§severity_id: DeviceConfigStateChangeSeverityId
§start_time: Option<i64>
§start_time_dt: Option<String>
§state: Option<String>
§state_id: Option<DeviceConfigStateChangeStateId>
§status: Option<String>
§status_code: Option<String>
§status_detail: Option<String>
§status_id: Option<DeviceConfigStateChangeStatusId>
§time: i64
§time_dt: Option<String>
§timezone_offset: Option<i64>
§type_name: Option<String>
§type_uid: i64
§unmapped: Option<Object>
Implementations§
Source§impl DeviceConfigStateChange
impl DeviceConfigStateChange
pub fn builder() -> DeviceConfigStateChange
Trait Implementations§
Source§impl Clone for DeviceConfigStateChange
impl Clone for DeviceConfigStateChange
Source§fn clone(&self) -> DeviceConfigStateChange
fn clone(&self) -> DeviceConfigStateChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeviceConfigStateChange
impl Debug for DeviceConfigStateChange
Source§impl<'de> Deserialize<'de> for DeviceConfigStateChange
impl<'de> Deserialize<'de> for DeviceConfigStateChange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&DeviceConfigStateChange> for DeviceConfigStateChange
impl From<&DeviceConfigStateChange> for DeviceConfigStateChange
Source§fn from(value: &DeviceConfigStateChange) -> Self
fn from(value: &DeviceConfigStateChange) -> Self
Converts to this type from the input type.
Source§impl From<DeviceConfigStateChange> for DeviceConfigStateChange
impl From<DeviceConfigStateChange> for DeviceConfigStateChange
Source§fn from(value: DeviceConfigStateChange) -> Self
fn from(value: DeviceConfigStateChange) -> Self
Converts to this type from the input type.
Source§impl Serialize for DeviceConfigStateChange
impl Serialize for DeviceConfigStateChange
Source§impl TryFrom<DeviceConfigStateChange> for DeviceConfigStateChange
impl TryFrom<DeviceConfigStateChange> for DeviceConfigStateChange
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DeviceConfigStateChange) -> Result<Self, ConversionError>
fn try_from(value: DeviceConfigStateChange) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DeviceConfigStateChange
impl RefUnwindSafe for DeviceConfigStateChange
impl Send for DeviceConfigStateChange
impl Sync for DeviceConfigStateChange
impl Unpin for DeviceConfigStateChange
impl UnwindSafe for DeviceConfigStateChange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more