Build and test AIDE database - test existence of operational aide database file - fails when file is present
Description of problem:
Testing existence of operational aide database file oval:ssg-test_aide_operational_database_absolute_path:tst:1 false No items have been found conforming to the following objects: Object oval:ssg-object_aide_operational_database_absolute_path:obj:1 of type file_object Filepath Referenced variable has no values (oval:ssg-variable_aide_operational_database_absolute_path:var:1)
SCAP Security Guide Version:
0.1.77
Operating System Version:
AL2023
Steps to Reproduce:
- git clone https://github.com/ansible-lockdown/AMAZON2023-CIS.git
- sudo ansible-playbook AMAZON2023-CIS/site.yml
- oscap xccdf eval
--profile level1_profile
--report ec2-${OS}oscap-ssg-report${DATE_TIME_STAMP}.html
ssg-al2023-ds.xml
Actual Results:
FAILED
Testing existence of operational aide database file oval:ssg-test_aide_operational_database_absolute_path:tst:1 false No items have been found conforming to the following objects: Object oval:ssg-object_aide_operational_database_absolute_path:obj:1 of type file_object Filepath Referenced variable has no values (oval:ssg-variable_aide_operational_database_absolute_path:var:1)
Expected Results:
PASS
Additional Information/Debugging Steps:
The files are present:
[ec2-user@ip-10-44-210-57 ~]$ sudo ls -l /var/lib/aide/ total 0 -rw-r--r--. 1 root root 0 Aug 5 19:02 aide.db.gz -rw-------. 1 root root 0 Aug 5 19:02 aide.db.new.gz