content icon indicating copy to clipboard operation
content copied to clipboard

Build and test AIDE database - test existence of operational aide database file - fails when file is present

Open gmisura opened this issue 4 months ago • 1 comments

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:

  1. git clone https://github.com/ansible-lockdown/AMAZON2023-CIS.git
  2. sudo ansible-playbook AMAZON2023-CIS/site.yml
  3. 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

gmisura avatar Aug 05 '25 20:08 gmisura