Initial commit: Compliance Scanner Agent
Autonomous security and compliance scanning agent for git repositories. Features: SAST (Semgrep), SBOM (Syft), CVE monitoring (OSV.dev/NVD), GDPR/OAuth pattern detection, LLM triage, issue creation (GitHub/GitLab/Jira), PR reviews, and Dioxus fullstack dashboard. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
use dioxus::prelude::*;
|
||||
|
||||
#[component]
|
||||
pub fn SeverityBadge(severity: String) -> Element {
|
||||
let class = match severity.to_lowercase().as_str() {
|
||||
"critical" => "badge badge-critical",
|
||||
"high" => "badge badge-high",
|
||||
"medium" => "badge badge-medium",
|
||||
"low" => "badge badge-low",
|
||||
_ => "badge badge-info",
|
||||
};
|
||||
|
||||
rsx! {
|
||||
span { class: class, "{severity}" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user