Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-18403

[RFE] remove the openscap reports from the disk when the clean up CLI command is executed.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.12.0
    • SCAP Plugin
    • None
    • None
    • None
    • None

      Description of problem:
      The openscap report files are not removed from the disk when the clean up command is executed.

      Version-Release number of selected component (if applicable): 6.12, 6.11, 6.10

      How reproducible:
      Always

      Steps to Reproduce:
      1. Run 'foreman-rake reports:expire days=7 report_type=ForemanOpenscap::ArfReport'

      Actual results:
      the reports are removed from web UI and DB, but the files remain in /var/lib/foreman-proxy/openscap/reports/arf

      Expected results:
      The corresponding reports in /var/lib/foreman-proxy/openscap/reports/arf should get removed

      Additional info:
      Tested with Sat v6.12, v6.11 (RHEL8), and v6.10 (RHEL7) and exhibits the same behaviors.

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: