-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Prowler App] Report Download Failed #7586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The fix in the issue you mentioned should work. If it’s not working for you, it could be due to either an issue with The token is inside the If you set the token correctly and it still doesn't work, try deploying with docker compose and give it another go, as |
Hi @HugoPBrito, Thanks a lot for your response. Below is the output I now managed to get:
Note that after doing a Test Connection on all cloud providers/accounts, all connections are up with up to date credentials. |
It looks like your session token might have expired, which could explain part of the issue. Also, there might be a permissions problem. Just to clarify a couple of things:
We recommend trying to change the output path to a writable directory or double-checking the permissions and user context under which you're executing Prowler. Let us know if that helps or if you keep running into problems. |
Did you manage to solve the error? Please let us know if there's anything else you need, we’ll be happy to help. |
HI All - coming from the CLI version as the app will allow me to pass responsibility over to others ;-) Same issue as others have seen. Setup with docker-compose, minimal changes to the .env file:
both places in the docker-compose updated:
have consciously added chmod 777 to the directory ;-) API calls:
any thoughts? |
Hey! @TobyAnscombe could you try to run a new scan, and after it finishes get the report? If you have old scans (from previous versions) we can't generate a report with them |
Unfortunately no dice.. Can grab some logs if that would help? |
Hi, I had the same issue, I think the advice is a bit confusing, this is how I fixed mine.
Needs to be left as /tmp/prowler_api_output as this is a folder inside the container and does not have a permissions issue. Only change docker-compose.yml
I have the docker-compose.yml file in /opt/prowler, and created a /opt/prowler/api_output folder with permissions:
Easiest way to test the setup is to:
You should see: Run a scan, after a few minutes, the report should be downloadable and you will see it in the folder. If you are in AWS on an EC2, give the IAM role attached to the instance S3 access and in .env change the following:
And the report should be in the S3 bucket ready for download. |
Good shout @peter-fosseus-silicon - hadn't thought to exec in and try to create a file.. but sad-face still.. permissions are fine:
but still no joy ;-( In the api container I just get the following logs:
Using Insomnia I can get a token, log in, see the scan and even see the details but there is no report
http://{{ _['base_url:'] }}:8080/api/v1/scans/01973f02-0fe2-757a-a203-16ea5b1ffca1/report
I'll take another look later but the day-job is calling... |
Uh oh!
There was an error while loading. Please reload this page.
Steps to Reproduce
Hi,
Whenever I click "download" to generate and download a report in Prowler App, I get the below error:
A few other issues have been raised, recommending to change the .env and .yml file path; however, even after changing the paths to my current user and then re-deploying the containers, I get the same error, even though the folder gets created. Note that the folder gets created as root and after changing the permissions such that it is writeable, readable and executable to all users, I still get the same issue - so the issue does not seem to be at all access related.
.

.
Regarding the above screenshots, note that I have tried both:
Below is the output of the following steps regarding debugging:
I get: "Failure writing output to destination"
If anyone could help fixing this issue, it would be awesome. Is there a way to locate/extract the output manually otherwise in the meantime?
Expected behavior
To download the zip output
Actual Result with Screenshots or Logs
How did you install Prowler?
Docker (docker pull toniblyx/prowler)
Environment Resource
EC2 instance (t2.2xlarge) - 8vCPU and 32GB
Debian GNU/Linux 12
OS used
Debian GNU/Linux 12
Prowler version
Latest
Pip version
N/A
Context
No response
The text was updated successfully, but these errors were encountered: