pub struct FindingView {
pub created_at: Option<i32>,
pub fingerprint: Option<String>,
pub id: Option<String>,
pub line: Option<i32>,
pub path: Option<String>,
pub preview: Option<String>,
pub rule_id: Option<String>,
pub rule_name: Option<String>,
pub scan_id: Option<String>,
pub severity: Option<String>,
}Fields§
§created_at: Option<i32>CreatedAt is when the finding was recorded, in Unix milliseconds.
fingerprint: Option<String>Fingerprint is the SHA-256 of the raw secret. It is what makes the same secret recognisable across scans and after rotation without the secret ever being written down.
id: Option<String>ID addresses this finding.
line: Option<i32>Line is where in that file.
path: Option<String>Path is the file the secret was found in.
preview: Option<String>Preview is the secret MASKED — first and last characters kept, the middle starred — so a reviewer can recognise it without it being disclosed.
rule_id: Option<String>RuleID is the detection rule that fired.
rule_name: Option<String>RuleName is that rule’s human name.
scan_id: Option<String>ScanID is the scan that produced it.
severity: Option<String>Severity ranks the finding: critical, high, medium or low.
Implementations§
Source§impl FindingView
impl FindingView
pub fn new() -> FindingView
Trait Implementations§
Source§impl Clone for FindingView
impl Clone for FindingView
Source§fn clone(&self) -> FindingView
fn clone(&self) -> FindingView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FindingView
impl Debug for FindingView
Source§impl Default for FindingView
impl Default for FindingView
Source§fn default() -> FindingView
fn default() -> FindingView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FindingView
impl<'de> Deserialize<'de> for FindingView
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
Source§impl PartialEq for FindingView
impl PartialEq for FindingView
Source§impl Serialize for FindingView
impl Serialize for FindingView
impl StructuralPartialEq for FindingView
Auto Trait Implementations§
impl Freeze for FindingView
impl RefUnwindSafe for FindingView
impl Send for FindingView
impl Sync for FindingView
impl Unpin for FindingView
impl UnsafeUnpin for FindingView
impl UnwindSafe for FindingView
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