SecurityRiskAdvisors / VECTR

VECTR is a tool that facilitates tracking of your red and blue team testing activities to measure detection and prevention capabilities across different attack scenarios
1.37k stars 162 forks source link

Bug: API returns 500. No context for troubleshooting #257

Open Dave-0-0 opened 7 months ago

Dave-0-0 commented 7 months ago

Describe the bug When making a request to the Graph API endpoint with a valid API Key, the server consistently fails with a 500 error. This happens using my own queries and Vectr's example queries. Checking the Event Viewer in Vectr does not give any information as to the failure.

To Reproduce Steps to reproduce the behavior:

  1. Run example query with valid API Key
  2. Receive 500 error with no context as to what went wrong

Expected behavior A 200 response that contains the requested data or an empty response if no data is found. (IE when using the examples provided in the documentation.) If an error occurs, the end user should have some direction on what went wrong or how to troubleshoot it.

Screenshots

image

User Platform(please complete the following information):

VECTR Host(please complete the following information):

Additional context

doodleincode commented 7 months ago

Try removing the colon after query. A colon at that spot is not valid syntax.