Hide Forgot
Description of problem: Scap-workbench won't support generation of result-based remediation roles from tailored profiles. This is caused by a deficiency in openscap https://github.com/OpenSCAP/openscap/issues/902 that however may be fixed on the workbench side. Version-Release number of selected component (if applicable): 1.2.17 How reproducible: Reliably Steps to Reproduce: 1. Select any profile from any datastream. 2. Customize the profile, add any new rule to it. 3. Run the check, then choose to generate remediation. Actual results: Error will occur, the error message will be similar to: Error generating remediation role '.../remediation.sh': Exit code of 'oscap' was 1: OpenSCAP Error: Could not find Profile/@id="..." to build policy from TestResult/@id="" [../../../src/XCCDF/xccdf_session.c:1738] Expected results: The remediation script is generated without errors. Additional info: This is primarily caused by deficiency in OpenSCAP: https://github.com/OpenSCAP/openscap/issues/902
*** Bug 1578907 has been marked as a duplicate of this bug. ***