pub struct SecurityIssues {
pub dangerous_functions: Vec<String>,
pub hardcoded_secrets: Vec<SecretMatch>,
pub insecure_http: bool,
}Expand description
Security issues found in code
Fields§
§dangerous_functions: Vec<String>List of dangerous functions found
hardcoded_secrets: Vec<SecretMatch>List of potential hardcoded secrets
insecure_http: boolWhether insecure HTTP URLs were found
Implementations§
Source§impl SecurityIssues
impl SecurityIssues
Sourcepub fn has_issues(&self) -> bool
pub fn has_issues(&self) -> bool
Check if any security issues were found
Sourcepub fn total_count(&self) -> usize
pub fn total_count(&self) -> usize
Get total number of issues
Trait Implementations§
Source§impl Clone for SecurityIssues
impl Clone for SecurityIssues
Source§fn clone(&self) -> SecurityIssues
fn clone(&self) -> SecurityIssues
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 SecurityIssues
impl Debug for SecurityIssues
Source§impl Default for SecurityIssues
impl Default for SecurityIssues
Source§fn default() -> SecurityIssues
fn default() -> SecurityIssues
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SecurityIssues
impl RefUnwindSafe for SecurityIssues
impl Send for SecurityIssues
impl Sync for SecurityIssues
impl Unpin for SecurityIssues
impl UnwindSafe for SecurityIssues
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