Skip to content

Commit 58bdb7e

Browse files
authored
Update git-secret-scanner.sh
1 parent 121bf37 commit 58bdb7e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

git-secret-scanner.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ SENDER_EMAIL_PASSWORD="$SENDER_EMAIL_PASSWORD"
1515
ACCOUNT_DEFAULT="$ACCOUNT_DEFAULT"
1616
RECIPIENT_EMAIL="$RECIPIENT_EMAIL"
1717
CX_API_KEY="$CX_API_KEY"
18+
CX_BASE_URL="$CX_BASE_URL"
19+
CX_BASE_AUTH_URL="$CX_BASE_AUTH_URL"
20+
CX_TENANT_NAME="$CX_TENANT_NAME"
1821

1922
if [ -z "$REPO_URL" ]; then
2023
echo " Error: REPO_URL not provided"
@@ -46,9 +49,9 @@ sudo mkdir -m 755 report_output
4649
sudo chmod -R 777 report_output
4750

4851
# Configure AST CLI
49-
cx configure set --prop-name 'cx_base_uri' --prop-value 'https://deu.ast.checkmarx.net/'
50-
cx configure set --prop-name 'cx_base_auth_uri' --prop-value 'https://deu.iam.checkmarx.net/'
51-
cx configure set --prop-name 'cx_tenant' --prop-value 'cx-cs-na-pspoc'
52+
cx configure set --prop-name 'cx_base_uri' --prop-value '$CX_BASE_URL'
53+
cx configure set --prop-name 'cx_base_auth_uri' --prop-value '$CX_BASE_AUTH_URL'
54+
cx configure set --prop-name 'cx_tenant' --prop-value '$CX_TENANT_NAME'
5255
cx configure set --prop-name 'cx_apikey' --prop-value '$CX_API_KEY'
5356

5457
# Run scan (outputs directly to ./report_output)

0 commit comments

Comments
 (0)