A free and open platform for detecting and preventing email attacks like BEC, malware, and credential phishing. Gain visibility and control, hunt for advanced threats, collaborate with the community, and write detections-as-code.
Currently, the installation script will enable automatic updates via cron but that will prompt MacOS users for accessibility permissions. We don't really give any warning of this happening and don't allow users to opt out of automatic updates. This change adds explicit confirmation from the user whether to setup automatic updates or not. It also warns the user that a permission dialogue may pop up.
Configuring host...
Please specify the hostname or IP address of where you're deploying Sublime. If no scheme is specified then we'll default to http://
(IP address or hostname of your VPS or VM | default: http://localhost):
Configuring automatic updates...
Would you like to enable auto-updates? If yes, your terminal may request permissions to make updates to your computer: [Y/n]: n
Launching Sublime Platform...
Updating and running!
git working dir clean. Proceeding with git updates.
Already up to date.
* Auto-updates enabled interactively (initial install)
```console
❯ clone_platform=false remote_branch=hugh.cron ./install-and-launch.sh
Running preflight checks...
Successfully completed preflight checks!
Configuring host...
Please specify the hostname or IP address of where you're deploying Sublime. If no scheme is specified then we'll default to http://
(IP address or hostname of your VPS or VM | default: http://localhost):
Configuring automatic updates...
Would you like to enable auto-updates? If yes, your terminal may request permissions to make updates to your computer: [Y/n]: y
Running preflight checks...
Successfully completed preflight checks!
Launching Sublime Platform...
Adding daily update check
Updating and running!
git working dir clean. Proceeding with git updates.
Already up to date.
Configuring host...
Please specify the hostname or IP address of where you're deploying Sublime. If no scheme is specified then we'll default to http://
(IP address or hostname of your VPS or VM | default: http://localhost):
Configuring automatic updates...
Would you like to enable auto-updates? If yes, your terminal may request permissions to make updates to your computer: [Y/n]: y
Launching Sublime Platform...
Daily update check is already setup
Updating and running!
git working dir clean. Proceeding with git updates.
Already up to date.
* Auto-updates disabled explicitly
```console
❯ clone_platform=false remote_branch=hugh.cron auto_updates=false ./install-and-launch.sh
Running preflight checks...
Successfully completed preflight checks!
Configuring host...
Please specify the hostname or IP address of where you're deploying Sublime. If no scheme is specified then we'll default to http://
(IP address or hostname of your VPS or VM | default: http://localhost):
Launching Sublime Platform...
Updating and running!
git working dir clean. Proceeding with git updates.
Already up to date.
Configuring host...
Please specify the hostname or IP address of where you're deploying Sublime. If no scheme is specified then we'll default to http://
(IP address or hostname of your VPS or VM | default: http://localhost):
Launching Sublime Platform...
Daily update check is already setup
Updating and running!
git working dir clean. Proceeding with git updates.
Already up to date.
Context
Currently, the installation script will enable automatic updates via cron but that will prompt MacOS users for accessibility permissions. We don't really give any warning of this happening and don't allow users to opt out of automatic updates. This change adds explicit confirmation from the user whether to setup automatic updates or not. It also warns the user that a permission dialogue may pop up.
Tests
Running preflight checks... Successfully completed preflight checks!
Configuring host... Please specify the hostname or IP address of where you're deploying Sublime. If no scheme is specified then we'll default to http:// (IP address or hostname of your VPS or VM | default: http://localhost):
Configuring automatic updates... Would you like to enable auto-updates? If yes, your terminal may request permissions to make updates to your computer: [Y/n]: n
Running preflight checks... Successfully completed preflight checks!
Launching Sublime Platform... Updating and running! git working dir clean. Proceeding with git updates. Already up to date.
Running preflight checks... Successfully completed preflight checks!
Configuring host... Please specify the hostname or IP address of where you're deploying Sublime. If no scheme is specified then we'll default to http:// (IP address or hostname of your VPS or VM | default: http://localhost):
Configuring automatic updates... Would you like to enable auto-updates? If yes, your terminal may request permissions to make updates to your computer: [Y/n]: y
Running preflight checks... Successfully completed preflight checks!
Launching Sublime Platform... Daily update check is already setup Updating and running! git working dir clean. Proceeding with git updates. Already up to date.
Running preflight checks... Successfully completed preflight checks!
Configuring host... Please specify the hostname or IP address of where you're deploying Sublime. If no scheme is specified then we'll default to http:// (IP address or hostname of your VPS or VM | default: http://localhost):
Launching Sublime Platform... Daily update check is already setup Updating and running! git working dir clean. Proceeding with git updates. Already up to date.