From aba9a26000869e1be2526b8759a6397888cfd1de Mon Sep 17 00:00:00 2001 From: DimitriZhurkin Date: Fri, 22 Nov 2024 13:17:36 -0700 Subject: [PATCH 1/3] Add external-system-nature-of-agreement --- features/fedramp_extensions.feature | 3 +++ .../constraints/content/ssp-all-VALID.xml | 11 ++++++++++ ...nal-system-nature-of-agreement-INVALID.xml | 22 +++++++++++++++++++ .../fedramp-external-allowed-values.xml | 13 +++++++++++ ...ernal-system-nature-of-agreement-FAIL.yaml | 8 +++++++ ...ernal-system-nature-of-agreement-PASS.yaml | 8 +++++++ 6 files changed, 65 insertions(+) create mode 100644 src/validations/constraints/content/ssp-external-system-nature-of-agreement-INVALID.xml create mode 100644 src/validations/constraints/unit-tests/external-system-nature-of-agreement-FAIL.yaml create mode 100644 src/validations/constraints/unit-tests/external-system-nature-of-agreement-PASS.yaml diff --git a/features/fedramp_extensions.feature b/features/fedramp_extensions.feature index cf7407a31..d260dd8bd 100644 --- a/features/fedramp_extensions.feature +++ b/features/fedramp_extensions.feature @@ -42,6 +42,7 @@ Examples: | data-center-primary | | data-center-us | | deployment-model | + | external-system-nature-of-agreement | | fedramp-version | | fully-operational-date-is-valid | | fully-operational-date-type | @@ -181,6 +182,8 @@ Examples: | data-center-us-PASS.yaml | | deployment-model-FAIL.yaml | | deployment-model-PASS.yaml | + | external-system-nature-of-agreement-FAIL.yaml | + | external-system-nature-of-agreement-PASS.yaml | | fedramp-version-FAIL.yaml | | fedramp-version-PASS.yaml | | fully-operational-date-is-valid-FAIL.yaml | diff --git a/src/validations/constraints/content/ssp-all-VALID.xml b/src/validations/constraints/content/ssp-all-VALID.xml index 65bfbc915..bfdb19693 100644 --- a/src/validations/constraints/content/ssp-all-VALID.xml +++ b/src/validations/constraints/content/ssp-all-VALID.xml @@ -327,6 +327,17 @@

This connection is used for secure data exchange with external systems.

+ + + Name of External System + +

Briefly describe the external system.

+
+ + + + +
diff --git a/src/validations/constraints/content/ssp-external-system-nature-of-agreement-INVALID.xml b/src/validations/constraints/content/ssp-external-system-nature-of-agreement-INVALID.xml new file mode 100644 index 000000000..beed271a3 --- /dev/null +++ b/src/validations/constraints/content/ssp-external-system-nature-of-agreement-INVALID.xml @@ -0,0 +1,22 @@ + + + + + + + Name of External System + +

Briefly describe the external system.

+
+ + + + +
+ +
+ +
\ No newline at end of file diff --git a/src/validations/constraints/fedramp-external-allowed-values.xml b/src/validations/constraints/fedramp-external-allowed-values.xml index b7f01cf49..6ac2418ac 100644 --- a/src/validations/constraints/fedramp-external-allowed-values.xml +++ b/src/validations/constraints/fedramp-external-allowed-values.xml @@ -127,6 +127,19 @@ Other + + Nature of Agreement for External Systems + Identifies nature of agreement for external systems. + + A contract between the CSP and the organization that owns the external system. + An end-user license agreement between the CSP and the organization that owns the external system. + An interconnection security agreement between the CSP and the organization that owns the external system. + An application license agreement between the CSP and the organization that owns the external system. + A memorandum of understanding between the CSP and the organization that owns the external system. + An non-typical agreement between the CSP and the organization that owns the external system. Explain in remarks. + A service-level agreement between the CSP and the organization that owns the external system. + + FedRAMP Version Identifies the FedRAMP version of the document. diff --git a/src/validations/constraints/unit-tests/external-system-nature-of-agreement-FAIL.yaml b/src/validations/constraints/unit-tests/external-system-nature-of-agreement-FAIL.yaml new file mode 100644 index 000000000..a24aa2405 --- /dev/null +++ b/src/validations/constraints/unit-tests/external-system-nature-of-agreement-FAIL.yaml @@ -0,0 +1,8 @@ +# Driver for the invalid external-system-nature-of-agreement constraint unit test. +test-case: + name: The invalid external-system-nature-of-agreement constraint unit test. + description: Test that the FedRAMP SSP contains an invalid nature-of-agreement value for an external system. + content: ../content/ssp-external-system-nature-of-agreement-INVALID.xml + expectations: + - constraint-id: external-system-nature-of-agreement + result: fail \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/external-system-nature-of-agreement-PASS.yaml b/src/validations/constraints/unit-tests/external-system-nature-of-agreement-PASS.yaml new file mode 100644 index 000000000..9d62c3fb9 --- /dev/null +++ b/src/validations/constraints/unit-tests/external-system-nature-of-agreement-PASS.yaml @@ -0,0 +1,8 @@ +# Driver for the valid external-system-nature-of-agreement constraint unit test. +test-case: + name: The valid external-system-nature-of-agreement constraint unit test. + description: Test that the FedRAMP SSP contains valid nature-of-agreement value for an external system. + content: ../content/ssp-all-VALID.xml + expectations: + - constraint-id: external-system-nature-of-agreement + result: pass \ No newline at end of file From 4fa7efaf6ae3880dfa89509647ce8b20a4c86542 Mon Sep 17 00:00:00 2001 From: DimitriZhurkin Date: Fri, 22 Nov 2024 15:05:34 -0700 Subject: [PATCH 2/3] Update help-url --- src/validations/constraints/fedramp-external-allowed-values.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validations/constraints/fedramp-external-allowed-values.xml b/src/validations/constraints/fedramp-external-allowed-values.xml index 6ac2418ac..083f86f41 100644 --- a/src/validations/constraints/fedramp-external-allowed-values.xml +++ b/src/validations/constraints/fedramp-external-allowed-values.xml @@ -130,7 +130,7 @@ Nature of Agreement for External Systems Identifies nature of agreement for external systems. - + A contract between the CSP and the organization that owns the external system. An end-user license agreement between the CSP and the organization that owns the external system. An interconnection security agreement between the CSP and the organization that owns the external system. From 50d321acc148237cf4b919c12075c87f05fc65ee Mon Sep 17 00:00:00 2001 From: DimitriZhurkin Date: Mon, 25 Nov 2024 12:30:29 -0700 Subject: [PATCH 3/3] Modified Metapath as per #907 --- src/validations/constraints/content/ssp-all-VALID.xml | 6 +++--- .../ssp-external-system-nature-of-agreement-INVALID.xml | 6 +++--- .../constraints/fedramp-external-allowed-values.xml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/validations/constraints/content/ssp-all-VALID.xml b/src/validations/constraints/content/ssp-all-VALID.xml index bfdb19693..09088bda1 100644 --- a/src/validations/constraints/content/ssp-all-VALID.xml +++ b/src/validations/constraints/content/ssp-all-VALID.xml @@ -328,13 +328,13 @@ - + Name of External System

Briefly describe the external system.

- - + +
diff --git a/src/validations/constraints/content/ssp-external-system-nature-of-agreement-INVALID.xml b/src/validations/constraints/content/ssp-external-system-nature-of-agreement-INVALID.xml index beed271a3..a5ebfb095 100644 --- a/src/validations/constraints/content/ssp-external-system-nature-of-agreement-INVALID.xml +++ b/src/validations/constraints/content/ssp-external-system-nature-of-agreement-INVALID.xml @@ -6,13 +6,13 @@ - + Name of External System

Briefly describe the external system.

- - + +
diff --git a/src/validations/constraints/fedramp-external-allowed-values.xml b/src/validations/constraints/fedramp-external-allowed-values.xml index 083f86f41..11633ec44 100644 --- a/src/validations/constraints/fedramp-external-allowed-values.xml +++ b/src/validations/constraints/fedramp-external-allowed-values.xml @@ -127,7 +127,7 @@ Other
- + Nature of Agreement for External Systems Identifies nature of agreement for external systems.