From 7846255dcdf27726a09ee9a8425bf6b4698795f9 Mon Sep 17 00:00:00 2001 From: Rene Tshiteya Date: Thu, 21 Nov 2024 14:08:20 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Gabeblis --- .../constraints/content/ssp-all-VALID.xml | 14 ++++---------- .../constraints/fedramp-external-constraints.xml | 8 ++++---- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/src/validations/constraints/content/ssp-all-VALID.xml b/src/validations/constraints/content/ssp-all-VALID.xml index e1126685b..1f5473b5c 100644 --- a/src/validations/constraints/content/ssp-all-VALID.xml +++ b/src/validations/constraints/content/ssp-all-VALID.xml @@ -267,11 +267,8 @@ Name of Underlying System - - + + @@ -284,9 +281,7 @@ Another Leveraged Authorization - + @@ -318,8 +313,7 @@

Briefly describe leveraged system.

- + diff --git a/src/validations/constraints/fedramp-external-constraints.xml b/src/validations/constraints/fedramp-external-constraints.xml index 3a70eb413..9aabeb981 100644 --- a/src/validations/constraints/fedramp-external-constraints.xml +++ b/src/validations/constraints/fedramp-external-constraints.xml @@ -529,22 +529,22 @@ Each leveraged authorization MUST have exactly one system component. The leveraged authorization with uuid '{ $leveraged-authorization-uuid }' has { count(../component[@type='system'][prop[@name='leveraged-authorization-uuid' and @value=$leveraged-authorization-uuid]]) } "system" components. - Leveraged Authorization Has System Component + Leveraged Authorization Has Nature of Agreement Each leveraged authorization system component MUST have exactly one nature of agreemeent property. The leveraged authorization with uuid '{ $leveraged-authorization-uuid }' has a "system" component with { count(../component[@type='system'][prop[@name='leveraged-authorization-uuid' and @value=$leveraged-authorization-uuid]]/prop[@name='nature-of-agreement' and @ns='http://fedramp.gov/ns/oscal']) } defined "nature-of-agreement" props. - Leveraged Authorization Has System Component + Leveraged Authorization Has Information Type Each leveraged authorization system component MUST have at least one information type property. The leveraged authorization with uuid '{ $leveraged-authorization-uuid }' has a "system" component with { count(../component[@type='system'][prop[@name='leveraged-authorization-uuid' and @value=$leveraged-authorization-uuid]]/prop[@name='information-type' and @ns='http://fedramp.gov/ns/oscal']) } defined "informatin-type" props. - Leveraged Authorization Has System Component + Leveraged Authorization Has Implementation Point Each leveraged authorization system component MUST have exactly one implementation point property. The leveraged authorization with uuid '{ $leveraged-authorization-uuid }' has a "system" component with { count(../component[@type='system'][prop[@name='leveraged-authorization-uuid' and @value=$leveraged-authorization-uuid]]/prop[@name='implementation-point' and @value='external']) } defined "implementation-point" props. - Leveraged Authorization Has System Component + Leveraged Authorization Has Authorized Users Each leveraged authorization system component SHOULD have at least one role for authorized users. The leveraged authorization with uuid '{ $leveraged-authorization-uuid }' has a "system" component with { count(../component[@type='system'][prop[@name='leveraged-authorization-uuid' and @value=$leveraged-authorization-uuid]]/responsible-role/@role-id) } roles specified.