Struct assemblyline_models::messages::task::Task
source · pub struct Task {Show 20 fields
pub task_id: u64,
pub dispatcher: String,
pub sid: Sid,
pub metadata: HashMap<String, String>,
pub min_classification: String,
pub fileinfo: FileInfo,
pub filename: String,
pub service_name: String,
pub service_config: JsonMap,
pub depth: u32,
pub max_files: u32,
pub ttl: u32,
pub tags: Vec<TagItem>,
pub temporary_submission_data: Vec<DataItem>,
pub deep_scan: bool,
pub ignore_cache: bool,
pub ignore_dynamic_recursion_prevention: bool,
pub ignore_filtering: bool,
pub priority: i32,
pub safelist_config: ServiceSafelist,
}Expand description
Service Task Model
Fields§
§task_id: u64§dispatcher: String§sid: SidSubmission ID
metadata: HashMap<String, String>Metadata associated to the submission
min_classification: StringMinimum classification of the file being scanned
fileinfo: FileInfoFile info block
filename: StringFile name
service_name: StringService name
service_config: JsonMapService specific parameters
depth: u32File depth relative to initital submitted file
max_files: u32Maximum number of files that submission can have
ttl: u32Task TTL
List of tags
temporary_submission_data: Vec<DataItem>Temporary submission data
deep_scan: boolPerform deep scanning
ignore_cache: boolWhether the service cache should be ignored during the processing of this task
ignore_dynamic_recursion_prevention: boolWhether the service should ignore the dynamic recursion prevention or not
ignore_filtering: boolShould the service filter it’s output?
priority: i32Priority for processing order
safelist_config: ServiceSafelistSafelisting configuration (as defined in global configuration)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
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
Auto Trait Implementations§
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnwindSafe for Task
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