pub struct SecurityAuditReport {
pub workflow_id: String,
pub workflow_name: String,
pub findings: Vec<SecurityFinding>,
pub security_score: f64,
pub compliance_status: HashMap<ComplianceStandard, bool>,
pub risk_summary: RiskSummary,
pub scanned_at: String,
pub recommendations: Vec<String>,
}Expand description
Security audit report
Fields§
§workflow_id: StringWorkflow ID being audited
workflow_name: StringWorkflow name
findings: Vec<SecurityFinding>All security findings
security_score: f64Overall security score (0-100, higher is better)
compliance_status: HashMap<ComplianceStandard, bool>Compliance status
risk_summary: RiskSummaryRisk summary
scanned_at: StringScan timestamp
recommendations: Vec<String>Recommendations
Implementations§
Source§impl SecurityAuditReport
impl SecurityAuditReport
Sourcepub fn findings_by_severity(&self, level: RiskLevel) -> Vec<&SecurityFinding>
pub fn findings_by_severity(&self, level: RiskLevel) -> Vec<&SecurityFinding>
Get findings by risk level
Sourcepub fn findings_by_category(
&self,
category: ThreatCategory,
) -> Vec<&SecurityFinding>
pub fn findings_by_category( &self, category: ThreatCategory, ) -> Vec<&SecurityFinding>
Get findings by category
Sourcepub fn total_findings(&self) -> usize
pub fn total_findings(&self) -> usize
Get total finding count
Trait Implementations§
Source§impl Clone for SecurityAuditReport
impl Clone for SecurityAuditReport
Source§fn clone(&self) -> SecurityAuditReport
fn clone(&self) -> SecurityAuditReport
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 SecurityAuditReport
impl Debug for SecurityAuditReport
Source§impl<'de> Deserialize<'de> for SecurityAuditReport
impl<'de> Deserialize<'de> for SecurityAuditReport
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 SecurityAuditReport
impl RefUnwindSafe for SecurityAuditReport
impl Send for SecurityAuditReport
impl Sync for SecurityAuditReport
impl Unpin for SecurityAuditReport
impl UnwindSafe for SecurityAuditReport
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