faraday icon indicating copy to clipboard operation
faraday copied to clipboard

Feature Request: Add API Method to add evidence Images

Open discoking opened this issue 9 years ago • 2 comments

Would like to add images through the API, so I can write a plugin for Eyewitness

discoking avatar Jun 14 '17 19:06 discoking

Hi discoking, We'll keep it in mind and discuss it later on. Thank you for the feedback! Have a nice day.

WinnaZ avatar Jun 21 '17 15:06 WinnaZ

@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

llazzaro avatar Dec 11 '18 20:12 llazzaro