diff --git a/salt/common/tools/sbin/so-status b/salt/common/tools/sbin/so-status new file mode 100644 index 000000000..596070e4e --- /dev/null +++ b/salt/common/tools/sbin/so-status @@ -0,0 +1,301 @@ +#!/bin/bash + +# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one +# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at +# https://securityonion.net/license; you may not use this file except in compliance with the +# Elastic License 2.0. + +if ! [ "$(id -u)" = 0 ]; then + echo "This command must be run as root" + exit 1 +fi + +display_help() { +cat <