Tailoring files #2397
Unanswered
Yesser-Belhajali
asked this question in
Q&A
Tailoring files
#2397
Replies: 1 comment
|
OpenSCAP usually follows the SCAP standard for things like this.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone.
I have a question concerning tailoring in the openscap environment.
I have been reading about tailoring and figured out that a tailoring file is just an XML file that references an existing XCCDF/DS file to get the implementation of the real rules, and it has profiles that can extend (or not) an existing profile. To do so I need to work with the xccdf_tailoring structure, but my questions are:
Is it possible for a tailoring profile to extend another tailoring profile? For example, let's suppose I have a tailoring file in which I created Profile A that extends CIS_Level_1_Server. Is it possible for me to create, inside that same tailoring file, Profile B that extends Profile A, so we would have a chain like CIS_Level_1_Server -> Profile A -> Profile B? Or does extends only work with profiles that exist natively inside the benchmark?
In the case it can handle that inheritance chain,How can/should I handle resolving that? ,does the xccdf_session structure handle resolving it automatically, or should I try to solve it on my own through lower-level structures like oscap_source / ds_sds_session?
Thanks in advance for any clarification.
All reactions