Skip to content

Commit c099d52

Browse files
committed
AquaSec Scan update
1 parent 0d3ff0e commit c099d52

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/aquasec_repository_scan.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,13 @@ jobs:
3535
AUTH_ENDPOINT="https://eu-1.api.cloudsploit.com/v2/tokens"
3636
TIMESTAMP=$(date -u +%s)
3737
POST_BODY='{
38-
"group_id": 1155,
39-
"allowed_endpoints": ["GET", "POST"],
40-
"validity": 240,
41-
"csp_roles": ["developer", "devops"]
38+
"group_id": 1228,
39+
"allowed_endpoints": ["GET"],
40+
"validity": 240
4241
}'
4342
STRING_TO_SIGN="${TIMESTAMP}${METHOD}/v2/tokens${POST_BODY}"
4443
SIGNATURE=$(echo -n "$STRING_TO_SIGN" | openssl dgst -sha256 -hmac "$AQUA_SECRET" -hex | sed 's/.*= //g')
4544
46-
4745
AUTH_RESPONSE=$(curl -s -X "$METHOD" "$AUTH_ENDPOINT" \
4846
-H "Content-Type: application/json" \
4947
-H "X-API-Key: $AQUA_KEY" \

0 commit comments

Comments
 (0)