Skip to main content

attack/domain/
mod.rs

1use stix_rs::StixObject;
2
3/// Base trait for all MITRE ATT&CK objects.
4/// Extends the basic STIX object with ATT&CK-specific common fields.
5pub trait AttackObject: StixObject {
6    fn name(&self) -> &str;
7    fn description(&self) -> Option<&str>;
8    fn revoked(&self) -> bool;
9    fn deprecated(&self) -> bool;
10}
11
12pub mod tactic;
13pub mod technique;
14pub mod group;
15pub mod software;
16pub mod mitigation;
17pub mod data_source;
18pub mod data_component;
19pub mod campaign;
20pub mod matrix;
21pub mod analytic;
22pub mod detection_strategy;
23
24pub use tactic::Tactic;
25pub use technique::Technique;
26pub use group::Group;
27pub use software::{Software, Malware, Tool};
28pub use mitigation::Mitigation;
29pub use data_source::DataSource;
30pub use data_component::DataComponent;
31pub use campaign::Campaign;
32pub use matrix::Matrix;
33pub use analytic::Analytic;
34pub use detection_strategy::DetectionStrategy;