From c2bcaf20e276ae31afb251c57fa674c7fe49121c Mon Sep 17 00:00:00 2001 From: Rene Tshiteya Date: Mon, 28 Oct 2024 15:36:53 -0400 Subject: [PATCH] Fix constraints and constraint test files per issue #773 --- .../content/fedramp-tailoring-profile.xml | 2 +- .../content/profile-all-INVALID.xml | 4 ++-- .../content/ssp-attachment-type-INVALID.xml | 2 +- .../ssp-authorization-type-INVALID.xml | 2 +- ...-control-implementation-status-INVALID.xml | 2 +- ...-authenticator-assurance-level-INVALID.xml | 2 +- ...-configuration-management-plan-INVALID.xml | 2 +- ...has-federation-assurance-level-INVALID.xml | 2 +- ...p-has-identity-assurance-level-INVALID.xml | 2 +- ...ssp-has-incident-response-plan-INVALID.xml | 2 +- ...mation-system-contingency-plan-INVALID.xml | 2 +- .../ssp-has-rules-of-behavior-INVALID.xml | 2 +- .../content/ssp-has-user-guide-INVALID.xml | 2 +- .../ssp-interconnection-direction-INVALID.xml | 4 ++-- .../ssp-interconnection-security-INVALID.xml | 4 ++-- ...orization-has-valid-impact-level-VALID.xml | 24 +++++++++---------- ...sp-missing-response-components-INVALID.xml | 6 ++--- .../ssp-profile-response-point-INVALID.xml | 4 ++-- ...p-resource-has-base64-or-rlink-INVALID.xml | 2 +- .../ssp-resource-has-title-INVALID.xml | 2 +- .../content/ssp-scan-type-INVALID.xml | 2 +- .../fedramp-external-allowed-values.xml | 2 +- 22 files changed, 39 insertions(+), 39 deletions(-) diff --git a/src/validations/constraints/content/fedramp-tailoring-profile.xml b/src/validations/constraints/content/fedramp-tailoring-profile.xml index ac28635e8..b5301ab3f 100644 --- a/src/validations/constraints/content/fedramp-tailoring-profile.xml +++ b/src/validations/constraints/content/fedramp-tailoring-profile.xml @@ -20,7 +20,7 @@ - + diff --git a/src/validations/constraints/content/profile-all-INVALID.xml b/src/validations/constraints/content/profile-all-INVALID.xml index de6bfcbb9..5b5bc573a 100644 --- a/src/validations/constraints/content/profile-all-INVALID.xml +++ b/src/validations/constraints/content/profile-all-INVALID.xml @@ -16,8 +16,8 @@ - - + +

This is a test checking that profiles validation fails if more than one response point is specified for a given (control) part.

diff --git a/src/validations/constraints/content/ssp-attachment-type-INVALID.xml b/src/validations/constraints/content/ssp-attachment-type-INVALID.xml index d06c671c3..bc716ca85 100644 --- a/src/validations/constraints/content/ssp-attachment-type-INVALID.xml +++ b/src/validations/constraints/content/ssp-attachment-type-INVALID.xml @@ -5,7 +5,7 @@ uuid="12345678-1234-4321-8765-123456789012"> - + diff --git a/src/validations/constraints/content/ssp-authorization-type-INVALID.xml b/src/validations/constraints/content/ssp-authorization-type-INVALID.xml index dd2fab6b5..1cd5436ae 100644 --- a/src/validations/constraints/content/ssp-authorization-type-INVALID.xml +++ b/src/validations/constraints/content/ssp-authorization-type-INVALID.xml @@ -4,6 +4,6 @@ xsi:schemaLocation="http://csrc.nist.gov/ns/oscal/1.0 https://github.com/usnistgov/OSCAL/releases/download/v1.1.2/oscal_ssp_schema.xsd" uuid="12345678-1234-4321-8765-123456789012"> - + diff --git a/src/validations/constraints/content/ssp-control-implementation-status-INVALID.xml b/src/validations/constraints/content/ssp-control-implementation-status-INVALID.xml index 1596cc8a5..2cb6b2176 100644 --- a/src/validations/constraints/content/ssp-control-implementation-status-INVALID.xml +++ b/src/validations/constraints/content/ssp-control-implementation-status-INVALID.xml @@ -7,7 +7,7 @@ - + diff --git a/src/validations/constraints/content/ssp-has-authenticator-assurance-level-INVALID.xml b/src/validations/constraints/content/ssp-has-authenticator-assurance-level-INVALID.xml index c44fa26ed..ee2130ab0 100644 --- a/src/validations/constraints/content/ssp-has-authenticator-assurance-level-INVALID.xml +++ b/src/validations/constraints/content/ssp-has-authenticator-assurance-level-INVALID.xml @@ -4,6 +4,6 @@ xsi:schemaLocation="http://csrc.nist.gov/ns/oscal/1.0 https://github.com/usnistgov/OSCAL/releases/download/v1.1.2/oscal_ssp_schema.xsd" uuid="12345678-1234-4321-8765-123456789012"> - + diff --git a/src/validations/constraints/content/ssp-has-configuration-management-plan-INVALID.xml b/src/validations/constraints/content/ssp-has-configuration-management-plan-INVALID.xml index d134e7119..ab9d648ee 100644 --- a/src/validations/constraints/content/ssp-has-configuration-management-plan-INVALID.xml +++ b/src/validations/constraints/content/ssp-has-configuration-management-plan-INVALID.xml @@ -8,7 +8,7 @@

Detailed access control policy document

- + diff --git a/src/validations/constraints/content/ssp-has-federation-assurance-level-INVALID.xml b/src/validations/constraints/content/ssp-has-federation-assurance-level-INVALID.xml index 72e6dfad0..24c15bdec 100644 --- a/src/validations/constraints/content/ssp-has-federation-assurance-level-INVALID.xml +++ b/src/validations/constraints/content/ssp-has-federation-assurance-level-INVALID.xml @@ -4,6 +4,6 @@ xsi:schemaLocation="http://csrc.nist.gov/ns/oscal/1.0 https://github.com/usnistgov/OSCAL/releases/download/v1.1.2/oscal_ssp_schema.xsd" uuid="12345678-1234-4321-8765-123456789012"> - + \ No newline at end of file diff --git a/src/validations/constraints/content/ssp-has-identity-assurance-level-INVALID.xml b/src/validations/constraints/content/ssp-has-identity-assurance-level-INVALID.xml index 72e6dfad0..24c15bdec 100644 --- a/src/validations/constraints/content/ssp-has-identity-assurance-level-INVALID.xml +++ b/src/validations/constraints/content/ssp-has-identity-assurance-level-INVALID.xml @@ -4,6 +4,6 @@ xsi:schemaLocation="http://csrc.nist.gov/ns/oscal/1.0 https://github.com/usnistgov/OSCAL/releases/download/v1.1.2/oscal_ssp_schema.xsd" uuid="12345678-1234-4321-8765-123456789012"> - + \ No newline at end of file diff --git a/src/validations/constraints/content/ssp-has-incident-response-plan-INVALID.xml b/src/validations/constraints/content/ssp-has-incident-response-plan-INVALID.xml index d134e7119..ab9d648ee 100644 --- a/src/validations/constraints/content/ssp-has-incident-response-plan-INVALID.xml +++ b/src/validations/constraints/content/ssp-has-incident-response-plan-INVALID.xml @@ -8,7 +8,7 @@

Detailed access control policy document

- + diff --git a/src/validations/constraints/content/ssp-has-information-system-contingency-plan-INVALID.xml b/src/validations/constraints/content/ssp-has-information-system-contingency-plan-INVALID.xml index d134e7119..ab9d648ee 100644 --- a/src/validations/constraints/content/ssp-has-information-system-contingency-plan-INVALID.xml +++ b/src/validations/constraints/content/ssp-has-information-system-contingency-plan-INVALID.xml @@ -8,7 +8,7 @@

Detailed access control policy document

- + diff --git a/src/validations/constraints/content/ssp-has-rules-of-behavior-INVALID.xml b/src/validations/constraints/content/ssp-has-rules-of-behavior-INVALID.xml index d134e7119..ab9d648ee 100644 --- a/src/validations/constraints/content/ssp-has-rules-of-behavior-INVALID.xml +++ b/src/validations/constraints/content/ssp-has-rules-of-behavior-INVALID.xml @@ -8,7 +8,7 @@

Detailed access control policy document

- + diff --git a/src/validations/constraints/content/ssp-has-user-guide-INVALID.xml b/src/validations/constraints/content/ssp-has-user-guide-INVALID.xml index d134e7119..ab9d648ee 100644 --- a/src/validations/constraints/content/ssp-has-user-guide-INVALID.xml +++ b/src/validations/constraints/content/ssp-has-user-guide-INVALID.xml @@ -8,7 +8,7 @@

Detailed access control policy document

- + diff --git a/src/validations/constraints/content/ssp-interconnection-direction-INVALID.xml b/src/validations/constraints/content/ssp-interconnection-direction-INVALID.xml index 1a9a7bc8c..987fe20b7 100644 --- a/src/validations/constraints/content/ssp-interconnection-direction-INVALID.xml +++ b/src/validations/constraints/content/ssp-interconnection-direction-INVALID.xml @@ -9,8 +9,8 @@

Secure connection to an external API for data enrichment.

- - + + 11111111-0000-4000-9000-000000000001 diff --git a/src/validations/constraints/content/ssp-interconnection-security-INVALID.xml b/src/validations/constraints/content/ssp-interconnection-security-INVALID.xml index 1a9a7bc8c..987fe20b7 100644 --- a/src/validations/constraints/content/ssp-interconnection-security-INVALID.xml +++ b/src/validations/constraints/content/ssp-interconnection-security-INVALID.xml @@ -9,8 +9,8 @@

Secure connection to an external API for data enrichment.

- - + + 11111111-0000-4000-9000-000000000001 diff --git a/src/validations/constraints/content/ssp-leveraged-authorization-has-valid-impact-level-VALID.xml b/src/validations/constraints/content/ssp-leveraged-authorization-has-valid-impact-level-VALID.xml index f3c9ec506..9d6ece823 100644 --- a/src/validations/constraints/content/ssp-leveraged-authorization-has-valid-impact-level-VALID.xml +++ b/src/validations/constraints/content/ssp-leveraged-authorization-has-valid-impact-level-VALID.xml @@ -162,7 +162,7 @@ - F00000001 + F00000001 Enhanced Example System System's Short Name or Acronym @@ -321,7 +321,7 @@ - + 11111111-0000-4000-9000-000000000001 @@ -355,15 +355,15 @@

Implementation of controls for the Enhanced Example System

- - + +

Access Control Policy and Procedures (AC-1) is fully implemented in our system.

- + 11111111-0000-4000-9000-000000000001 @@ -371,14 +371,14 @@
- +

Information System Component Inventory (CM-8) is partially implemented.

- + 11111111-0000-4000-9000-000000000001 @@ -392,7 +392,7 @@

Detailed access control policy document

- + @@ -473,7 +473,7 @@

Separation of Duties Matrix

- + @@ -489,7 +489,7 @@

Authorization Boundary Diagram

- + @@ -504,7 +504,7 @@

Network Architecture Diagram

- + @@ -519,7 +519,7 @@

Data flow Diagram

- + diff --git a/src/validations/constraints/content/ssp-missing-response-components-INVALID.xml b/src/validations/constraints/content/ssp-missing-response-components-INVALID.xml index 64e940884..851747a16 100644 --- a/src/validations/constraints/content/ssp-missing-response-components-INVALID.xml +++ b/src/validations/constraints/content/ssp-missing-response-components-INVALID.xml @@ -8,15 +8,15 @@

Implementation of controls for the Enhanced Example System

- - + + - + diff --git a/src/validations/constraints/content/ssp-profile-response-point-INVALID.xml b/src/validations/constraints/content/ssp-profile-response-point-INVALID.xml index b4839d067..d83e672c0 100644 --- a/src/validations/constraints/content/ssp-profile-response-point-INVALID.xml +++ b/src/validations/constraints/content/ssp-profile-response-point-INVALID.xml @@ -93,8 +93,8 @@ - - + + diff --git a/src/validations/constraints/content/ssp-resource-has-base64-or-rlink-INVALID.xml b/src/validations/constraints/content/ssp-resource-has-base64-or-rlink-INVALID.xml index d134e7119..ab9d648ee 100644 --- a/src/validations/constraints/content/ssp-resource-has-base64-or-rlink-INVALID.xml +++ b/src/validations/constraints/content/ssp-resource-has-base64-or-rlink-INVALID.xml @@ -8,7 +8,7 @@

Detailed access control policy document

- +
diff --git a/src/validations/constraints/content/ssp-resource-has-title-INVALID.xml b/src/validations/constraints/content/ssp-resource-has-title-INVALID.xml index d134e7119..ab9d648ee 100644 --- a/src/validations/constraints/content/ssp-resource-has-title-INVALID.xml +++ b/src/validations/constraints/content/ssp-resource-has-title-INVALID.xml @@ -8,7 +8,7 @@

Detailed access control policy document

- + diff --git a/src/validations/constraints/content/ssp-scan-type-INVALID.xml b/src/validations/constraints/content/ssp-scan-type-INVALID.xml index 4e64d0cbf..4c6c62b54 100644 --- a/src/validations/constraints/content/ssp-scan-type-INVALID.xml +++ b/src/validations/constraints/content/ssp-scan-type-INVALID.xml @@ -5,7 +5,7 @@ uuid="12345678-1234-4321-8765-123456789012"> - + diff --git a/src/validations/constraints/fedramp-external-allowed-values.xml b/src/validations/constraints/fedramp-external-allowed-values.xml index dab1e71cc..e8217a9e0 100644 --- a/src/validations/constraints/fedramp-external-allowed-values.xml +++ b/src/validations/constraints/fedramp-external-allowed-values.xml @@ -342,7 +342,7 @@ Bi-Directional - + Interconnection Security Identifies the type of security applied to the interconnection. IPsec