From fa3c64758dd2917e90086bf482571ca250019b21 Mon Sep 17 00:00:00 2001 From: MorAlon1 <101275199+MorAlon1@users.noreply.github.com> Date: Tue, 17 Oct 2023 12:39:00 +0300 Subject: [PATCH 1/2] Update README-dockerhub.md --- README-dockerhub.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README-dockerhub.md b/README-dockerhub.md index 8770a61a..2181f51c 100644 --- a/README-dockerhub.md +++ b/README-dockerhub.md @@ -70,6 +70,10 @@ There are some env vars for overriding this data; | CA-CRET | Use this environment variable to set path to CA certificate | | XDG_DATA_HOME | use this environment variable to designate the base directory for storing user-specific data | | XDG_CACHE_HOME | use this environment variable for setting the cache directory | +| ENABLE_TRIVY_STDOUT | use this environment variable with true value for full desplay of your scan results in your environment | +| SAST_LOGS | use this environment variable with true value for writing sast logs to file | +| SAST_LOGS_DIR | yse this environment variable to explicitly specify the location where the log file should be written | + ## Command Line Arguments @@ -124,6 +128,7 @@ jobs: ### Usage for running manually using docker command ```bash +EXPORT AQUA_KEY=${AQUA_KEY} AQUA_SECRET=${AQUA_SECRET} docker run -it aquasec/aqua-scanner trivy fs --scanners config,vuln,secret . ``` From 92a2bdc1ab2bc0a0663d6aadab758c89b26458ef Mon Sep 17 00:00:00 2001 From: MorAlon1 <101275199+MorAlon1@users.noreply.github.com> Date: Tue, 17 Oct 2023 12:39:50 +0300 Subject: [PATCH 2/2] Update README-dockerhub.md --- README-dockerhub.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-dockerhub.md b/README-dockerhub.md index 2181f51c..367d2210 100644 --- a/README-dockerhub.md +++ b/README-dockerhub.md @@ -72,7 +72,7 @@ There are some env vars for overriding this data; | XDG_CACHE_HOME | use this environment variable for setting the cache directory | | ENABLE_TRIVY_STDOUT | use this environment variable with true value for full desplay of your scan results in your environment | | SAST_LOGS | use this environment variable with true value for writing sast logs to file | -| SAST_LOGS_DIR | yse this environment variable to explicitly specify the location where the log file should be written | +| SAST_LOGS_DIR | use this environment variable to explicitly specify the location where the log file should be written |