SV-239214r717064_rule
V-239214
SRG-APP-000359-DB-000319
VCPG-67-000022
CAT II
10
Navigate to and open /etc/vmware-syslog/stig-services-vpostgres.conf.
Create the file if it does not exist.
Set the contents of the file as follows:
input(type="imfile"
File="/var/log/vmware/vpostgres/serverlog.std*"
Tag="vpostgres-first"
Severity="info"
Facility="local0")
input(type="imfile"
File="/var/log/vmware/vpostgres/postgresql-*.log"
Tag="vpostgres"
Severity="info"
Facility="local0")
At the command prompt, execute the following command:
# cat /etc/vmware-syslog/stig-services-vpostgres.conf
Expected result:
input(type="imfile"
File="/var/log/vmware/vpostgres/serverlog.std*"
Tag="vpostgres-first"
Severity="info"
Facility="local0")
input(type="imfile"
File="/var/log/vmware/vpostgres/postgresql-*.log"
Tag="vpostgres"
Severity="info"
Facility="local0")
If the file does not exist, this is a finding.
If the output of the command does not match the expected result above, this is a finding.
If there is no output from the command, vPostgres will default to "stderr", and this is not a finding.
V-239214
False
VCPG-67-000022
At the command prompt, execute the following command:
# cat /etc/vmware-syslog/stig-services-vpostgres.conf
Expected result:
input(type="imfile"
File="/var/log/vmware/vpostgres/serverlog.std*"
Tag="vpostgres-first"
Severity="info"
Facility="local0")
input(type="imfile"
File="/var/log/vmware/vpostgres/postgresql-*.log"
Tag="vpostgres"
Severity="info"
Facility="local0")
If the file does not exist, this is a finding.
If the output of the command does not match the expected result above, this is a finding.
If there is no output from the command, vPostgres will default to "stderr", and this is not a finding.
M
5324