wallarm / gotestwaf

An open-source project in Golang to asess different API Security tools and WAF for detection logic and bypasses
https://lab.wallarm.com/test-your-waf-before-hackers/
MIT License
1.52k stars 207 forks source link

Unable to export report using the latest docker image #248

Closed Utkarsh2104 closed 1 month ago

Utkarsh2104 commented 1 month ago

Error -> caught error in main function" error="couldn't export full report: couldn't render HTML report to PDF: couldn't render HTML file to PDF: chrome failed to start:\nFailed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted. Using the previous image, it was working fine.

svkirillov commented 1 month ago

Hi!

Thanks for the report. Could you please provide the full GTW run command and information about the environment?

svkirillov commented 1 month ago

Fixed in version v0.5.2. Note that if you want to use Chrome as a client to perform HTTP requests (via the --httpClient argument), you need to add --cap-add=SYS_ADMIN to the Docker options on Linux systems.