#!/bin/sh

# shellcheck disable=SC1090
# shellcheck disable=SC2034
# shellcheck disable=SC2154

# audit_docker_all
#
# Audit Docker
#
# All the Docker specific tests
#.

audit_docker_all () {
  print_function "audit_docker_all"
  audit_auditd
  audit_docker_users
  audit_docker_daemon
  audit_docker_network
  audit_docker_logging
  audit_docker_monitoring
  audit_docker_security
}

# funct_audit_docker
#
# Audit Docker 
#.

funct_audit_docker () {
  audit_mode="${1}"
  print_function "funct_audit_docker"
  audit_docker_all
  print_results
}
