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
99set -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 "
1414DEB_PATH=" $( mktemp -d) /vanta.deb"
1515DEB_INSTALL_CMD=" dpkg -Ei"
1616
@@ -51,15 +51,15 @@ if [ "${OS}" == "Debian" ]; then
5151 CHECKSUM=$DEB_CHECKSUM
5252else
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) .
5555Please reach out to support@vanta.com for help.
5656\n\033[0m\n"
5757 exit 1
5858fi
5959
6060if [ ! -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
6565fi
@@ -85,7 +85,7 @@ bad_uuids=(
8585for 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
9797if [ -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
102102fi
103103if [ -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
108108fi
109109if [ -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
114114fi
115115
116116function 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
120120If 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}
123123trap 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"
129129rm -f $PKG_PATH
130130curl --progress-bar --output $PKG_PATH $PKG_URL
131131
@@ -153,14 +153,14 @@ else
153153fi
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# #
166166if [ -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
189189fi
190190
191191printf " \033[32m
192- The Vanta agent has been installed successfully.
192+ Vanta Device Monitor has been installed successfully.
193193It 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"
0 commit comments