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: Sid
Submission ID
metadata: HashMap<String, String>
Metadata associated to the submission
min_classification: String
Minimum classification of the file being scanned
fileinfo: FileInfo
File info block
filename: String
File name
service_name: String
Service name
service_config: JsonMap
Service specific parameters
depth: u32
File depth relative to initital submitted file
max_files: u32
Maximum number of files that submission can have
ttl: u32
Task TTL
List of tags
temporary_submission_data: Vec<DataItem>
Temporary submission data
deep_scan: bool
Perform deep scanning
ignore_cache: bool
Whether the service cache should be ignored during the processing of this task
ignore_dynamic_recursion_prevention: bool
Whether the service should ignore the dynamic recursion prevention or not
ignore_filtering: bool
Should the service filter it’s output?
priority: i32
Priority for processing order
safelist_config: ServiceSafelist
Safelisting 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