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

Function fetchHostInvestigationData

web/scripts/ragnar_modern.js:16742–16765  ·  view source on GitHub ↗
(ip)

Source from the content-addressed store, hash-verified

16740 chevron.classList.remove('rotate-180');
16741 }
16742}
16743
16744// ============================================================================
16745// VULNERABILITY INTELLIGENCE FUNCTIONS
16746// ============================================================================
16747
16748async function loadVulnerabilityIntel() {
16749 try {
16750 const container = document.getElementById('vulnerability-intel-container');
16751
16752 // Show loading state
16753 container.innerHTML = `
16754 <div class="text-center text-gray-400 py-8">
16755 <svg class="w-8 h-8 inline animate-spin mb-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
16756 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"></path>
16757 </svg>
16758 <p>Loading service intelligence...</p>
16759 </div>
16760 `;
16761
16762 const data = await fetchAPI('/api/vulnerability-intel');
16763
16764 if (!data) {
16765 container.innerHTML = `
16766 <div class="text-center text-red-400 py-8">
16767 <p>Error loading service intelligence</p>
16768 </div>

Callers 1

showTrafficHostDetailFunction · 0.70

Calls 2

tryFetchFunction · 0.85
filterMethod · 0.80

Tested by

no test coverage detected