-
Notifications
You must be signed in to change notification settings - Fork 63
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
Profile Resolution Only Supports Explicit Paths for import
s, not @href
anchor links
#1019
Comments
Sorry this might be a duplicate of #832. |
import
s, not @href
anchor linksimport
s, not @href
anchor links
@aj-stein-nist Thanks! Apparently it also duplicates #759 |
I wanted this sooner rather than later, so I might try to send you a PR tomorrow or the day after for your review, unless you would prefer someone in the team work on it. Let me know. Thanks! |
I think that would be fine and we would welcome your contribution. As long as it is only during resolution and not during the assembly of a new profile it should be well defined and simply involve following a link in the json. Thanks! |
Describe the bug
While following the the website tutorials and mimicking the SSP authoring tools demo, I was unable to run commands like so in a newly created workspace to create a SSP because profile
import
directives only work with local paths and not URI fragments.To Reproduce
Steps to reproduce the behavior:
For official FedRAMP profiles,
#ad005eae-cc63-4e64-9109-3905a9a825e4
is the import directive href, as indicated by anchor, that points to the following profile in theback-matter
resource
s of the relevant FedRAMP profile:Judging the type signature of the relevant code, it would appear anchor links retrieved by
href
are not considered, and maybe processing multiplerlink
s would require additional feature enhancement for the project.URI fragment (aka "anchor link") resolution has been a requirement of the OSCAL profile resolution spec in 1.0.0, as has been documented in the spec. GSA is just a very prominent user.
Expected behavior
Profile resolution would work.
Screenshots / Logs.
Terminal output provided above.
Environment
The text was updated successfully, but these errors were encountered: