liboscal-java icon indicating copy to clipboard operation
liboscal-java copied to clipboard

Ability to set the `source-profile` link `@href` value

Open david-waltermire opened this issue 2 years ago • 1 comments

User Story:

As an liboscal-java user, I would like for the ability to set the source-profile link @href value to a user provided path on profile resolution.

Goals:

  • Allow for relative source-profile link @href values to be included on the output.
    • The current output (example shown below) is likely to be of little benefit to the consumers of the resolved profile.
      link href="file:/C:/tmp/liboscal-java/oscal/src/specifications/profile-resolution/profile-resolution-examples/base-test_profile.xml" rel="source-profile"/>
      
      link href="file:///tmp/liboscal-java/oscal/src/specifications/profile-resolution/profile-resolution-examples/base-test_profile.xml" rel="source-profile"/>
      
  • Optionally support the usage of the canonical /profile/metadata/link/@rel value.

Dependencies:

None

Acceptance Criteria

  • [ ] All OSCAL website and readme documentation affected by the changes in this issue have been updated. Changes to the OSCAL website can be made in the docs/content directory of your branch.
  • [ ] A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR.
  • [ ] The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR.

david-waltermire avatar May 10 '22 19:05 david-waltermire

I have to come back to this work and will move this to a future milestone. It does not belong in an upcoming patch release.

aj-stein-nist avatar Feb 01 '24 17:02 aj-stein-nist