Replies: 8 comments 14 replies
-
So, as we discussed on the meeting, there is already a way to organize OVAL documents in this way: use of external references. Can we somehow try and use this feature (improved maybe) to make is less backward-incompatible? I'd really hate to kick out extended definitions. |
Beta Was this translation helpful? Give feedback.
-
Two observations:
|
Beta Was this translation helpful? Give feedback.
-
Encapsulated definitions look much easier to maintain, but I understand the benefit of allowing references to previously described objects and states. So, how about a hybrid approach, where you can refer to objects and states previously defined in other definitions? Something like this:
to allow the reuse of object previously defined with that id. This is similar to what happens in the YAML language, for instance. And a tool would be able to quickly crossreference the id and provide a preview or a link to it. |
Beta Was this translation helpful? Give feedback.
-
in compliance as code, we already write oval files not in an encapsulated form, but in a "single view" e.g.: The only thing is that the build of a product (generating the output oval, datastream, xccdf) will make sure to put the each tag under its correct place. Because if this is to make development easier, the way we do at compliance as code is simple enough. |
Beta Was this translation helpful? Give feedback.
-
During the 11-07-2024 OVAL board meeting, 2 straw polls were conducted to determine if any change should occur, and if so, what should that change be. A new option of BOTH the existing 5.x format and new encapsulated format with allowing extended definitions was proposed. Of the 3 options, the straw poll concluded that either the new encapsulated format, allowing extended definitions or the new "BOTH" method should be used. Leaving the format as 5.x was voted out. |
Beta Was this translation helpful? Give feedback.
-
Apologies for missing the meeting. If it was the Both option do we expect to support both ways for some defined time and then after version X(to be determined) OVAL would fully switch to the new way and drop the legacy way? While backwards compatible can be great, it tends to hold back progress if you hang on too long and can just build tech debt and cruft. And if we have both it could be confusing in a way for newer content developers. It's definitely much much easier IMO if there's a very clear cut method. I believe the encapsulated new way is easier for new content developers to understand what's going on. |
Beta Was this translation helpful? Give feedback.
-
@robertgendler from my view in the meeting the BOTH option would likely remain in the language for the foreseeable future, as there appears a need, primarily with large vulnerability content to use the existing 5.x design, there were concerns of file size and efficiency of processing. If after some time we revisit this and content authors opinions change, we can always drop the legacy 5.x format, but likely that would be an OVAL 7.0 as it would break backward compatibility. |
Beta Was this translation helpful? Give feedback.
-
Official vote has been recorded at https://github.com/OVAL-Community/OVAL-Board/blob/main/board_votes/2024-11-07_OVAL_6.0_Definition_Structure_Vote.md Closing this discussion for OVAL 6.0, we can open a new discussion if further changes are needed for OVAL 7.0 |
Beta Was this translation helpful? Give feedback.
-
@OVAL-Community/oval-board-members
During our meeting on 09-26-2024, the board was not able to come to a consensus regarding redesigning OVAL definitions.
Pros:
Cons:
Existing 5.12 format with several silos of information
Proposed 6.0 format with encapsulated definitions
Discussion will end on 10-04-2024 with voting to occur on 10-07-2024
Beta Was this translation helpful? Give feedback.
All reactions