pub struct IocDatabase {
pub version: String,
pub last_updated: String,
pub c2_ips: Vec<String>,
pub malicious_domains: Vec<String>,
pub malicious_skill_hashes: HashMap<String, String>,
pub typosquat_patterns: Vec<String>,
pub dangerous_prerequisite_patterns: Vec<String>,
pub infostealer_artifacts: InfostealerArtifacts,
}Expand description
Bundled / fetched indicator database (ioc/indicators.json).
Fields§
§version: String§last_updated: String§c2_ips: Vec<String>§malicious_domains: Vec<String>§malicious_skill_hashes: HashMap<String, String>hash -> human-readable label.
typosquat_patterns: Vec<String>§dangerous_prerequisite_patterns: Vec<String>§infostealer_artifacts: InfostealerArtifactsTrait Implementations§
Source§impl Clone for IocDatabase
impl Clone for IocDatabase
Source§fn clone(&self) -> IocDatabase
fn clone(&self) -> IocDatabase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IocDatabase
impl Debug for IocDatabase
Source§impl Default for IocDatabase
impl Default for IocDatabase
Source§fn default() -> IocDatabase
fn default() -> IocDatabase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IocDatabase
impl<'de> Deserialize<'de> for IocDatabase
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 PartialEq for IocDatabase
impl PartialEq for IocDatabase
Source§fn eq(&self, other: &IocDatabase) -> bool
fn eq(&self, other: &IocDatabase) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IocDatabase
impl Serialize for IocDatabase
impl StructuralPartialEq for IocDatabase
Auto Trait Implementations§
impl Freeze for IocDatabase
impl RefUnwindSafe for IocDatabase
impl Send for IocDatabase
impl Sync for IocDatabase
impl Unpin for IocDatabase
impl UnsafeUnpin for IocDatabase
impl UnwindSafe for IocDatabase
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