Struct googapis::google::cloud::websecurityscanner::v1alpha::Finding [−][src]
pub struct Finding {Show 15 fields
pub name: String,
pub finding_type: i32,
pub http_method: String,
pub fuzzed_url: String,
pub body: String,
pub description: String,
pub reproduction_url: String,
pub frame_url: String,
pub final_url: String,
pub tracking_id: String,
pub outdated_library: Option<OutdatedLibrary>,
pub violating_resource: Option<ViolatingResource>,
pub vulnerable_headers: Option<VulnerableHeaders>,
pub vulnerable_parameters: Option<VulnerableParameters>,
pub xss: Option<Xss>,
}
Expand description
A Finding resource represents a vulnerability instance identified during a ScanRun.
Fields
name: String
The resource name of the Finding. The name follows the format of ‘projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}’. The finding IDs are generated by the system.
finding_type: i32
The type of the Finding.
http_method: String
The http method of the request that triggered the vulnerability, in uppercase.
fuzzed_url: String
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
body: String
The body of the request that triggered the vulnerability.
description: String
The description of the vulnerability.
reproduction_url: String
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
frame_url: String
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
final_url: String
The URL where the browser lands when the vulnerability is detected.
tracking_id: String
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
outdated_library: Option<OutdatedLibrary>
An addon containing information about outdated libraries.
violating_resource: Option<ViolatingResource>
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
vulnerable_headers: Option<VulnerableHeaders>
An addon containing information about vulnerable or missing HTTP headers.
vulnerable_parameters: Option<VulnerableParameters>
An addon containing information about request parameters which were found to be vulnerable.
xss: Option<Xss>
An addon containing information reported for an XSS, if any.
Implementations
Returns the enum value of finding_type
, or the default if the field is set to an invalid enum value.
Sets finding_type
to the provided enum value.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Finding
impl UnwindSafe for Finding
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more