#!/bin/sh

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

# audit_syslog_auth
#
# Check auth log
#
# Refer to Section(s) 4.4 Page(s) 68-9 CIS Solaris 10 Benchmark v5.1.0
#.

audit_syslog_auth () {
  print_function "audit_syslog_auth"
  string="SYSLOG AUTH Messages"
  check_message  "${string}"
  if [ "${os_name}" = "SunOS" ]; then
    if [ "${os_version}" = "10" ]; then
      audit_logadm_value "authlog" "auth.info"
    fi
  else
    na_message "${string}"
  fi
}
