Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARF doesn't contain tailoring #902

Closed
jan-cerny opened this issue Nov 6, 2017 · 1 comment
Closed

ARF doesn't contain tailoring #902

jan-cerny opened this issue Nov 6, 2017 · 1 comment
Labels

Comments

@jan-cerny
Copy link
Member

I customized Fedora Standard profile using SCAP Workbench. I saved tailoring file to some folder. I evaluated the customized profile using oscap xccdf eval command-line and saved ARF results into ARF file. Then I wanted to generate profile-based bash remediation fix using oscap. However I got this error:

[jcerny@thinkpad wb-tailoring]$ myoscap xccdf generate fix --result-id xccdf_org.open-scap_testresult_xccdf_org.ssgproject.content_profile_standard_customized arf.xml 
OpenSCAP Error: Could not find Profile/@id="xccdf_org.ssgproject.content_profile_standard_customized" to build policy from TestResult/@id="xccdf_org.open-scap_testresult_xccdf_org.ssgproject.content_profile_standard_customized" [xccdf_session.c:1719]

I use OpenSCAP from current upstream GIT (head 05d3f20).

I think the problem is that ARF doesn't contain the customized profile.

EDIT: It could be solved by adding --tailoring-file option.

However I think the ARF should contain the tailored profile.

@jan-cerny jan-cerny added the bug label Nov 6, 2017
@jan-cerny jan-cerny changed the title OpenSCAP can't generate remediation script from ARF from tailoring ARF doesn't contain tailoring Nov 6, 2017
@jan-cerny jan-cerny added this to the 1.2.17 milestone Nov 16, 2017
@jan-cerny jan-cerny modified the milestones: 1.2.17, 1.2.18 May 29, 2018
@jan-cerny
Copy link
Member Author

Fixed in #1253

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant