From c434b52a67599413490b9d42ef94063ce15f9dc6 Mon Sep 17 00:00:00 2001 From: "A.J. Stein" Date: Fri, 4 Oct 2024 17:57:15 -0400 Subject: [PATCH] [skip ci] Add FCSR-3 about alpha sorting for #675 --- src/validations/constraints/STYLE.md | 63 ++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/src/validations/constraints/STYLE.md b/src/validations/constraints/STYLE.md index 6f3231179..4e5c05cc0 100644 --- a/src/validations/constraints/STYLE.md +++ b/src/validations/constraints/STYLE.md @@ -195,3 +195,66 @@ Below is a non-conformant example. ``` + +### FCSR-3 + +ID: `fcsr-3` + +Formal Name: FedRAMP Requires Constraints in the Context Alphabetically by ID + +State: Required + +Guidance: Developers MUST sort OSCAL constraint definitions in a file for each context by each of their `@id`s alphabetically, from upper case and then lower case respectively. + +#### FCSR-3 Conformant Example + +Below is a conformant example: + +```xml + + + + + + Example of sorting. + + + Example of sorting. + + + Example of sorting. + + + Example of sorting. + + + + +``` + +#### FCSR-3 Non-conformant Example + +Below is a non-conformant example. + +```xml + + + + + + + Example of sorting. + + + Example of sorting. + + + Example of sorting. + + + Example of sorting. + + + + +```