SourceCode-AI / aura

Python source code auditing and static analysis on a large scale
GNU General Public License v3.0
487 stars 31 forks source link

An Issue with HTML Output #12

Closed jspeed-meyers closed 2 years ago

jspeed-meyers commented 2 years ago

The bug When I run the Docker container and attempt to get HTML output, I get an error. The resulting HTML document says, "No such output format html"

To Reproduce Run this command: docker run -ti --rm sourcecodeai/aura:dev scan pypi://requests -f html > output.html

Expected behavior Expected a nicely formatted HTML document.

Desktop (please complete the following information):

Additional context I'm excited to use this feature. Nice work! Sorry if I'm doing something silly.

RootLUG commented 2 years ago

Can you confirm that you are running the latest dev docker image? If you have run the aura in docker before, that command would use the old image version which does not have HTML output format, you would need to run docker pull sourcecodeai/aura:dev to fetch the latest version first. I'm just making sure the version you are using is the right one :)

The digest of the container that will be printed when you run docker pull should be sha256:197b163219ecdc4103280526303d6b2ebea49ae1f2e6698ee2d8b41aa433096d for the latest version that has the HTML output support

jspeed-meyers commented 2 years ago

@RootLUG, of course I'm doing something silly! I hadn't fetched the latest version. It's working now. Thank you! New problem though. Will open a new issue.