MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / toggleAdvVulnScanLogs

Function toggleAdvVulnScanLogs

web/scripts/ragnar_modern.js:19230–19239  ·  view source on GitHub ↗
(scanId)

Source from the content-addressed store, hash-verified

19228 if (!button || button.dataset.busy === 'true') {
19229 return;
19230 }
19231
19232 const action = button.dataset.action || 'stop';
19233 const targetStateEnabled = action === 'start';
19234 button.dataset.busy = 'true';
19235 button.disabled = true;
19236 button.classList.add('opacity-70');
19237 button.textContent = action === 'start' ? 'Enabling...' : 'Disabling...';
19238
19239 try {
19240 let data;
19241 if (action === 'start') {
19242 data = await startOrchestrator();

Callers

nothing calls this directly

Calls 4

addMethod · 0.80
fetchScanLogsFunction · 0.70
updateActiveScansFunction · 0.70
deleteMethod · 0.45

Tested by

no test coverage detected