You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hello Shafiuddin, First of all, thanks for using Wazuh. Let me check some documentation and I will be back with an answer as soon as possible. Regards
Matias Braida
unread,
Apr 26, 2023, 9:06:11 AM4/26/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hello again,
There are some errors in your command.
What wazuh manager version do you have installed?
First, you need to authenticate using user and password. If you have version 4.4, then try this command: curl -u <USER>:<PASSWORD> -k -X POST "https://<HOST_IP>:55000/security/user/authenticate"
If you have version 4.3, then try this command: curl -u <USER>:<PASSWORD> -k -X GET "https://<HOST_IP>:55000/security/user/authenticate"
Then you could execute your query request using this obtained token. With this command: curl "https://localhost:55000/vulnerability/<AGENT_ID>?severity=High&sort=cve" -H "Authorization: Bearer <YOUR_JWT_TOKEN>"