-
Notifications
You must be signed in to change notification settings - Fork 88
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
Implement Constraints for Diagram Link Validations That Are No Longer Blocked #864
Comments
A few thoughts here as I perform analysis on #811 :
|
One additional point here: At a minimum, we should define the list of diagram formats we know we can handle and WARN if we either can't detect the format or if we detect a format that isn't on our known-good list. We can still attempt to accept other formats, but can't guarantee their viability in our system and would at least want to discourage known-good formats. As for what formats should be on the known-good list, I assume the UI for our platform will be browser-based, thus any image format that can be handled by a standard Edge or Chrome (Chromium) or Firefox-based browser should be acceptable, such as GIF, JPEG, PNG, SVG, AVIF, HEIF, WebP at a minimum (Although we may want to encourage/discourage certain ones in this list.). We'd have to more carefully consider types such as Ai, TIFF, EPS, Raw, BMP, WMF and EMF. In addition, reviewers are required to use GSA laptops due to the sensitivity of the content. These always include the MS Office suite and an ability to view PDF documents. So we should also include PDF, DOC, DOCX, ODT, PPT, PPTX, VSD, VSDX (Word, PowerPoint and Visio. No Excel and no templates). More discussion is required for macro-enabled MS Office file types (DOCM, PPTM, VSDM). |
Do you mean
Totally agreed, but FYI those are separately handled in a separate constraint to highlight such an error on the resource itself. fedramp-automation/src/validations/constraints/fedramp-external-constraints.xml Lines 126 to 134 in 821ec62
|
I would think maybe |
Yep, thus closed attachment check PRs and slated work in #674. We should discuss! 😄 |
@aj-stein-gsa I'm glad to see this exists, and understand you are saying that if we are checking all resources for attachments, we don't need to duplicate that check on one-off checks. I like that approach, but see a few challenges we need to address. First ConcernThe constraint you cited appears to require that EVERY resource must either have a At a minimum, we should revise that constraint to ONE of the following:
Second ConcernThis needs to go one step further if possible. The goal is to ensure an attachment is available with the PMO reviews the SSP. Can constraints test whether In any case, this has the additional concern that a link is valid within a CSP's intranet when they run the constraint, yet invalid to FedRAMP reviewers post delivery. |
I wrote the above "Second Concern" before I read this comment. Sounds like we are saying similar - that this may go beyond completeness checks and have to be deferred. |
I would say we can patch in a bug fix I can open up an issue for that and PR it.
What you say resonates and I agree. In the PR attached to this issue, we can recommend Beyond that whether the content that is resolved from a |
I also wanted to address this concern, which is a matter of style. Essentially, I have seen nothing FedRAMP produces use citations, and they seem particularly popular with NIST only for catalog and profile back-matter resource references. Even when they do use them, the For digital authorization packages, we have already had a few discussions about this, but as a principle citation-based resources without a link we do not really need or want, and the use cases we see it in the wild are outside the scope of the packages themselves and if so they use the sibling |
I can agree with this. It's fair if we known of no use case for the latter. If one exists, someone can engage us to request we relax this to WARNING instead of ERROR. |
I just noticed in the constraint tracker that the UPDATE: Looks like it was correctly implemented as ERROR in PR #865. No further action needed. |
Constraint Task
Develop and integrate the following constraints which are now feasible due to the support introduced in OSCAL-CLI version 2.3:
Intended Outcome
The intended outcome is to write validation checks for diagram link targets. This ensures that the respective diagram links in the
system-characteristics
have a valid reference to a resource in theback-matter
.Syntax Type
This is required core OSCAL syntax.
Allowed Values
There are no relevant allowed values.
Metapath(s) to Content
Purpose of the OSCAL Content
No response
Dependencies
No response
Acceptance Criteria
oscal-cli metaschema metapath eval -e "expression"
.Other information
No response
The text was updated successfully, but these errors were encountered: