File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 1616 - name : Test install on Ubuntu
1717 run : |
1818 chmod +x ./install-linux.sh
19- VANTA_SKIP_REGISTRATION_CHECK=1 VANTA_KEY=FAKEKEY ./install-linux.sh
19+ VANTA_SKIP_REGISTRATION_CHECK=1 VANTA_KEY=FAKEKEY VANTA_OWNER_EMAIL=fake-email@vanta.com VANTA_REGION=us ./install-linux.sh
2020 - name : Check that it's running correctly
2121 run : /var/vanta/vanta-cli status
2222
Original file line number Diff line number Diff line change 22
33# Available environment variables:
44# VANTA_KEY (the Vanta per-domain secret key)
5+ # VANTA_OWNER_EMAIL (the email of the person who owns this computer)
6+ # VANTA_REGION (the region the Agent talks to, such as "us", "eu" or "aus".)
57# VANTA_NOSTART (if true, then don't start the service upon installation.)
68
79set -e
810
9- DEB_URL=" https://agent-downloads.vanta.com/targets/versions/2.12 .0/vanta-amd64.deb"
11+ DEB_URL=" https://agent-downloads.vanta.com/targets/versions/2.13 .0/vanta-amd64.deb"
1012# Checksums need to be updated when DEB_URL is updated.
11- DEB_CHECKSUM=" 17312a1c1195bed192216c6240a322581bb569c0bd3a88de42b587203362d403 "
13+ DEB_CHECKSUM=" aced177e5d4c0d47490722ddde41aa00fe6ee8e8316da3b9309a29ae05b57ad7 "
1214DEB_PATH=" $( mktemp -d) /vanta.deb"
1315DEB_INSTALL_CMD=" dpkg -Ei"
1416
@@ -98,6 +100,18 @@ You must specify the VANTA_KEY environment variable in order to install the agen
98100\n\033[0m\n"
99101 exit 1
100102fi
103+ if [ -z " $VANTA_OWNER_EMAIL " ]; then
104+ printf " \033[31m
105+ You must specify the VANTA_OWNER_EMAIL environment variable in order to install the agent.
106+ \n\033[0m\n"
107+ exit 1
108+ fi
109+ if [ -z " $VANTA_REGION " ]; then
110+ printf " \033[31m
111+ You must specify the VANTA_REGION environment variable in order to install the agent.
112+ \n\033[0m\n"
113+ exit 1
114+ fi
101115
102116function onerror() {
103117 printf " \033[31m$ERROR_MESSAGE
Original file line number Diff line number Diff line change 66# VANTA_OWNER_EMAIL (the email of the person who owns this computer)
77# VANTA_REGION (the region the Agent talks to, such as "us", "eu" or "aus".)
88
9- PKG_URL=" https://agent-downloads.vanta.com/targets/versions/2.12 .0/vanta-universal.pkg"
9+ PKG_URL=" https://agent-downloads.vanta.com/targets/versions/2.13 .0/vanta-universal.pkg"
1010# Checksum needs to be updated when PKG_URL is updated.
11- CHECKSUM=" 4e49a169593c599f2e2fc2e083a4fc67f6278905ff0dfd63acfc709c174d7190 "
11+ CHECKSUM=" 54bf5ab58f7362f8058d0c903e00cc6347083e16aace7462518f196a3e145560 "
1212DEVELOPER_ID=" Vanta Inc (632L25QNV4)"
1313CERT_SHA_FINGERPRINT=" D90D17FA20360BC635BC1A59B9FA5C6F9C9C2D4915711E4E0C182AA11E772BEF"
1414PKG_PATH=" $( mktemp -d) /vanta.pkg"
You can’t perform that action at this time.
0 commit comments