-
Notifications
You must be signed in to change notification settings - Fork 193
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
Spec-Conformant Profile Resolution Tools Should Use Patch OSCAL Version, not Only Minor #1272
Comments
* Corrected metadata/oscal-version handling bug to use OSCAL version, not the content version from a source profile. Resolves #15. * More adjustments to handling of version and OSCAL version. OSCAL version is the high water mark of the profile, plus any imports. See usnistgov/OSCAL#1272.
Our current profile resolver (in We need clarification of the requirements here so we can implement the correct handling. |
* Corrected metadata/oscal-version handling bug to use OSCAL version, not the content version from a source profile. Resolves #15. * More adjustments to handling of version and OSCAL version. OSCAL version is the high water mark of the profile, plus any imports. See usnistgov/OSCAL#1272.
* Corrected metadata/oscal-version handling bug to use OSCAL version, not the content version from a source profile. Resolves #15. * More adjustments to handling of version and OSCAL version. OSCAL version is the high water mark of the profile, plus any imports. See usnistgov/OSCAL#1272.
* Corrected metadata/oscal-version handling bug to use OSCAL version, not the content version from a source profile. Resolves usnistgov#15. * More adjustments to handling of version and OSCAL version. OSCAL version is the high water mark of the profile, plus any imports. See usnistgov/OSCAL#1272.
* Corrected metadata/oscal-version handling bug to use OSCAL version, not the content version from a source profile. Resolves #15. * More adjustments to handling of version and OSCAL version. OSCAL version is the high water mark of the profile, plus any imports. See usnistgov/OSCAL#1272.
Parsing versions is going to be difficult for tools to do, even if OSCAL uses semantic versions. Perhaps a safe way to handle this is to:
Is this reasonable? |
👍 Let's unit test as well. |
Suggest replacing the problematic text (cited above) with the following:
Question: should the MAY behavior in the second line be the normative default behavior, or simply an option? (Presumably, emitting a warning is also an option.) Comments @david-waltermire-nist @aj-stein-nist @galtm ? |
Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves #1272.
Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves #1272.
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves #1272. * Adding swap space to resolve memory issue with Hugo build
@galtm Can you work on implementing the behavior above in the XSLT profile resolver? @wendellpiez will create a top-level test for this. |
@david-waltermire-nist : Yes. Feel free to create an issue and assign it to me. |
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves #1272. * Adding swap space to resolve memory issue with Hugo build
We have code to merge but we have to circle back to complete work on unit tests (for this, and merging altogether). See #1313. |
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves usnistgov#1272. * Adding swap space to resolve memory issue with Hugo build
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves #1272. * Adding swap space to resolve memory issue with Hugo build
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves #1272. * Adding swap space to resolve memory issue with Hugo build
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves usnistgov#1272. * Adding swap space to resolve memory issue with Hugo build
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves usnistgov#1272. * Adding swap space to resolve memory issue with Hugo build
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves usnistgov#1272. * Adding swap space to resolve memory issue with Hugo build
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves usnistgov#1272. * Adding swap space to resolve memory issue with Hugo build
* Revised text to address ambiguity around handling `oscal-version` in the generated catalog target based on the versions provided in the imports and source profile. Resolves usnistgov#1272. * Adding swap space to resolve memory issue with Hugo build
Describe the bug
As an OSCAL tool developer implementing a profile resolution tool, in order to make the most usable tool for industry adoption, I want to conform with the profile resolution standard with minimal effort and use the explicitly set OSCAL version number in the profile(s) (patch version), and not have to process OSCAL version further to determine and emit the minor version in the resolved catalog.
Who is the bug affecting?
OSCAL tool developers writing OSCAL profile resolver tools.
What is affected by this bug?
Profile resolution that conforms to the current draft specification.
When does this occur?
Consistently when interpreting and implementing against the current specification.
How do we replicate the issue?
Expected behavior (i.e. solution)
The current draft of the profile resolution spec states resolution MUST process files and use the minor version.
Per discussion with @david-waltermire-nist, the specification ought to require the patch version from documents and not parse it.
Other Comments
N/A
The text was updated successfully, but these errors were encountered: