Expand description
Security Scanner Module
This module provides comprehensive security analysis for workflows, including threat detection, risk assessment, compliance checking, and security audit report generation.
§Features
- Threat Detection: Identify security vulnerabilities (injection, XSS, etc.)
- Risk Assessment: Calculate risk scores and impact analysis
- Compliance Checking: Validate against security standards (GDPR, etc.)
- Secret Scanning: Advanced secret and credential detection
- Audit Reports: Generate comprehensive security audit reports
§Example
use oxify_model::security::{SecurityScanner, SecurityConfig, RiskLevel};
use oxify_model::WorkflowBuilder;
let workflow = WorkflowBuilder::new("test")
.start("Start")
.end("End")
.build();
let scanner = SecurityScanner::new(SecurityConfig::default());
let report = scanner.scan(&workflow);
println!("Security Score: {}", report.security_score);
println!("Critical Issues: {}", report.findings_by_severity(RiskLevel::Critical).len());Structs§
- Risk
Summary - Risk summary statistics
- Security
Audit Report - Security audit report
- Security
Config - Security scanner configuration
- Security
Finding - Security finding
- Security
Scanner - Security scanner for workflows
Enums§
- Compliance
Standard - Compliance standard
- Risk
Level - Risk level for security findings
- Threat
Category - Category of security threat