Files
prowler/docs/tutorials/aws/s3.md
T
Rubén De la Torre Vico 9ca1899ebf docs(tutorials): improve quality redrive (#7915)
Co-authored-by: Daniel Barranquero <danielbo2001@gmail.com>
Co-authored-by: Andoni Alonso <14891798+andoniaf@users.noreply.github.com>
2025-07-29 11:03:52 +02:00

33 lines
938 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Sending Reports to an AWS S3 Bucket
To save reports directly in an S3 bucket, use: `-B`/`--output-bucket`.
```sh
prowler aws -B my-bucket
```
### Custom Folder and Filename
For a custom folder and/or filename, specify: `-o`/`--output-directory` and/or `-F`/`--output-filename`.
```sh
prowler aws \
-B my-bucket \
--output-directory test-folder \
--output-filename output-filename
```
### Custom Output Formats
By default, Prowler sends HTML, JSON, and CSV output formats. To specify a single output format, use the `-M`/`--output-modes` flag.
```sh
prowler aws -M csv -B my-bucket
```
???+ note
If you prefer using the initial credentials instead of the assumed role credentials for uploading reports, use `-D`/`--output-bucket-no-assume` instead of `-B`/`--output-bucket`.
???+ warning
Ensure the credentials used have write permissions for the `s3:PutObject` where reports will be uploaded.