-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add Diagram Link Validation Constraints #865
base: develop
Are you sure you want to change the base?
Add Diagram Link Validation Constraints #865
Conversation
Oh I now realize this is a PR, not an issue. I will backport an issue. |
I opened an issue here |
I just realized I was maybe tagging and adding something incorrectly to the board. |
Until upstream bugs are fixed in the oscal-server integration with oscal-js as used by the CI/CD environment, we will put this workaround to get GH Actions back as an interim measure.
…stics/href-target Workaround test issues with server for GSA#865
201fdee
to
edcb9c5
Compare
fad8c91
to
edcb9c5
Compare
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.
Great work, I like the dev process, tests, and their inline docs. I have minor tweaks and I will reapprove either way. Thanks for taking the time on these.
@Gabeblis can you also go the referenced page in the |
87de26c
to
5e41be6
Compare
looks good but we really need a function that auto-resolves the hashes, because having so many if thens about the # character is a bit of cognitave overload, can we create functions in metapath and re-use that concept? also would we want a more general, every resource should have a doc-available? |
5e41be6
to
5e8b5d9
Compare
This is just to check that a valid resource is referenced. It is not checking the actual content. As far as the cognitive overload goes, I'm always down to make things easier, but I'm not too bothered by how it is currently. |
The issue metaschema-framework/metaschema-java#242 is about this. This is on my short list of capabilities to add. |
Committer Notes
Purpose
This PR introduces the implementation of three new
system-characteristics
constraints leveraging the functionality provided by OSCAL-CLI version 2.3. These constraints ensure that all necessary diagram links are properly validated, ensuring all diagrams have valid and accessibleresource
targets in theback-matter
.Changes
Constraint: has-authorization-boundary-diagram-link-href-target
Constraint: has-network-architecture-diagram-link-href-target
Constraint: has-data-flow-diagram-link-href-target
Tests:
All Submissions:
- [ ] If applicable, have all FedRAMP Documents Related to OSCAL Adoption affected by the changes in this issue have been updated.?Documentation already exists.By submitting a pull request, you are agreeing to provide this contribution under the CC0 1.0 Universal public domain dedication.