socfortress / CoPilot

SOCFortress CoPilot
https://www.socfortress.co
GNU Affero General Public License v3.0
210 stars 40 forks source link

Vulnerabilities Tab for Agent Displays No Vulnerabilities With Wazuh Manager 4.8.0 #267

Closed ccben87 closed 4 months ago

ccben87 commented 4 months ago

Describe the bug When clicking on the Vulnerabilities tab for any agent, an error popup displays "An error occurred. Please try again later.". Checking browser's console in browser's developer tools shows that when attempting to access the Vulnerabilities tab that the server is responding with 404 for the URL https:///api/agents/${agentId}/vulnerabilities

Not sure what is going on.

To Reproduce Steps to reproduce the behavior:

  1. Login.
  2. Click Agents.
  3. Pick any Agent and click on it.
  4. Click on the Vulnerabilities tab, wait for error popup to show up.
  5. Page says "No vulnerabilities detected".

I have confirmed there are vulnerabilities for the agent in question in Wazuh Dashboard.

Expected behavior Vulnerabilities list should show or at least display "No vulnerabilities detected" without an error happening.

Screenshots image

**Container Logs Nothing appears in the logs when accessing the Vulnerabilities tab.

ccben87 commented 4 months ago

Disregard.