pub struct UploadSampleV2Request {
pub sample: PathBuf,
pub file_name: String,
pub comment: Option<String>,
pub is_confidential: Option<bool>,
}Fields§
§sample: PathBufContent of the uploaded sample in binary format. For example, use --data-binary @$FILE_PATH when using cURL. Max file size: 256 MB. Accepted file formats: - Portable executables: .exe, .scr, .pif, .dll, .com, .cpl, etc. - Office documents: .doc, .docx, .ppt, .pps, .pptx, .ppsx, .xls, .xlsx, .rtf, .pub - PDF - APK - Executable JAR - Windows script component: .sct - Windows shortcut: .lnk - Windows help: .chm - HTML application: .hta - Windows script file: .wsf - Javascript: .js - Visual Basic: .vbs, .vbe - Shockwave Flash: .swf - Perl: .pl - Powershell: .ps1, .psd1, .psm1 - Scalable vector graphics: .svg - Python: .py - Linux ELF executables - Email files: MIME RFC 822 .eml, Outlook .msg.
file_name: StringName of the file.
comment: Option<String>A descriptive comment to identify the file for other users.
is_confidential: Option<bool>Defines visibility of this file in Falcon MalQuery, either via the API or the Falcon console. - true: File is only shown to users within your customer account - false: File can be seen by other CrowdStrike customers Default: true.
Implementations§
Source§impl UploadSampleV2Request
impl UploadSampleV2Request
pub fn new(sample: PathBuf, file_name: String) -> UploadSampleV2Request
Trait Implementations§
Source§impl Clone for UploadSampleV2Request
impl Clone for UploadSampleV2Request
Source§fn clone(&self) -> UploadSampleV2Request
fn clone(&self) -> UploadSampleV2Request
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more