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

Function createConsoleEntryFromLog

web/scripts/ragnar_modern.js:12080–12088  ·  view source on GitHub ↗
(logLine)

Source from the content-addressed store, hash-verified

12078 ` : ''}
12079 ${(scan.log_url && scan.log_url !== scan.download_url) ? `
12080 <a href="${scan.log_url}" target="_blank" rel="noopener noreferrer"
12081 class="text-xs px-3 py-1 rounded-full bg-slate-900/60 text-slate-200 border border-slate-500/40 hover:bg-slate-800/80 transition">
12082 View audit log
12083 </a>
12084 ` : ''}
12085 <span class="text-sm text-cyan-400">📡 ${serviceCount} services</span>
12086 ${scriptCount > 0 ? `<span class="text-sm text-purple-400">📜 ${scriptCount} scripts</span>` : ''}
12087 <span class="text-xs text-gray-500">${scan.scan_date}</span>
12088 <svg id="vuln-chevron-${scan.ip.replace(/\./g, '-')}" class="w-5 h-5 text-gray-400 transform transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24">
12089 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
12090 </svg>
12091 </div>

Callers 1

updateConsoleFunction · 0.70

Calls 2

determineConsoleLogTypeFunction · 0.70
extractLogTimestampFunction · 0.70

Tested by

no test coverage detected