Puppet Class: security_baseline::rules::common::sec_ntalk
- Defined in:
- manifests/rules/common/sec_ntalk.pp
Summary
Ensure talk server is not enabled (Scored)Overview
The talk software makes it possible for users to send and receive messages across systems through a terminal session. The talk client (allows initiate of talk sessions) is installed by default.
Rationale: The software presents a security risk as it uses unencrypted protocols for communication.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'manifests/rules/common/sec_ntalk.pp', line 27
class security_baseline::rules::common::sec_ntalk (
Boolean $enforce = true,
String $message = '',
String $log_level = ''
) {
if($enforce) {
ensure_resource('service', ['ntalk'], {
ensure => 'stopped',
enable => false
})
} else {
if($facts['security_baseline']['services_enabled']['srv_ntalk'] == 'enabled') {
echo { 'ntalk':
message => $message,
loglevel => $log_level,
withpath => false,
}
}
}
}
|