-
Notifications
You must be signed in to change notification settings - Fork 61
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
Support non-control driven field editing in SSP #1617
Comments
We would love to see this implemented to assist in the following use cases and goals: Fields that benefit from being in easier to read formats than JSONMany fields are extremely valuable for everyday developers to be able to read and update in the course of normal operations. These are generally the fields with mutli-line markdown format, and diagrams that can be implemented within markdown (optionally, it's how we do a lot of diagrams anyway with tools like PlantUML)
Fields that benefit from having a tool generate UUIDs and automatically link them in the various places they're referenced:These often also benefit from having a description field that is easily read/writable by being in markdown.
Deduplication benefitIdeally (recognizing this is a giant lift to fully represent the oscal model in markdown/yaml frontmatter), if everything is out of the JSON representation, then we can move to a place where only the yaml/markdown files are checked into source control, and the full JSON model is only generated in CI. That would eliminate any confusion about having to edit markdown, then assemble, then tweak the json for certain fields, then check it all into source control. Right now we deal with that by calling |
We think this makes a lot of sense to expand the trestle feature set to include editing of the SSP frontmatter. This adds to a more complete automation workflow. |
Adding some initial thoughts around design from #1539 and #1538. Metadata
Behavior: Example: ---
x-trestle-oscal-metadata:
# Add or modify links to metadata
# May add to the control or part level
# Supported types and values can be found <ref to markdown>
# Example
# - type: role
# token: role-id
# smt-part: b.
#
- type: role
token: org1
- type: role
token: org2
smt-part: b.
---
SSP Aggregation: Roles or linked fields should be retained on each Additional Considerations With the management of this many UUIDs and to retain the idempotent nature of updates in There would have to be reusable metadata Proposed In Scope (for the Epic)
Proposed Out of ScopeOSCAL Version (This should be set with the DiagramsMy thoughts on diagrams are less concrete, but adding some initial ideas below. Supporting |
I like that proposal. A potential improvement I'd love would be the diagram markdown file has:
|
This issue has been automatically marked as stale because it has not had activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. |
Hey folks. I am proposing the following child issues be linked or added. We could some of the design considerations above to the issue content for further discussion:
|
Issue description / feature objectives
Currently most of the support around SSP editing in markdown is for the
control-implementation
section. To reduce the amount of data edited through the JSON files, I propose we add support to edit non-control driven sections or fields in the SSP through a more user friendly option.Caveats / Assumptions
This expands original project scope
Completion Criteria
metadata
andsystem-implementation
fieldsProposed child Issues #1539
Community discussion about this Epic in Slack.
Relevant GitHub community discussion - #1025
The text was updated successfully, but these errors were encountered: