WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit d9848c0

Browse files
committed
Update scripts to point to agent version 2.13.0
1 parent 46cb45b commit d9848c0

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

install-linux.sh

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
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

79
set -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"
1214
DEB_PATH="$(mktemp -d)/vanta.deb"
1315
DEB_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
100102
fi
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

102116
function onerror() {
103117
printf "\033[31m$ERROR_MESSAGE

install-macos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ set -e
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"
1212
DEVELOPER_ID="Vanta Inc (632L25QNV4)"
1313
CERT_SHA_FINGERPRINT="D90D17FA20360BC635BC1A59B9FA5C6F9C9C2D4915711E4E0C182AA11E772BEF"
1414
PKG_PATH="$(mktemp -d)/vanta.pkg"

0 commit comments

Comments
 (0)