(endpoint, options = {})
| 11662 | chevron.classList.add('rotate-180'); |
| 11663 | } else { |
| 11664 | container.classList.add('hidden'); |
| 11665 | chevron.classList.remove('rotate-180'); |
| 11666 | } |
| 11667 | } |
| 11668 | |
| 11669 | // ============================================================================ |
| 11670 | // VULNERABILITY INTELLIGENCE FUNCTIONS |
| 11671 | // ============================================================================ |
| 11672 | |
| 11673 | async function loadVulnerabilityIntel() { |
| 11674 | try { |
| 11675 | const container = document.getElementById('vulnerability-intel-container'); |
| 11676 | |
| 11677 | // Show loading state |
| 11678 | container.innerHTML = ` |
| 11679 | <div class="text-center text-gray-400 py-8"> |
| 11680 | <svg class="w-8 h-8 inline animate-spin mb-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 11681 | <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> |
| 11682 | </svg> |
no test coverage detected