mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 13:01:56 +00:00
fix(session_duration): Use jq with TZ=UTC (#1195)
This commit is contained in:
@@ -36,6 +36,8 @@ SEND_TO_SECURITY_HUB=0
|
||||
export SEND_TO_SECURITY_HUB
|
||||
|
||||
# Date & Time
|
||||
TZ=UTC
|
||||
export TZ
|
||||
PROWLER_START_TIME=$( date -u +"%Y-%m-%dT%H:%M:%S%z" )
|
||||
export PROWLER_START_TIME
|
||||
OUTPUT_DATE=$(date -u +"%Y%m%d%H%M%S")
|
||||
|
||||
Reference in New Issue
Block a user