faraday
faraday copied to clipboard
Feature Request: Add API Method to add evidence Images
Would like to add images through the API, so I can write a plugin for Eyewitness
Hi discoking, We'll keep it in mind and discuss it later on. Thank you for the feedback! Have a nice day.
@discoking we added a new endpoint in v3.4. the url is /v2/ws/<workspace_name>/vulns/<vuln_id>/attachment/ You have to do a POST request with a file upload.
Check out unit test to learn how to use the new endpoint https://github.com/infobyte/faraday/blob/master/test_cases/test_api_vulnerability.py#L1579