-
Notifications
You must be signed in to change notification settings - Fork 237
Defined additional allowed values for the control 'status' property #2202
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
Open
brian-ruf
wants to merge
22
commits into
develop
Choose a base branch
from
control-status
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f01bf6f
defined additional allowed values for the control 'status' property
brian-ruf ad9b5a5
Merge branch 'develop' into control-status
brian-ruf 2d4dc06
fix: resolve Prototype Pollution in fast-json-patch (GHSA-8gh8-hqwg-x…
nancysangani a2b3859
fix: resolve fast-json-patch Prototype Pollution vulnerability (GHSA-…
nancysangani 62118bb
Fix responsible-role party-uuid constraint to only check when present…
nancysangani 346344e
Bump actions/checkout from 6.0.1 to 6.0.2
dependabot[bot] e3af886
Merge branch 'develop' into control-status
iMichaela 4d71697
fix: resolve Prototype Pollution in fast-json-patch (GHSA-8gh8-hqwg-x…
nancysangani e0eb529
fix: resolve fast-json-patch Prototype Pollution vulnerability (GHSA-…
nancysangani 76ef0cb
Fix responsible-role party-uuid constraint to only check when present…
nancysangani ff6a269
Bump actions/checkout from 6.0.1 to 6.0.2
dependabot[bot] 26bf22d
Bump actions/setup-node from 6.2.0 to 6.3.0
dependabot[bot] 59b59d2
Corrected broken link to the profile-resolution spec.
bf6e3a0
Bump com.xmlcalabash:xmlcalabash from 3.0.31 to 3.0.42 in /build
dependabot[bot] 6bf9c80
Bump org.apache.maven.plugins:maven-dependency-plugin in /build
dependabot[bot] 6ce92ba
Merge branch 'develop' into control-status
iMichaela b10d13d
Fixes broken URL
026b8b5
Propagating older constraint value change from validated-by to valida…
22d4c37
Merge branch 'develop' into control-status
iMichaela 39087b1
revised the allowed values list per comments in PR usnistgov/OSCAL#2022
brian-ruf 2325f36
Updated CONTRIBUTING.md
ccd3562
Merge branch 'develop' into control-status
iMichaela File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brian-ruf - The proposed new allowed values appear reasonable. However, I have two specific recommendations:
Status Context: The value
activemay cause confusion since all controls are implicitly active by default. We should consider defining this status more precisely, perhaps it should indicate that a parameter has been set by an authoritative entity and that permissions to override that parameter have been revoked. This would give the status a functional purpose beyond the default state.Case normalization: To ensure robust validation, we should include both lowercase and capitalized versions of these values (e.g., 'withdrawn' and 'Withdrawn') to accommodate different data entry styles."
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In regards to # 2: personally I think we should just normalize to lowercase instead of allowing both uppercase and lowercase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iMichaela
On 1. Status Context I may not have been clear enough about my intention. I was only trying to have an explicit status that is the moral equivalent of a control with no explicit status (as 99% exist now). I selected
activesomewhat arbitrarily and am open to a different value.When I read "permissions to override that parameter have been revoked", I interpret it as "you are not allowed to tailor this control", which sounds like it has implications for profile resolution. I am open to the idea of a status value with this semantic meaning. Since such a status would/should impact profile resolution, are you OK with addressing it as a separate issue that can receive more attention?
That said, I am absolutely open to changing the value from
activeto something else that better represents the moral equivalent of normal controls in a catalog with no status.On 2. Case normalization, 98% of the allowed values in OSCAL are strictly lower case. There are a few exceptions that are strictly upper case. (I personally don't agree with even those exceptions.) The existence of "Withdrawn" with a capital "W" was an error from the release candidates, which is why it is marked depreciated, after version 1.0.0.
If anything, we should remove the capital-W "Withdrawn" from the metaschema since it is explicitly invalid after 1.0.0 anyway. If you agree, I am happy to make that change.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brian-ruf - In principle, I agree with you to simplify and use only sentence case (lower case). I am concerned over the accuracy some catalog owners require/expect in the OSCAL representation. How will we accommodate it, if you have to do so?
The list of non-exhaustive keywords I collected:
NIST is using all capital letters or "Title Case": "WITHDRAWN" or "Withdrawn"
ISO, IETF, CIS: are using Title Case: "Merged", "Deleted"