-
-
+
+
@@ -1731,8 +1731,8 @@ compliance (e.g., Module in Process).
-
-
+
+
diff --git a/src/validations/constraints/content/ssp-component-has-valid-validation-details-link-INVALID.xml b/src/validations/constraints/content/ssp-component-has-valid-validation-details-link-INVALID.xml
new file mode 100644
index 000000000..dd0164901
--- /dev/null
+++ b/src/validations/constraints/content/ssp-component-has-valid-validation-details-link-INVALID.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/validations/constraints/content/ssp-component-has-validation-details-link-INVALID.xml b/src/validations/constraints/content/ssp-component-has-validation-details-link-INVALID.xml
new file mode 100644
index 000000000..85508274b
--- /dev/null
+++ b/src/validations/constraints/content/ssp-component-has-validation-details-link-INVALID.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/validations/constraints/content/ssp-component-has-validation-reference-INVALID.xml b/src/validations/constraints/content/ssp-component-has-validation-reference-INVALID.xml
new file mode 100644
index 000000000..c9f79c94b
--- /dev/null
+++ b/src/validations/constraints/content/ssp-component-has-validation-reference-INVALID.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/validations/constraints/content/ssp-validation-reference-has-correct-format-INVALID.xml b/src/validations/constraints/content/ssp-validation-reference-has-correct-format-INVALID.xml
new file mode 100644
index 000000000..7200ae3af
--- /dev/null
+++ b/src/validations/constraints/content/ssp-validation-reference-has-correct-format-INVALID.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ 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 43dfdde1d..668fa2bd8 100644
--- a/src/validations/constraints/fedramp-external-constraints.xml
+++ b/src/validations/constraints/fedramp-external-constraints.xml
@@ -8,6 +8,21 @@
+
+ Component Has Valid Proof of Compliance Link
+
+ In a FedRAMP SSP, a cryptography validation component MUST include a valid validation details link.
+
+
+ Component Has Proof of Compliance Link
+
+ In a FedRAMP SSP, a cryptography validation component MUST include a validation details link.
+
+
+ Component Has Validation Reference
+
+ In a FedRAMP SSP, a cryptography validation component MUST include a validation reference.
+ Cryptographic Module Component Has Function
@@ -28,6 +43,11 @@
In a FedRAMP SSP, a crytographic module component MUST include at least one "validation" link.
+
+ Validation Reference Has Correct Format
+
+ In a FedRAMP SSP, a cryptography validation component MUST include a validation reference with the correct 4-digit format.
+
diff --git a/src/validations/constraints/unit-tests/component-has-valid-validation-details-link-FAIL.yaml b/src/validations/constraints/unit-tests/component-has-valid-validation-details-link-FAIL.yaml
new file mode 100644
index 000000000..b64e61034
--- /dev/null
+++ b/src/validations/constraints/unit-tests/component-has-valid-validation-details-link-FAIL.yaml
@@ -0,0 +1,9 @@
+test-case:
+ name: Negative Test for component-has-valid-validation-details-link
+ description: >-
+ This test case validates the behavior of constraint
+ component-has-valid-validation-details-link
+ content: ../content/ssp-component-has-valid-validation-details-link-INVALID.xml
+ expectations:
+ - constraint-id: component-has-valid-validation-details-link
+ result: fail
diff --git a/src/validations/constraints/unit-tests/component-has-valid-validation-details-link-PASS.yaml b/src/validations/constraints/unit-tests/component-has-valid-validation-details-link-PASS.yaml
new file mode 100644
index 000000000..506404854
--- /dev/null
+++ b/src/validations/constraints/unit-tests/component-has-valid-validation-details-link-PASS.yaml
@@ -0,0 +1,9 @@
+test-case:
+ name: Positive Test for component-has-valid-validation-details-link
+ description: >-
+ This test case validates the behavior of constraint
+ component-has-valid-validation-details-link
+ content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml
+ expectations:
+ - constraint-id: component-has-valid-validation-details-link
+ result: pass
diff --git a/src/validations/constraints/unit-tests/component-has-validation-details-link-FAIL.yaml b/src/validations/constraints/unit-tests/component-has-validation-details-link-FAIL.yaml
new file mode 100644
index 000000000..bfa7032df
--- /dev/null
+++ b/src/validations/constraints/unit-tests/component-has-validation-details-link-FAIL.yaml
@@ -0,0 +1,9 @@
+test-case:
+ name: Negative Test for component-has-validation-details-link
+ description: >-
+ This test case validates the behavior of constraint
+ component-has-validation-details-link
+ content: ../content/ssp-component-has-validation-details-link-INVALID.xml
+ expectations:
+ - constraint-id: component-has-validation-details-link
+ result: fail
diff --git a/src/validations/constraints/unit-tests/component-has-validation-details-link-PASS.yaml b/src/validations/constraints/unit-tests/component-has-validation-details-link-PASS.yaml
new file mode 100644
index 000000000..94d9a5a4f
--- /dev/null
+++ b/src/validations/constraints/unit-tests/component-has-validation-details-link-PASS.yaml
@@ -0,0 +1,9 @@
+test-case:
+ name: Positive Test for component-has-validation-details-link
+ description: >-
+ This test case validates the behavior of constraint
+ component-has-validation-details-link
+ content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml
+ expectations:
+ - constraint-id: component-has-validation-details-link
+ result: pass
diff --git a/src/validations/constraints/unit-tests/component-has-validation-reference-FAIL.yaml b/src/validations/constraints/unit-tests/component-has-validation-reference-FAIL.yaml
new file mode 100644
index 000000000..6cfebf2da
--- /dev/null
+++ b/src/validations/constraints/unit-tests/component-has-validation-reference-FAIL.yaml
@@ -0,0 +1,9 @@
+test-case:
+ name: Negative Test for component-has-validation-reference
+ description: >-
+ This test case validates the behavior of constraint
+ component-has-validation-reference
+ content: ../content/ssp-component-has-validation-reference-INVALID.xml
+ expectations:
+ - constraint-id: component-has-validation-reference
+ result: fail
diff --git a/src/validations/constraints/unit-tests/component-has-validation-reference-PASS.yaml b/src/validations/constraints/unit-tests/component-has-validation-reference-PASS.yaml
new file mode 100644
index 000000000..16176ce65
--- /dev/null
+++ b/src/validations/constraints/unit-tests/component-has-validation-reference-PASS.yaml
@@ -0,0 +1,9 @@
+test-case:
+ name: Positive Test for component-has-validation-reference
+ description: >-
+ This test case validates the behavior of constraint
+ component-has-validation-reference
+ content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml
+ expectations:
+ - constraint-id: component-has-validation-reference
+ result: pass
diff --git a/src/validations/constraints/unit-tests/validation-reference-has-correct-format-FAIL.yaml b/src/validations/constraints/unit-tests/validation-reference-has-correct-format-FAIL.yaml
new file mode 100644
index 000000000..10c685575
--- /dev/null
+++ b/src/validations/constraints/unit-tests/validation-reference-has-correct-format-FAIL.yaml
@@ -0,0 +1,9 @@
+test-case:
+ name: Negative Test for validation-reference-has-correct-format
+ description: >-
+ This test case validates the behavior of constraint
+ validation-reference-has-correct-format
+ content: ../content/ssp-validation-reference-has-correct-format-INVALID.xml
+ expectations:
+ - constraint-id: validation-reference-has-correct-format
+ result: fail
diff --git a/src/validations/constraints/unit-tests/validation-reference-has-correct-format-PASS.yaml b/src/validations/constraints/unit-tests/validation-reference-has-correct-format-PASS.yaml
new file mode 100644
index 000000000..102bebecd
--- /dev/null
+++ b/src/validations/constraints/unit-tests/validation-reference-has-correct-format-PASS.yaml
@@ -0,0 +1,9 @@
+test-case:
+ name: Positive Test for validation-reference-has-correct-format
+ description: >-
+ This test case validates the behavior of constraint
+ validation-reference-has-correct-format
+ content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml
+ expectations:
+ - constraint-id: validation-reference-has-correct-format
+ result: pass