New Github support for CVE verification.
This commit is contained in:
@@ -84,6 +84,12 @@ public class ScriptController {
|
||||
return triggerScript("enrichCVE_MSRC.js", "📡 MSRC sync launched in background.", getMsrcLogFile());
|
||||
}
|
||||
|
||||
@PreAuthorize("hasRole('ADMIN')")
|
||||
@PostMapping("/verify-cve-count")
|
||||
public ResponseEntity<String> verifyCveCount(@AuthenticationPrincipal Object user) {
|
||||
return triggerScript("verifyCVECountAPI.js", "🔍 CVE verification started - comparing with GitHub API.", getCveLogFile());
|
||||
}
|
||||
|
||||
@PreAuthorize("hasRole('ADMIN')")
|
||||
@GetMapping("/fetch-cve/logs")
|
||||
public ResponseEntity<String> fetchLogs(@AuthenticationPrincipal Object user) {
|
||||
|
||||
Reference in New Issue
Block a user