MCPcopy Create free account
hub / github.com/KingOfBugbounty/enumrust / vulnerability_found

Method vulnerability_found

src/progress.rs:195–207  ·  view source on GitHub ↗
(&self, severity: &str, name: &str, progress: f32)

Source from the content-addressed store, hash-verified

193
194 #[allow(dead_code)]
195 pub fn vulnerability_found(&self, severity: &str, name: &str, progress: f32) {
196 self.add_event(
197 EventType::VulnerabilityFound {
198 severity: severity.to_string(),
199 },
200 format!("🚨 Vulnerabilidade [{}]: {}", severity, name),
201 progress,
202 Some(serde_json::json!({
203 "severity": severity,
204 "name": name,
205 })),
206 );
207 }
208
209 pub fn scan_completed(&self) {
210 self.add_event(

Callers

nothing calls this directly

Calls 1

add_eventMethod · 0.80

Tested by

no test coverage detected