-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Hi all,
I have some concerns regarding how results are handled in the case of AnyOf and AllOf evaluations:
-
AnyOf Evaluation: When the service level requirement passes, instances whose property values contribute to making the test pass are marked as PASS, while those that do not contribute are marked as OK.
-
AllOf Evaluation: When the service level requirement passes, all instances (which do not individually contribute to passing the test) are marked as OK.
According to the spec, "The AnyOf and AllOf comparison types can be met using any resource instance within the scope of the schema-level requirement." Based on this, I believe that in both cases (i.e., for both AnyOf and AllOf evaluations), if the service level passes, all instances should have their result marked as PASS, since the requirement is met at the service level regardless of individual contributions.
Would you consider the new idea? if its the case, i am ready to make a pull request.
Reference for AnyOf
Reference for AllOf