diff --git a/features/fedramp_extensions.feature b/features/fedramp_extensions.feature index a59781806..07bce6d55 100644 --- a/features/fedramp_extensions.feature +++ b/features/fedramp_extensions.feature @@ -36,6 +36,7 @@ Examples: | cia-impact-has-selected | | cloud-service-model | | component-has-authentication-method | + | component-has-provider-responsible-role | | component-type | | control-implementation-status | | data-center-alternate | @@ -177,6 +178,8 @@ Examples: | cloud-service-model-PASS.yaml | | component-has-authentication-method-FAIL.yaml | | component-has-authentication-method-PASS.yaml | + | component-responsible-role-references-party-FAIL.yaml | + | component-responsible-role-references-party-PASS.yaml | | component-type-FAIL.yaml | | component-type-PASS.yaml | | control-implementation-status-FAIL.yaml | diff --git a/src/validations/constraints/content/ssp-all-VALID.xml b/src/validations/constraints/content/ssp-all-VALID.xml index 521cc3b0a..ff73d5e3b 100644 --- a/src/validations/constraints/content/ssp-all-VALID.xml +++ b/src/validations/constraints/content/ssp-all-VALID.xml @@ -315,7 +315,10 @@ - + + 11111111-0000-4000-9000-000000000001 + + External API Connection @@ -330,6 +333,9 @@ + + 11111111-0000-4000-9000-000000000001 + 11111111-0000-4000-9000-000000000001 @@ -352,6 +358,9 @@ + + 11111111-0000-4000-9000-000000000001 + diff --git a/src/validations/constraints/content/ssp-component-has-provider-responsible-role-INVALID.xml b/src/validations/constraints/content/ssp-component-has-provider-responsible-role-INVALID.xml new file mode 100644 index 000000000..32eef91e2 --- /dev/null +++ b/src/validations/constraints/content/ssp-component-has-provider-responsible-role-INVALID.xml @@ -0,0 +1,12 @@ + + + + + + + 11111111-0000-4000-9000-000000000001 + 11111111-0000-4000-9000-000000000002 + + + + \ No newline at end of file diff --git a/src/validations/constraints/fedramp-external-constraints.xml b/src/validations/constraints/fedramp-external-constraints.xml index eebb1b89a..db678dd97 100644 --- a/src/validations/constraints/fedramp-external-constraints.xml +++ b/src/validations/constraints/fedramp-external-constraints.xml @@ -86,6 +86,11 @@ A FedRAMP SSP MUST include at least one authentication method for each leveraged system. + + Component Has Provider Responsible Role + + A FedRAMP SSP MUST have each component describing leveraged systems, interconnections, or authorized services identify a "provider" role that references one responsible party. + Has Authorization Boundary Diagram Link Href Target diff --git a/src/validations/constraints/unit-tests/component-responsible-role-references-party-FAIL.yaml b/src/validations/constraints/unit-tests/component-responsible-role-references-party-FAIL.yaml new file mode 100644 index 000000000..6411e2393 --- /dev/null +++ b/src/validations/constraints/unit-tests/component-responsible-role-references-party-FAIL.yaml @@ -0,0 +1,9 @@ +test-case: + name: Negative Test for component-has-provider-responsible-role + description: >- + This test case validates the behavior of constraint + component-has-provider-responsible-role + content: ../content/ssp-component-has-provider-responsible-role-INVALID.xml + expectations: + - constraint-id: component-has-provider-responsible-role + result: fail diff --git a/src/validations/constraints/unit-tests/component-responsible-role-references-party-PASS.yaml b/src/validations/constraints/unit-tests/component-responsible-role-references-party-PASS.yaml new file mode 100644 index 000000000..40990f9b8 --- /dev/null +++ b/src/validations/constraints/unit-tests/component-responsible-role-references-party-PASS.yaml @@ -0,0 +1,9 @@ +test-case: + name: Positive Test for component-has-provider-responsible-role + description: >- + This test case validates the behavior of constraint + component-has-provider-responsible-role + content: ../content/ssp-all-VALID.xml + expectations: + - constraint-id: component-has-provider-responsible-role + result: pass