From b7bba5caed29a965cc338d15d2b2fd150997fca4 Mon Sep 17 00:00:00 2001 From: Dimitri Zhurkin Date: Wed, 30 Aug 2023 09:55:50 -0600 Subject: [PATCH] Rev 5 SSP - fix ipv4-has-non-placeholder in Schematron and XSpec --- ...rev5_MODERATE-baseline-resolved-profile_catalog.xml | 6 ------ src/validations/rules/rev5/ssp.sch | 10 +++------- src/validations/test/rules/rev5/ssp.xspec | 4 ++-- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/dist/content/rev5/baselines/xml/FedRAMP_rev5_MODERATE-baseline-resolved-profile_catalog.xml b/dist/content/rev5/baselines/xml/FedRAMP_rev5_MODERATE-baseline-resolved-profile_catalog.xml index 6024f1ed4..e86c41cf4 100644 --- a/dist/content/rev5/baselines/xml/FedRAMP_rev5_MODERATE-baseline-resolved-profile_catalog.xml +++ b/dist/content/rev5/baselines/xml/FedRAMP_rev5_MODERATE-baseline-resolved-profile_catalog.xml @@ -57,12 +57,6 @@ - - - -

personnel or roles to whom the access control policy is to be disseminated is/are defined;

-
- diff --git a/src/validations/rules/rev5/ssp.sch b/src/validations/rules/rev5/ssp.sch index 261d8dcc5..60f28a832 100644 --- a/src/validations/rules/rev5/ssp.sch +++ b/src/validations/rules/rev5/ssp.sch @@ -2309,13 +2309,9 @@ feddoc:documentation-reference="OMB Mandate M-21-07" id="ipv4-has-non-placeholder" role="error" - test=" - if (oscal:prop[@name eq 'ipv4-address']) - then - (oscal:prop[matches(@value, '0.0.0.0')]) - else - (false())"> must have an appropriate IPv4 value. + test="oscal:prop[@name eq 'ipv4-address']/@value ne '0.0.0.0'"> + must have an appropriate IPv4 value. + value="10.2.2.2" /> + value="0.0.0.0" />