pub struct CreateScanRequest {
pub binary_name: String,
pub binary_size: u64,
pub binary_hash: String,
pub project_name: String,
pub project_uri: Option<String>,
pub dev_stage: DevStage,
pub app_id: Option<String>,
pub project_ref: Option<String>,
pub scan_timeout: Option<u32>,
pub plugin_version: Option<String>,
pub emit_stack_dump: Option<String>,
pub include_modules: Option<String>,
}
Expand description
Pipeline scan request for creating a new scan
Fields§
§binary_name: String
Name of the binary/artifact being scanned (MANDATORY)
binary_size: u64
Size of the binary in bytes (MANDATORY)
binary_hash: String
SHA-256 hash of the binary (MANDATORY)
project_name: String
Project name
project_uri: Option<String>
Project URI (optional)
dev_stage: DevStage
Development stage
app_id: Option<String>
Application ID (optional, for linking to existing Veracode app)
project_ref: Option<String>
Project reference/branch/commit (optional)
scan_timeout: Option<u32>
Scan timeout in minutes (optional)
plugin_version: Option<String>
Plugin version (automatically set)
emit_stack_dump: Option<String>
Emit stack dump flag (optional)
include_modules: Option<String>
Include specific modules (optional)
Trait Implementations§
Source§impl Clone for CreateScanRequest
impl Clone for CreateScanRequest
Source§fn clone(&self) -> CreateScanRequest
fn clone(&self) -> CreateScanRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateScanRequest
impl Debug for CreateScanRequest
Source§impl<'de> Deserialize<'de> for CreateScanRequest
impl<'de> Deserialize<'de> for CreateScanRequest
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 Freeze for CreateScanRequest
impl RefUnwindSafe for CreateScanRequest
impl Send for CreateScanRequest
impl Sync for CreateScanRequest
impl Unpin for CreateScanRequest
impl UnwindSafe for CreateScanRequest
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