From 2b5f94522ef745ff5d28d538afee78b779b31a81 Mon Sep 17 00:00:00 2001 From: Gabeblis Date: Fri, 25 Oct 2024 09:35:03 -0400 Subject: [PATCH] Update `Data Centers` documentation (#96) * Update data-center documentation * change for clarity --- .../ssp/4-ssp-template-to-oscal-mapping.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/documentation/ssp/4-ssp-template-to-oscal-mapping.md b/content/documentation/ssp/4-ssp-template-to-oscal-mapping.md index df8e3db..c468bed 100644 --- a/content/documentation/ssp/4-ssp-template-to-oscal-mapping.md +++ b/content/documentation/ssp/4-ssp-template-to-oscal-mapping.md @@ -674,7 +674,7 @@ If SSP authors include these optional roles in the SSP, they should give conside ## Data Centers -Each system must define at least two data centers. There must be exactly one primary data center, and there must be at least one alternate data center. Additionally, the country specified in the data center's address must be the United States. It must be in [ISO 3166 Alpha-2 format](https://pages.nist.gov/OSCAL-Reference/models/v1.1.2/system-security-plan/xml-reference/#/system-security-plan/metadata/location/address/country) two-letter country code format (i.e., "US" in all upper case). +Each system must define at least two data centers. There must be exactly one primary data center, and there must be at least one alternate data center. Additionally, the country specified in a data center's address must be the United States. It must be in [ISO 3166 Alpha-2 format](https://pages.nist.gov/OSCAL-Reference/models/v1.1.2/system-security-plan/xml-reference/#/system-security-plan/metadata/location/address/country) two-letter country code format (i.e., "US" in all upper case). #### OSCAL Representation {{< highlight xml "linenos=table" >}} @@ -689,7 +689,7 @@ Each system must define at least two data centers. There must be exactly one pri 00000 US - + Secondary Data Center @@ -700,7 +700,7 @@ Each system must define at least two data centers. There must be exactly one pri 00000 US - + @@ -709,13 +709,13 @@ Each system must define at least two data centers. There must be exactly one pri #### XPath Queries {{< highlight xml "linenos=table" >}} Number of Data Centers: - count(/*/metadata/location[prop[@name eq 'data-center']]) > 1 + count(/*/metadata/location[prop[@value eq 'data-center']]) > 1 Number of Primary Data Centers: - count(/*/metadata/location/prop[@name eq 'data-center'][@class eq 'primary']) = 1 + count(/*/metadata/location/prop[@value eq 'data-center'][@class eq 'primary']) = 1 Number of Alternate Data Centers: - count(/*/metadata/location/prop[@name eq 'data-center'][@class eq 'alternate']) > 0 + count(/*/metadata/location/prop[@value eq 'data-center'][@class eq 'alternate']) > 0 Data Center Country: - /*/metadata/location[prop[@name eq 'data-center']]/address/country eq 'US' + /*/metadata/location[prop[@value eq 'data-center']]/address/country eq 'US' {{}} ---