pub struct SubmissionParams {Show 24 fields
pub classification: ClassificationString,
pub deep_scan: bool,
pub description: Option<String>,
pub generate_alert: bool,
pub groups: Vec<String>,
pub ignore_cache: bool,
pub ignore_dynamic_recursion_prevention: bool,
pub ignore_filtering: bool,
pub ignore_size: bool,
pub never_drop: bool,
pub malicious: bool,
pub max_extracted: u32,
pub max_supplementary: u32,
pub priority: u16,
pub profile: bool,
pub quota_item: bool,
pub services: ServiceSelection,
pub service_spec: HashMap<String, JsonMap>,
pub submitter: String,
pub ttl: u32,
pub submission_type: String,
pub initial_data: Option<String>,
pub auto_archive: bool,
pub delete_after_archive: bool,
}Expand description
Submission Parameters
Fields§
§classification: ClassificationStringclassification of the submission
deep_scan: boolShould a deep scan be performed?
description: Option<String>Description of the submission
generate_alert: boolShould this submission generate an alert?
groups: Vec<String>List of groups related to this scan
ignore_cache: boolIgnore the cached service results?
ignore_dynamic_recursion_prevention: boolShould we ignore dynamic recursion prevention?
ignore_filtering: boolShould we ignore filtering services?
ignore_size: boolIgnore the file size limits?
never_drop: boolExempt from being dropped by ingester?
malicious: boolIs the file submitted already known to be malicious?
max_extracted: u32Max number of extracted files
max_supplementary: u32Max number of supplementary files
priority: u16Priority of the scan
profile: boolShould the submission do extra profiling?
quota_item: boolDoes this submission count against quota?
services: ServiceSelectionService selection
service_spec: HashMap<String, JsonMap>Service-specific parameters
submitter: StringUser who submitted the file
ttl: u32Time, in days, to live for this submission
submission_type: StringType of submission
initial_data: Option<String>Initialization for temporary submission data
auto_archive: boolDoes the submission automatically goes into the archive when completed?
delete_after_archive: boolWhen the submission is archived, should we delete it from hot storage right away?
Trait Implementations§
Source§impl Clone for SubmissionParams
impl Clone for SubmissionParams
Source§fn clone(&self) -> SubmissionParams
fn clone(&self) -> SubmissionParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SubmissionParams
impl Debug for SubmissionParams
Source§impl Default for SubmissionParams
impl Default for SubmissionParams
Source§impl Described<ElasticMeta> for SubmissionParams
impl Described<ElasticMeta> for SubmissionParams
Source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Source§impl<'de> Deserialize<'de> for SubmissionParams
impl<'de> Deserialize<'de> for SubmissionParams
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>,
Auto Trait Implementations§
impl Freeze for SubmissionParams
impl RefUnwindSafe for SubmissionParams
impl Send for SubmissionParams
impl Sync for SubmissionParams
impl Unpin for SubmissionParams
impl UnwindSafe for SubmissionParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more