From 0c7adae3cd4c38f93ff878691cc1f1543003e71a Mon Sep 17 00:00:00 2001 From: Toni de la Fuente Date: Mon, 13 Dec 2021 15:20:37 +0100 Subject: [PATCH] Add docker volume example to README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 9aed702378..ea2a0d2a68 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,11 @@ Prowler has been written in bash using AWS-CLI and it works in Linux and OSX. docker run -ti --rm --name prowler --env AWS_ACCESS_KEY_ID --env AWS_SECRET_ACCESS_KEY --env AWS_SESSION_TOKEN toniblyx/prowler:latest ``` + In case you want to get reports created by Prowler use docker volume option like in the example below: + ```sh + docker run -ti --rm -v /your/local/output:/prowler/output --name prowler --env AWS_ACCESS_KEY_ID --env AWS_SECRET_ACCESS_KEY --env AWS_SESSION_TOKEN toniblyx/prowler:latest -g hipaa -M csv,json,html + ``` + 1. For custom AWS-CLI profile and region, use the following: (it will use your custom profile and run checks over all regions when needed): ```sh