Merge pull request #748 from Security-Onion-Solutions/issue/706

Issue/706 and issue/747
This commit is contained in:
Josh Patterson
2020-05-21 09:25:36 -04:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
{% set docker = {
'containers': [
'so-filebeat',
'so-nginx',
'so-telegraf',
'so-dockerregistry',

View File

@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{%- from 'common/maps/so-status.map.jinja' import docker with context %}
{%- set container_list = docker['containers'] %}
{%- set container_list = docker['containers'] | sort %}
if ! [ "$(id -u)" = 0 ]; then
echo "This command must be run as root"