-
Notifications
You must be signed in to change notification settings - Fork 383
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
Use of applicability_check in OVAL content results in fail/false rather than 'not checked' or 'not applicable' #273
Comments
Having had the recent misfortune to look closely at the SCAP 1.2 normative publications, I can assert that the applicability_check attribute is unfortunately not defined with respect to any effect on OVAL or XCCDF result logic and values. In particular, the schema for NIST SP 800-126r2 has an OVAL to XCCDF result mapping in §4.5.2 that does not address that attribute and precludes any result indicating applicability (it also lacks normative mapping for The OVAL specification would have to be changed to link |
@redhatrises I agree with @GaryGapinski. From what I understand from the specification, the |
I can see having a result of 'not applicable' being a valuable enhancement especially if a check is targeted towards a specific operating system in the same profile. For example, checking if the operating system is RHEL7 in the STIG profile to validate FIPS requirements should evaluate as 'true/false' on RHEL7, but 'not applicable' on CentOS 7. An additional result of 'applicable' would not at all need to be added, because if the check is applicable, it will evaluate at 'true/false/error...' and not 'applicable'. |
I have had similar misfortune experience as @GaryGapinski, when I dived down to the papers. That being said, I agree with all the conclusions above.
My understanding of OVAL process is of today, is that right path to proceed with this would be to start thread at https://github.com/OVALProject/Language/issues |
I just happened to be looking at the applicability_check myself and stumbled upon this discussion! I agree, this attribute does not seem to be well-specified. To the extent that any information can be found pertaining to it, the latest discussion does suggest that the attribute is purely informational; see: However, there doesn't seem to be any conclusive discussion of the functionality that was ultimately supposed to be adopted. That puts the attribute in a gray area, in my opinion. There is currently no official home-page for the OVAL language, although we (the community) are actively working on a new one. The Github site you referenced (OVALProject/Language) was set up by MITRE and is not actively maintained by the community. If you're interested in engaging the larger OVAL developer community to discuss this issue, and actually even make a change to the language itself, I'd suggest using the official OVAL developer email list: http://lists.cisecurity.org/mailman/listinfo/oval_developer_lists.cisecurity.org |
I talked to @iankko on IRC about this.
irc_chat.txt
Essentially adding
applicability_check="true"
attribute tocriteria/criterion/extend_definition
results in fail/false. I would expect that ifapplicability_check
evaluates as false it would return 'not checked' or 'not applicable'. Otherwise ifapplicability_check
evaluates as true, evaluate the other criteria as true (if configured correctly) or false (if not configured correctly).The text was updated successfully, but these errors were encountered: