Skip to content
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

[Bug]: csv output is empty (only column names) #3897

Closed
marcosnr opened this issue Apr 30, 2024 · 4 comments · Fixed by #3914
Closed

[Bug]: csv output is empty (only column names) #3897

marcosnr opened this issue Apr 30, 2024 · 4 comments · Fixed by #3914
Assignees
Labels
bug status/needs-triage Issue pending triage

Comments

@marcosnr
Copy link

Steps to Reproduce

prowler aws -s iam -M csv

Expected behavior

After execution, it says:

Detailed results are in:
 - CSV: /shared/prepo/prowler/output/prowler-output-XXXXXX-20240430165309.csv

But that csv only have the name of the columns, but no info of findings (there many fails)

Actual Result with Screenshots or Logs

2024-04-30_debug.log
@lok-sec-prod-admin$ cat /Users/marcosnr/shared/prepo/prowler/output/prowler-output-1234567890123-20240430170020.csv
AUTH_METHOD;TIMESTAMP;ACCOUNT_UID;ACCOUNT_NAME;ACCOUNT_EMAIL;ACCOUNT_ORGANIZATION_UID;ACCOUNT_ORGANIZATION_NAME;ACCOUNT_TAGS;FINDING_UID;PROVIDER;CHECK_ID;CHECK_TITLE;CHECK_TYPE;STATUS;STATUS_EXTENDED;MUTED;SERVICE_NAME;SUBSERVICE_NAME;SEVERITY;RESOURCE_TYPE;RESOURCE_UID;RESOURCE_NAME;RESOURCE_DETAILS;RESOURCE_TAGS;PARTITION;REGION;DESCRIPTION;RISK;RELATED_URL;REMEDIATION_RECOMMENDATION_TEXT;REMEDIATION_RECOMMENDATION_URL;REMEDIATION_CODE_NATIVEIAC;REMEDIATION_CODE_TERRAFORM;REMEDIATION_CODE_CLI;REMEDIATION_CODE_OTHER;COMPLIANCE;CATEGORIES;DEPENDS_ON;RELATED_TO;NOTES;PROWLER_VERSION

How did you install Prowler?

Cloning the repository from github.com (git clone)

Environment Resource

  1. Workstation MacBook Pro under poetry shell

OS used

MacOS Sonoma 14.4.1

Prowler version

Prowler 4.1.0 (You are running the latest version, yay!) (prowler-py3.10)

Pip version

pip 23.3.1 from /Users/marcosnr/Library/Caches/pypoetry/virtualenvs/prowler-5X3pVy1M-py3.10/lib/python3.10/site-packages/pip (python 3.10) (prowler-py3.10)

Context

Recently like 2 weeks ago I was using v3 with no problem, today I saw the prompt to upgrade, so I did, 'git pull' 'poetry install' all good, but now this csv output is not working :(

@pedrooot
Copy link
Member

Hi! @marcosnr thanks for the report, I´ll work on this issue and reach you with a solution!
Thanks for using Prowler!!!

@marcosnr
Copy link
Author

marcosnr commented May 1, 2024

My absolute pleasure to work with prowler! Let me know what I can do to help out!

@marcosnr
Copy link
Author

marcosnr commented May 1, 2024

FYI, just git co tag 3.15 version and all worked as expected

@pedrooot
Copy link
Member

pedrooot commented May 3, 2024

hey @marcosnr ! In this pr the issue should be solved, test it and reopen the issue if you have any problem! Thanks for using Prowler 🚀

@pedrooot pedrooot closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status/needs-triage Issue pending triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants