Skip to content

Commit d060fd4

Browse files
authored
Update scripts to point to version 2.14.0 (#79)
* Update scripts to point to version 2.14.0 * updated developer cert fingerprint
1 parent 134eb72 commit d060fd4

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Vanta vanta-agent
1+
Vanta Device Monitor
22
Copyright 2019 Vanta, Inc.
33

44
This product includes software developed at Vanta (https://vanta.com/).

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# vanta-agent-scripts
2-
Public scripts used to install the Vanta agent
1+
# Vanta Device Monitor Scripts
2+
Public scripts used to install the Vanta Device Monitor

install-linux.sh

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
# Available environment variables:
44
# VANTA_KEY (the Vanta per-domain secret key)
55
# 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".)
6+
# VANTA_REGION (the region Vanta Device Monitor talks to, such as "us", "eu" or "aus".)
77
# VANTA_NOSTART (if true, then don't start the service upon installation.)
88

99
set -e
1010

11-
DEB_URL="https://agent-downloads.vanta.com/targets/versions/2.13.0/vanta-amd64.deb"
11+
DEB_URL="https://agent-downloads.vanta.com/targets/versions/2.14.0/vanta-amd64.deb"
1212
# Checksums need to be updated when DEB_URL is updated.
13-
DEB_CHECKSUM="aced177e5d4c0d47490722ddde41aa00fe6ee8e8316da3b9309a29ae05b57ad7"
13+
DEB_CHECKSUM="21845a5e9477cfb61f779a9c1d9af2c9ad94cd7f6b95d8dd076effb935ee7d49"
1414
DEB_PATH="$(mktemp -d)/vanta.deb"
1515
DEB_INSTALL_CMD="dpkg -Ei"
1616

@@ -51,15 +51,15 @@ if [ "${OS}" == "Debian" ]; then
5151
CHECKSUM=$DEB_CHECKSUM
5252
else
5353
printf "\033[31m
54-
Cannot install the Vanta agent on unsupported platform $(get_platform).
54+
Cannot install Vanta Device Monitor on unsupported platform $(get_platform).
5555
Please reach out to support@vanta.com for help.
5656
\n\033[0m\n"
5757
exit 1
5858
fi
5959

6060
if [ ! -f "$UUID_PATH" ]; then
6161
printf "\033[31m
62-
Unable to detect hardware UUID – the Vanta Agent is only supported on platforms which provide a value in $UUID_PATH
62+
Unable to detect hardware UUID – Vanta Device Monitor is only supported on platforms which provide a value in $UUID_PATH
6363
\n\033[0m\n"
6464
exit 1
6565
fi
@@ -85,7 +85,7 @@ bad_uuids=(
8585
for uuid in ${bad_uuids[*]}; do
8686
if [ "$uuid" = "$hardware_uuid" ]; then
8787
printf "\033[31m
88-
Invalid hardware UUID – the Vanta Agent is only supported on platforms which provide a unique value in $UUID_PATH
88+
Invalid hardware UUID – Vanta Device Monitor is only supported on platforms which provide a unique value in $UUID_PATH
8989
\n\033[0m\n"
9090
exit 1
9191
fi
@@ -96,36 +96,36 @@ printf "\033[34m\nUUID check passed.\n\033[0m"
9696

9797
if [ -z "$VANTA_KEY" ]; then
9898
printf "\033[31m
99-
You must specify the VANTA_KEY environment variable in order to install the agent.
99+
You must specify the VANTA_KEY environment variable in order to install Vanta Device Monitor.
100100
\n\033[0m\n"
101101
exit 1
102102
fi
103103
if [ -z "$VANTA_OWNER_EMAIL" ]; then
104104
printf "\033[31m
105-
You must specify the VANTA_OWNER_EMAIL environment variable in order to install the agent.
105+
You must specify the VANTA_OWNER_EMAIL environment variable in order to install Vanta Device Monitor.
106106
\n\033[0m\n"
107107
exit 1
108108
fi
109109
if [ -z "$VANTA_REGION" ]; then
110110
printf "\033[31m
111-
You must specify the VANTA_REGION environment variable in order to install the agent.
111+
You must specify the VANTA_REGION environment variable in order to install Vanta Device Monitor.
112112
\n\033[0m\n"
113113
exit 1
114114
fi
115115

116116
function onerror() {
117117
printf "\033[31m$ERROR_MESSAGE
118-
Something went wrong while installing the Vanta agent.
118+
Something went wrong while installing Vanta Device Monitor.
119119
120120
If you're having trouble installing, please send an email to support@vanta.com, and we'll help you fix it!
121121
\n\033[0m\n"
122122
}
123123
trap onerror ERR
124124

125125
##
126-
# Download the agent
126+
# Download Vanta Device Monitor
127127
##
128-
printf "\033[34m\n* Downloading the Vanta Agent\n\033[0m"
128+
printf "\033[34m\n* Downloading Vanta Device Monitor\n\033[0m"
129129
rm -f $PKG_PATH
130130
curl --progress-bar --output $PKG_PATH $PKG_URL
131131

@@ -153,14 +153,14 @@ else
153153
fi
154154

155155
##
156-
# Install the agent
156+
# Install Vanta Device Monitor
157157
##
158-
printf "\033[34m\n* Installing the Vanta Agent. You might be asked for your password...\n\033[0m"
158+
printf "\033[34m\n* Installing Vanta Device Monitor. You might be asked for your password...\n\033[0m"
159159
$SUDO $INSTALL_CMD $PKG_PATH
160160

161161

162162
##
163-
# Check whether the agent is registered. It may take a couple of seconds,
163+
# Check whether Vanta Device Monitor is registered. It may take a couple of seconds,
164164
# so try 5 times with 5-second pauses in between.
165165
##
166166
if [ -z "$VANTA_SKIP_REGISTRATION_CHECK" ] && [ -z "$VANTA_NOSTART" ]; then
@@ -179,7 +179,7 @@ if [ -z "$VANTA_SKIP_REGISTRATION_CHECK" ] && [ -z "$VANTA_NOSTART" ]; then
179179

180180
if [ "$registration_success" = false ] ; then
181181
printf "\033[31m
182-
Could not verify that the agent is registered to a Vanta domain. Are you sure you used the right key?
182+
Could not verify that Vanta Device Monitor is registered to a Vanta domain. Are you sure you used the right key?
183183
\n\033[0m\n" >&2
184184
exit 0
185185
fi
@@ -189,8 +189,8 @@ else
189189
fi
190190

191191
printf "\033[32m
192-
The Vanta agent has been installed successfully.
192+
Vanta Device Monitor has been installed successfully.
193193
It will run in the background and submit data to Vanta.
194194
195-
You can check the agent status using the \"/var/vanta/vanta-cli status\" command.
195+
You can check the status of Vanta Device Monitor using the \"/var/vanta/vanta-cli status\" command.
196196
\033[0m"

install-macos.sh

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ set -e
44
# Environment variables:
55
# VANTA_KEY (the Vanta per-domain secret key)
66
# VANTA_OWNER_EMAIL (the email of the person who owns this computer)
7-
# VANTA_REGION (the region the Agent talks to, such as "us", "eu" or "aus".)
7+
# VANTA_REGION (the region Vanta Device Monitor talks to, such as "us", "eu" or "aus".)
88

9-
PKG_URL="https://agent-downloads.vanta.com/targets/versions/2.13.0/vanta-universal.pkg"
9+
PKG_URL="https://agent-downloads.vanta.com/targets/versions/2.14.0/vanta-universal.pkg"
1010
# Checksum needs to be updated when PKG_URL is updated.
11-
CHECKSUM="54bf5ab58f7362f8058d0c903e00cc6347083e16aace7462518f196a3e145560"
11+
CHECKSUM="060b408570c05f9e02eac187e3c917665c843e7a432c8d9b418ca968c5775b81"
1212
DEVELOPER_ID="Vanta Inc (632L25QNV4)"
13-
CERT_SHA_FINGERPRINT="D90D17FA20360BC635BC1A59B9FA5C6F9C9C2D4915711E4E0C182AA11E772BEF"
13+
CERT_SHA_FINGERPRINT="48893790A4B4FB1684589E3AC91CC25EDD5284F9E7BA07025CBDF2814FE74984"
1414
PKG_PATH="$(mktemp -d)/vanta.pkg"
1515
VANTA_CONF_PATH="/etc/vanta.conf"
1616

@@ -25,39 +25,39 @@ fi
2525

2626
if [ -z "$VANTA_KEY" ]; then
2727
printf "\033[31m
28-
You must specify the VANTA_KEY environment variable in order to install the agent.
28+
You must specify the VANTA_KEY environment variable in order to install Vanta Device Monitor.
2929
\n\033[0m\n"
3030
exit 1
3131
fi
3232

3333
if [ -z "$VANTA_OWNER_EMAIL" ]; then
3434
printf "\033[31m
35-
You must specify the VANTA_OWNER_EMAIL environment variable in order to install the agent.
35+
You must specify the VANTA_OWNER_EMAIL environment variable in order to install Vanta Device Monitor.
3636
\n\033[0m\n"
3737
exit 1
3838
fi
3939

4040
if [ -z "$VANTA_REGION" ]; then
4141
printf "\033[31m
42-
You must specify the VANTA_REGION environment variable in order to install the agent.
42+
You must specify the VANTA_REGION environment variable in order to install Vanta Device Monitor.
4343
\n\033[0m\n"
4444
exit 1
4545
fi
4646

4747

4848
function onerror() {
4949
printf "\033[31m$ERROR_MESSAGE
50-
Something went wrong while installing the Vanta agent.
50+
Something went wrong while installing Vanta Vanta Device Monitor.
5151
5252
If you're having trouble installing, please send an email to support@vanta.com, and we'll help you fix it!
5353
\n\033[0m\n"
5454
}
5555
trap onerror ERR
5656

5757
##
58-
# Download the agent
58+
# Download Vanta Device Monitor
5959
##
60-
printf "\033[34m\n* Downloading the Vanta Agent\n\033[0m"
60+
printf "\033[34m\n* Downloading Vanta Device Monitor\n\033[0m"
6161
rm -f $PKG_PATH
6262
curl --progress-bar $PKG_URL >$PKG_PATH
6363

@@ -100,9 +100,9 @@ else
100100
fi
101101

102102
##
103-
# Install the agent
103+
# Install Vanta Device Monitor
104104
##
105-
printf "\033[34m\n* Installing the Vanta Agent. You might be asked for your password...\n\033[0m"
105+
printf "\033[34m\n* Installing Vanta Device Monitor. You might be asked for your password...\n\033[0m"
106106
ACTIVATION_REQUESTED_NONCE=$(date +%s000)
107107
CONFIG="{\"ACTIVATION_REQUESTED_NONCE\":$ACTIVATION_REQUESTED_NONCE,\"AGENT_KEY\":\"$VANTA_KEY\",\"OWNER_EMAIL\":\"$VANTA_OWNER_EMAIL\",\"NEEDS_OWNER\":true,\"REGION\":\"$VANTA_REGION\"}"
108108
echo "$CONFIG" | $SUDO tee "$VANTA_CONF_PATH" > /dev/null
@@ -112,21 +112,21 @@ $SUDO /usr/sbin/installer -pkg $PKG_PATH -target / >/dev/null
112112
rm -f $PKG_PATH
113113

114114
##
115-
# check if the agent is running
115+
# check if Vanta Device Monitor is running
116116
# return val 0 means running,
117117
# return val 2 means running but needs to register
118118
##
119119
$SUDO /usr/local/vanta/vanta-cli status || [ $? == 2 ]
120120

121121
printf "\033[32m
122-
Your Agent is running properly. It will continue to run in the
122+
Your Vanta Device Monitor is running properly. It will continue to run in the
123123
background and submit data to Vanta.
124124
125-
You can check the agent status using the \"vanta-cli status\" command.
125+
You can check the status of Vanta Device Monitor using the \"vanta-cli status\" command.
126126
127-
If you ever want to stop the agent, please use the toolbar icon or
127+
If you ever want to stop Vanta Device Monitor, please use the toolbar icon or
128128
the vanta-cli command. It will restart automatically at login.
129129
130-
To register this device to a new user, run \"vanta-cli register\" or click on \"Register Vanta Agent\"
130+
To register this device to a new user, run \"vanta-cli register\" or click on \"Register Vanta Device Monitor\"
131131
on the toolbar.
132132
\033[0m"

0 commit comments

Comments
 (0)