-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
chore(s3): create class and refactor #4457
Conversation
# TODO: fix the above | ||
# CSV | ||
# s3_client.upload_file( | ||
# {args.output_directory} / {output_file + csv_file_suffix}, | ||
# output_bucket, | ||
# object_name, | ||
# ) | ||
# JSON | ||
# s3_client.upload_file( | ||
# {args.output_directory} / {output_file + csv_file_suffix}, | ||
# output_bucket, | ||
# object_name, | ||
# ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sergargar could you please fix this. We should not use the S3 class anymore here since the QuickInventory has not an output created yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4457 +/- ##
==========================================
- Coverage 88.69% 88.58% -0.12%
==========================================
Files 893 893
Lines 27205 27231 +26
==========================================
- Hits 24130 24123 -7
- Misses 3075 3108 +33 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏼 👏🏼 👏🏼
Co-authored-by: pedrooot <pedromarting3@gmail.com> Co-authored-by: Sergio <sergio@prowler.com>
Context
We are working to decouple all outputs and integrations and now is the turn for the S3 integration to send Prowler's output to a bucket.
Description
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.