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

Function extractLogTimestamp

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

Source from the content-addressed store, hash-verified

12064 <svg class="w-5 h-5 text-cyan-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
12065 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
12066 </svg>
12067 <div>
12068 <div class="font-semibold text-lg">${escapeHtml(scan.hostname)}</div>
12069 <div class="text-sm text-gray-400">${escapeHtml(scan.ip)}</div>
12070 </div>
12071 </div>
12072 <div class="flex items-center space-x-4">
12073 ${scan.download_url ? `
12074 <a href="${scan.download_url}" target="_blank" rel="noopener noreferrer"
12075 class="text-xs px-3 py-1 rounded-full bg-cyan-900/60 text-cyan-200 border border-cyan-500/40 hover:bg-cyan-800/80 transition">
12076 ${scan.scan_type === 'lynis' ? 'Download full report' : 'View full report'}
12077 </a>
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">

Callers 1

Calls 1

testMethod · 0.45

Tested by

no test coverage detected