Skip to content

Commit 0dcc243

Browse files
David Waltermireaj-stein-nist
authored andcommitted
Clarify how to determine target catalog oscal-version (#1386)
* 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
1 parent dc6a9b5 commit 0dcc243

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/workflow-generate-website-reference.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ jobs:
115115
run: |
116116
cd "${{ env.BRANCH_PATH }}/build"
117117
go install -tags "extended" github.com/gohugoio/hugo
118+
- name: Setup Swap Space
119+
# Since Hugo is requiring more memory
120+
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c
121+
with:
122+
swap-size-gb: 10
118123
# Build Artifacts
119124
# ---------------
120125
- name: Generate Model Reference Documentation

src/specifications/profile-resolution/profile-resolution-specml.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,8 @@ control:
13891389
<p><req level="must" id="req-meta-version">The value of metadata:version in the target MUST be set with a string that identifies the version of that document.</req> <req level="should" id="req-meta-version-track">The metadata:version SHOULD be used to track updates to this specific output document.</req></p>
13901390
</li>
13911391
<li>
1392-
<p><req level="must" id="req-meta-oscal-version">The value of metadata:oscal-version in the target MUST be set with a string that identifies the version of OSCAL used by this tool to resolve the profile (ex. 1.0.0). This value MUST be determined by compiling the oscal-versions from each imported document and the source profile, and taking the most recent minor version. If this version is more recent than what the resolution tool is using, then the value of oscal-version MUST be the version that the tool used internally.</req> <req level="must" id="req-meta-oscalversion-error">If any of the above OSCAL versions (imported document versions, source profile version, tool version) are of a different major version (the first digit differs), the tool SHOULD provide an error and cease processing.</req></p>
1392+
<p><req level="must" id="req-meta-oscal-version">The value of metadata:oscal-version in the target MUST be set to the value of the corresponding object (oscal-version) in the source profile.</req></p>
1393+
<p><req level="may" id="req-meta-oscalversion-error">If, in processing, a resolver encounters an imported profile or catalog source whose stated oscal-version denotes a version after the oscal-version of the profile, the resolver MAY report a fatal processing error and stop processing. "After" is defined according to the [precedence rules](https://semver.org/#spec-item-11) of Semantic Versioning 2.0, in which 1.0.1 is after 1.0.1-draft.</req></p>
13931394
</li>
13941395
<li>
13951396
<p><req level="must" id="req-meta-last-modified">The value of metadata:last-modified in the target MUST be set with a valid timestamp representing the time the profile resolution completed.</req></p>

0 commit comments

Comments
 (0)