Red Hat Satellite Insights - Improve the rpm spec file of insights-client package.
Issue
When the oscap scan command is executed, it failed.
oscap xccdf eval --fetch-remote-resources --rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions --remediate --profile xccdf_org.ssgproject.content_profile_standard /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok
Title Verify and Correct File Permissions with RPM
Rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions
Ident CCE-27209-6
Result fail
--- Starting Remediation ---
Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok
Title Verify and Correct File Permissions with RPM
Rule xccdf_org.ssgproject.content_rule_rpm_verify_permissions
Ident CCE-27209-6
Result error
Environment
Red Hat Insights Client 3.0
Openscap 1.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.