Skip to main content

ArtifactDescriptor

Struct ArtifactDescriptor 

Source
pub struct ArtifactDescriptor {
Show 21 fields pub id: &'static str, pub name: &'static str, pub artifact_type: ArtifactLocation, pub hive: Option<HiveTarget>, pub key_path: &'static str, pub value_name: Option<&'static str>, pub file_path: Option<&'static str>, pub scope: DataScope, pub os_scope: OsScope, pub decoder: Decoder, pub meaning: &'static str, pub mitre_techniques: &'static [&'static str], pub fields: &'static [FieldSchema], pub retention: Option<&'static str>, pub triage_priority: TriagePriority, pub related_artifacts: &'static [&'static str], pub sources: &'static [&'static str], pub evidence_strength: Option<EvidenceStrength>, pub evidence_caveats: &'static [&'static str], pub volatility: Option<VolatilityClass>, pub volatility_rationale: &'static str,
}
Expand description

A single entry in the forensic artifact catalog. Fully const-constructible so it can live in a static.

Fields§

§id: &'static str

Short machine-readable identifier, e.g. "userassist".

§name: &'static str

Human-readable display name.

§artifact_type: ArtifactLocation

What kind of artifact location this is.

§hive: Option<HiveTarget>

Which registry hive, or None for non-registry artifacts.

§key_path: &'static str

Registry key path relative to the hive root (empty for non-registry).

§value_name: Option<&'static str>

Specific registry value name, if targeting a single value.

§file_path: Option<&'static str>

Filesystem path, for file/directory artifacts.

§scope: DataScope

User vs System vs Mixed scope.

§os_scope: OsScope

Minimum OS version required.

§decoder: Decoder

How to decode the raw data.

§meaning: &'static str

Forensic meaning / significance of this artifact.

§mitre_techniques: &'static [&'static str]

MITRE ATT&CK technique IDs.

§fields: &'static [FieldSchema]

Schema of the decoded output fields.

§retention: Option<&'static str>

How long this artifact typically persists before being overwritten or rotated. None means indefinite (registry keys, most files until explicitly deleted).

§triage_priority: TriagePriority

Live triage collection priority.

§related_artifacts: &'static [&'static str]

IDs of related catalog descriptors useful for cross-correlation.

§sources: &'static [&'static str]

Authoritative external references for this artifact (SANS, Harlan Carvey, Brian Carrier, Red Canary, Microsoft docs, MITRE ATT&CK, etc.). Every production entry should have at least one URL.

§evidence_strength: Option<EvidenceStrength>

How strongly this artifact proves a fact in isolation, or None if not yet assessed.

§evidence_caveats: &'static [&'static str]

Known caveats, edge cases, or false-positive scenarios for this artifact.

§volatility: Option<VolatilityClass>

How quickly this artifact is overwritten or lost, or None if not yet assessed.

§volatility_rationale: &'static str

One-line rationale for the volatility classification.

Trait Implementations§

Source§

impl Clone for ArtifactDescriptor

Source§

fn clone(&self) -> ArtifactDescriptor

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ArtifactDescriptor

Source§

impl Debug for ArtifactDescriptor

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Eq for ArtifactDescriptor

Source§

impl PartialEq for ArtifactDescriptor

Source§

fn eq(&self, other: &ArtifactDescriptor) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ArtifactDescriptor

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.