Skip to content

Commit

Permalink
Updates install script. (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphabot authored Apr 19, 2023
1 parent 8d98076 commit a2e0700
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pull-scan.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Install cli on latest version
curl -s -L https://gist.githubusercontent.com/raphabot/abae09b46c29afc7c3b918b7b8ec2a5c/raw/d87fbede38544d1adf5953fd0ce104e935c3a8dc/tmas-install.sh | bash
curl -s -L https://gist.githubusercontent.com/raphabot/abae09b46c29afc7c3b918b7b8ec2a5c/raw/90c24ac0eb5235819bbb3ee7f575500d7debfcfb/tmas-install.sh | bash

# Sets default value for IMAGE_TARBALL
IMAGE_TARBALL="image.tar"
Expand All @@ -25,7 +25,6 @@ tmas scan --endpoint "https://artifactscan.$REGION.cloudone.trendmicro.com" dock
# print the result
cat "$SCAN_RESULT_ARTIFACT"


# Evaluates the result
MESSAGE=""
TOTAL_VULNERABILITIES="$(jq '.totalVulnCount' "$SCAN_RESULT_ARTIFACT")"
Expand Down

0 comments on commit a2e0700

Please sign in to comment.