usnistgov / OSCAL

Open Security Controls Assessment Language (OSCAL)
https://pages.nist.gov/OSCAL/
Other
670 stars 182 forks source link

Profile resolution spec has unusual rlink constraint #1752

Open GaryGapinski opened 1 year ago

GaryGapinski commented 1 year ago

Question

Why does the following statement appear in the Internal References section?

When a rlink is encountered and is to be resolved, it MUST be resolved by using a HTTP request to retrieve a byte stream.

The subsequent statement

When a base64 is encountered and is to be resolved, it MUST be considered a Byte Stream.

uses the term "Byte Stream" (rather than "byte stream") without adding distinction or clarification.

The subsequent statement

Regardless of its source, the Byte Stream MUST be decoded based on the algorithm defined in Section 4 RFC 4648

is puzzling.

aj-stein-nist commented 1 year ago

@GaryGapinski, thank you for the feedback. Moreso than questions, what we have understood from your questions here is: there is room for improvement in the profile resolution spec, can you address these things?

Can you tell us if this is urgent and/or you need this clarification to advance work impeded by the ambiguities you cited? Let us know and we may shift this into an issue with work items and prioritize accordingly, thanks!

GaryGapinski commented 1 year ago

This is not urgent (though while it exists, correct interpretation of profile resolution can be harmed). I suspect no one has read these. I think the "byte stream" concept is spurious and can be ignored and be made to disappear. The "Regardless of its source, the Byte Stream MUST be decoded based on the algorithm defined in Section 4 RFC 4648" should be deleted.

References from one document to another should be defined once for OSCAL (not just in profile resolution).

aj-stein-nist commented 1 year ago

This is not urgent (though while it exists, correct interpretation of profile resolution can be harmed). I suspect no one has read these. I think the "byte stream" concept is spurious and can be ignored and be made to disappear. The "Regardless of its source, the Byte Stream MUST be decoded based on the algorithm defined in Section 4 RFC 4648" should be deleted.

OK, thanks for your reply. We just wanted to check as we work on prioritizing on the questions here after we convert it into an issue. We will not define it as urgent, but still important and worth doing.

References from one document to another should be defined once for OSCAL (not just in profile resolution).

Thanks for the feedback, there will be a consideration of this item in future work. :-)