analytics

This commit is contained in:
Jason Ertel
2024-04-01 09:50:18 -04:00
parent 2928b71616
commit 3aea2dec85
12 changed files with 339 additions and 2 deletions

View File

@@ -144,6 +144,26 @@ whiptail_cancel() {
exit 1
}
whiptail_accept_telemetry() {
[ -n "$TESTING" ] && return
read -r -d '' message <<- EOM
The Security Onion development team could use your help! Enabling SOC
Telemetry will help the team understand which UI features are being
used and enables informed prioritization of future development.
Adjust this setting at anytime via the SOC Configuration screen.
For more information visit https://docs.securityonion.net/telemetry.rst.
Enable SOC Telemetry to help improve future releases?
EOM
whiptail --title "$whiptail_title" --yesno "$message" 13 75
telemetry=$?
}
whiptail_check_exitstatus() {
case $1 in
1)