diff --git a/features/fedramp_extensions.feature b/features/fedramp_extensions.feature index 42b267a3d..e9c9696bc 100644 --- a/features/fedramp_extensions.feature +++ b/features/fedramp_extensions.feature @@ -11,9 +11,6 @@ Scenario Outline: Documents that should be valid are pass Examples: | valid_file | | ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml | -# | ssp-all-VALID.xml | -# | ../../../content/awesome-cloud/xml/AwesomeCloudSSP1.xml | -# | ../../../content/awesome-cloud/xml/AwesomeCloudSSP2.xml | @full-coverage Scenario: Preparing constraint coverage analysis diff --git a/src/content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml b/src/content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml index 6d0d2a5da..547ee8828 100644 --- a/src/content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml +++ b/src/content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml @@ -1088,7 +1088,7 @@

Describe the service and what it is used for.

- + @@ -1183,7 +1183,7 @@

An external system to which this system shares an interconnection.

- + @@ -1494,7 +1494,7 @@ - + @@ -1569,7 +1569,7 @@ - + @@ -1761,7 +1761,7 @@

None

- + @@ -2174,7 +2174,7 @@

Email Service

- + diff --git a/src/validations/constraints/CONTRIBUTING.md b/src/validations/constraints/CONTRIBUTING.md index 2edc2a4fc..47d9934d8 100644 --- a/src/validations/constraints/CONTRIBUTING.md +++ b/src/validations/constraints/CONTRIBUTING.md @@ -107,7 +107,7 @@ npm run constraint You can add a constraint and test to this repository by following these high-level steps. 1. Create a new constraint in [the appropriate constraints file](#which-constraint-file-do-i-edit). Note the `id`, you will use it later. -2. Add the necessary, correct data to [`./content/ssp-all-VALID.xml`](./content/ssp-all-VALID.xml) for a positive test of the constraint. +2. Add the necessary, correct data to [`../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml`](../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml) for a positive test of the constraint. 3. Add the YAML metadata for the positive test in [`./unit-tests`](./unit-tests/). The name of the file should start with the name of the assembly, field, or flag, and end with `-PASS.yaml`. For example, a new constraint and test for a [`//metadata/party/prop`](https://pages.nist.gov/OSCAL-Reference/models/v1.1.2/system-security-plan/json-reference/#/system-security-plan/metadata/parties) assembly should be `party-PASS.yaml`. The content should be like the example below. ```yaml @@ -115,7 +115,7 @@ You can add a constraint and test to this repository by following these high-lev test-case: name: Positive Test for party description: This test case validates the behavior of constraint party - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: party result: pass diff --git a/src/validations/constraints/content/ssp-all-VALID.xml b/src/validations/constraints/content/ssp-control-implementation-status-VALID.xml similarity index 100% rename from src/validations/constraints/content/ssp-all-VALID.xml rename to src/validations/constraints/content/ssp-control-implementation-status-VALID.xml diff --git a/src/validations/constraints/content/ssp-has-authorization-boundary-diagram-link-href-target-VALID-1.xml b/src/validations/constraints/content/ssp-has-authorization-boundary-diagram-link-href-target-VALID-1.xml index ebeecfc3e..58e27a345 100644 --- a/src/validations/constraints/content/ssp-has-authorization-boundary-diagram-link-href-target-VALID-1.xml +++ b/src/validations/constraints/content/ssp-has-authorization-boundary-diagram-link-href-target-VALID-1.xml @@ -169,7 +169,7 @@

A diagram-specific explanation.

- + Authorization Boundary Diagram diff --git a/src/validations/constraints/content/ssp-has-data-flow-diagram-link-href-target-VALID-1.xml b/src/validations/constraints/content/ssp-has-data-flow-diagram-link-href-target-VALID-1.xml index fc8e9a117..e9b6b0087 100644 --- a/src/validations/constraints/content/ssp-has-data-flow-diagram-link-href-target-VALID-1.xml +++ b/src/validations/constraints/content/ssp-has-data-flow-diagram-link-href-target-VALID-1.xml @@ -193,7 +193,7 @@

A diagram-specific explanation.

- + Data Flow Diagram diff --git a/src/validations/constraints/content/ssp-has-network-architecture-diagram-link-href-target-VALID-1.xml b/src/validations/constraints/content/ssp-has-network-architecture-diagram-link-href-target-VALID-1.xml index a7d82a3c9..53592f60e 100644 --- a/src/validations/constraints/content/ssp-has-network-architecture-diagram-link-href-target-VALID-1.xml +++ b/src/validations/constraints/content/ssp-has-network-architecture-diagram-link-href-target-VALID-1.xml @@ -85,9 +85,6 @@ 22222222-0000-4000-9000-000000000002 - - 22222222-0000-4000-9000-000000000002 - 22222222-0000-4000-9000-000000000002 @@ -181,7 +178,7 @@

A diagram-specific explanation.

- + Network Diagram @@ -234,7 +231,7 @@

Secure connection to an external API for data enrichment.

- + diff --git a/src/validations/constraints/content/ssp-interconnection-direction-VALID.xml b/src/validations/constraints/content/ssp-interconnection-direction-VALID.xml new file mode 100644 index 000000000..715a29c66 --- /dev/null +++ b/src/validations/constraints/content/ssp-interconnection-direction-VALID.xml @@ -0,0 +1,625 @@ + + + + Enhanced Example System Security Plan + 2024-08-01T14:30:00Z + 2024-08-01T14:30:00Z + 1.1 + 1.1.2 + SSP-2024-002 + + + + Authorizing Official + +

Senior official with authority to formally assume responsibility for operating a system at an acceptable level of risk.

+
+
+ + Prepared By + +

This party prepared the SSP.

+
+
+ + Prepared For + +

The organization for which this SSP was prepared. Typically the CSP.

+
+
+ + Document Creator + + + Content Approver + + + System Administrator + + + Asset Owner + + + System Owner + + + Authorizing Official Point of Contact + + + Information System Security Officer (or Equivalent) + + + Information System Management Point of Contact (POC) + +

The highest level manager who is responsible for system operation on behalf of the System Owner.

+
+
+ + Information System Technical Point of Contact + +

The individual or individuals leading the technical operation of the system.

+
+
+ + General Point of Contact (POC) + +

A general point of contact for the system, designated by the system owner.

+
+
+ + + CSP HQ +
+ Suite 0000 + 1234 Some Street + Haven + ME + 00000 + US +
+
+ +
+ US +
+ +
+ +
+ US +
+ +
+ + Person Name 1 + + + name@example.com + 2020000001 + 27b78960-59ef-4619-82b0-ae20b9c709ac + 6b286b5d-8f07-4fa7-8847-1dd0d88f73fb + + + Cloud Service Provider (CSP) Name + CSP Acronym/Short Name + + 27b78960-59ef-4619-82b0-ae20b9c709ac + + + Example Organization + ExOrg + + + + Jane Doe + jane.doe@example.com +
+ + + + 3360e343-9860-4bda-9dfc-ff427c3dfab6 + + + 6b286b5d-8f07-4fa7-8847-1dd0d88f73fb + + + 11111111-0000-4000-9000-000000000001 + + + 22222222-0000-4000-9000-000000000002 + + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + +

This SSP is an example for demonstration purposes.

+
+ + + + + + F00000001 + Enhanced Example System + System's Short Name or Acronym + +

This is an enhanced example system for demonstration purposes, incorporating more FedRAMP-specific elements.

+
+ + +

Remarks are required if deployment model is "hybrid-cloud" or "other". Optional otherwise.

+
+
+ + +

Remarks are required if service model is "other". Optional otherwise.

+
+
+ + + + + + fips-199-moderate + + + Financial Information + +

Contains sensitive financial data related to organizational operations.

+
+ + C.2.8.12 + + + fips-199-high + fips-199-high + + + + fips-199-moderate + fips-199-low + +

Required if the base and selected values do not match.

+
+
+ + fips-199-high + fips-199-low + +

Required if the base and selected values do not match.

+
+
+
+
+ + fips-199-moderate + fips-199-moderate + fips-199-moderate + + + + +

The authorization boundary includes all components within the main data center and the disaster recovery site.

+
+ + +

A diagram-specific explanation.

+
+ + Authorization Boundary Diagram +
+
+ + +

A holistic, top-level explanation of the network architecture.

+
+ + +

A diagram-specific explanation.

+
+ + Network Diagram +
+
+ + +

A holistic, top-level explanation of the system's data flows.

+
+ + +

A diagram-specific explanation.

+
+ + Data Flow Diagram +
+
+
+ + + + + GovCloud + + + + + f0bc13a4-3303-47dd-80d3-380e159c8362 + 2015-01-01 + +

Use one leveraged-authorization assembly for each underlying system. In the legacy world, these may be general support systems.

+

The link fields are optional, but preferred when known. Often, a leveraging system's SSP author will not have access to the leveraged system's SSP, but should have access to the leveraged system's CRM.

+
+
+ + + System Administrator + + + + system-admin + + Admin +

admin user

+ administration +
+
+ + + Primary Application Server + +

Main application server hosting the core system functionality.

+
+ main line + + + 11111111-0000-4000-9000-000000000001 + + +

This is the primary application server for the system.

+
+
+ + Firebase CLI Connection + +

CLI for updating firebase Secure connection to an external API for data enrichment.

+
+ + +

Some description of the authentication method.

+
+
+ + + + + + + + 11111111-0000-4000-9000-000000000001 + + +

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

+
+
+ + An External Leveraged System + +

An external leveraged system.

+
+ + + + + +

Some description of the external authentication method.

+
+
+ + + 11111111-0000-4000-9000-000000000001 + + + 11111111-0000-4000-9000-000000000001 + + + + +
+ + + External API Connection + +

Secure connection to an external API for data enrichment.

+
+ + + + + + +

Some description of the authentication method.

+
+
+ + + 11111111-0000-4000-9000-000000000001 + + + 11111111-0000-4000-9000-000000000001 + + +

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

+
+
+ + + Name of External System + +

Briefly describe the external system.

+
+ + + + + + + +

Some description of the authentication method.

+
+
+ + + 11111111-0000-4000-9000-000000000001 + + + 11111111-0000-4000-9000-000000000001 + +
+ + + +

Primary database server

+
+ + + + + + + + 11111111-0000-4000-9000-000000000001 + + + + +
+ + + +

Secondary database server

+
+ + + + + + + + 11111111-0000-4000-9000-000000000001 + + + + +
+ +
+ + + +

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 + +
+
+ + + + + + + +

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

+
+ + + 11111111-0000-4000-9000-000000000001 + +
+
+
+ + + + Access Control Policy + +

Detailed access control policy document

+
+ + +
+ + User's Guide + +

User's Guide

+
+ + + + +

Table 12-1 Attachments: User's Guide Attachment

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Document Title + +

Rules of Behavior

+
+ + + + + 00000000 + +

Table 12-1 Attachments: Rules of Behavior (ROB)

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Document Title + +

Contingency Plan (CP)

+
+ + + + + 00000000 + +

Table 12-1 Attachments: Contingency Plan (CP) Attachment

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Document Title + +

Configuration Management (CM) Plan

+
+ + + + + 00000000 + +

Table 12-1 Attachments: Configuration Management (CM) Plan Attachment

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Document Title + +

Incident Response (IR) Plan

+
+ + + + + 00000000 + +

Table 12-1 Attachments: Incident Response (IR) Plan Attachment

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Separation of Duties Matrix + +

Separation of Duties Matrix

+
+ + + + + 00000000 + +

May use rlink with a relative path, or embedded as base64.

+
+
+ + + Boundary Diagram + +

The primary authorization boundary diagram.

+
+ + + 00000000 + +

Section 8.1, Figure 8-1 Authorization Boundary Diagram (graphic)

+

This should be referenced in the system-characteristics/authorization-boundary/diagram/link/@href flag using a value of "#11111111-2222-4000-8000-001000000054"

+

May use rlink with a relative path, or embedded as base64.

+

FedRAMP prefers base64 for images and diagrams.

+

Images must be in sufficient resolution to read all detail when rendered in a browser via HTML5.

+
+
+ + + Network Diagram + +

The primary network diagram.

+
+ + + + 00000000 + +

Section 8.1, Figure 8-2 Network Diagram (graphic)

+

This should be referenced in the system-characteristics/network-architecture/diagram/link/@href flag using a value of "#11111111-2222-4000-8000-001000000055"

+

May use rlink with a relative path, or embedded as base64.

+

FedRAMP prefers base64 for images and diagrams.

+

Images must be in sufficient resolution to read all detail when rendered in a browser via HTML5.

+
+
+ + + Data Flow Diagram + +

The primary data flow diagram.

+
+ + + 00000000 + +

Section 8.1, Figure 8-3 Data Flow Diagram (graphic)

+

This should be referenced in the system-characteristics/data-flow/diagram/link/@href flag using a value of "#11111111-2222-4000-8000-001000000056"

+

May use rlink with a relative path, or embedded as base64.

+

FedRAMP prefers base64 for images and diagrams.

+

Images must be in sufficient resolution to read all detail when rendered in a browser via HTML5.

+
+
+
+ \ No newline at end of file diff --git a/src/validations/constraints/content/ssp-interconnection-security-VALID.xml b/src/validations/constraints/content/ssp-interconnection-security-VALID.xml new file mode 100644 index 000000000..715a29c66 --- /dev/null +++ b/src/validations/constraints/content/ssp-interconnection-security-VALID.xml @@ -0,0 +1,625 @@ + + + + Enhanced Example System Security Plan + 2024-08-01T14:30:00Z + 2024-08-01T14:30:00Z + 1.1 + 1.1.2 + SSP-2024-002 + + + + Authorizing Official + +

Senior official with authority to formally assume responsibility for operating a system at an acceptable level of risk.

+
+
+ + Prepared By + +

This party prepared the SSP.

+
+
+ + Prepared For + +

The organization for which this SSP was prepared. Typically the CSP.

+
+
+ + Document Creator + + + Content Approver + + + System Administrator + + + Asset Owner + + + System Owner + + + Authorizing Official Point of Contact + + + Information System Security Officer (or Equivalent) + + + Information System Management Point of Contact (POC) + +

The highest level manager who is responsible for system operation on behalf of the System Owner.

+
+
+ + Information System Technical Point of Contact + +

The individual or individuals leading the technical operation of the system.

+
+
+ + General Point of Contact (POC) + +

A general point of contact for the system, designated by the system owner.

+
+
+ + + CSP HQ +
+ Suite 0000 + 1234 Some Street + Haven + ME + 00000 + US +
+
+ +
+ US +
+ +
+ +
+ US +
+ +
+ + Person Name 1 + + + name@example.com + 2020000001 + 27b78960-59ef-4619-82b0-ae20b9c709ac + 6b286b5d-8f07-4fa7-8847-1dd0d88f73fb + + + Cloud Service Provider (CSP) Name + CSP Acronym/Short Name + + 27b78960-59ef-4619-82b0-ae20b9c709ac + + + Example Organization + ExOrg + + + + Jane Doe + jane.doe@example.com +
+ + + + 3360e343-9860-4bda-9dfc-ff427c3dfab6 + + + 6b286b5d-8f07-4fa7-8847-1dd0d88f73fb + + + 11111111-0000-4000-9000-000000000001 + + + 22222222-0000-4000-9000-000000000002 + + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + 22222222-0000-4000-9000-000000000002 + + + +

This SSP is an example for demonstration purposes.

+
+ + + + + + F00000001 + Enhanced Example System + System's Short Name or Acronym + +

This is an enhanced example system for demonstration purposes, incorporating more FedRAMP-specific elements.

+
+ + +

Remarks are required if deployment model is "hybrid-cloud" or "other". Optional otherwise.

+
+
+ + +

Remarks are required if service model is "other". Optional otherwise.

+
+
+ + + + + + fips-199-moderate + + + Financial Information + +

Contains sensitive financial data related to organizational operations.

+
+ + C.2.8.12 + + + fips-199-high + fips-199-high + + + + fips-199-moderate + fips-199-low + +

Required if the base and selected values do not match.

+
+
+ + fips-199-high + fips-199-low + +

Required if the base and selected values do not match.

+
+
+
+
+ + fips-199-moderate + fips-199-moderate + fips-199-moderate + + + + +

The authorization boundary includes all components within the main data center and the disaster recovery site.

+
+ + +

A diagram-specific explanation.

+
+ + Authorization Boundary Diagram +
+
+ + +

A holistic, top-level explanation of the network architecture.

+
+ + +

A diagram-specific explanation.

+
+ + Network Diagram +
+
+ + +

A holistic, top-level explanation of the system's data flows.

+
+ + +

A diagram-specific explanation.

+
+ + Data Flow Diagram +
+
+
+ + + + + GovCloud + + + + + f0bc13a4-3303-47dd-80d3-380e159c8362 + 2015-01-01 + +

Use one leveraged-authorization assembly for each underlying system. In the legacy world, these may be general support systems.

+

The link fields are optional, but preferred when known. Often, a leveraging system's SSP author will not have access to the leveraged system's SSP, but should have access to the leveraged system's CRM.

+
+
+ + + System Administrator + + + + system-admin + + Admin +

admin user

+ administration +
+
+ + + Primary Application Server + +

Main application server hosting the core system functionality.

+
+ main line + + + 11111111-0000-4000-9000-000000000001 + + +

This is the primary application server for the system.

+
+
+ + Firebase CLI Connection + +

CLI for updating firebase Secure connection to an external API for data enrichment.

+
+ + +

Some description of the authentication method.

+
+
+ + + + + + + + 11111111-0000-4000-9000-000000000001 + + +

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

+
+
+ + An External Leveraged System + +

An external leveraged system.

+
+ + + + + +

Some description of the external authentication method.

+
+
+ + + 11111111-0000-4000-9000-000000000001 + + + 11111111-0000-4000-9000-000000000001 + + + + +
+ + + External API Connection + +

Secure connection to an external API for data enrichment.

+
+ + + + + + +

Some description of the authentication method.

+
+
+ + + 11111111-0000-4000-9000-000000000001 + + + 11111111-0000-4000-9000-000000000001 + + +

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

+
+
+ + + Name of External System + +

Briefly describe the external system.

+
+ + + + + + + +

Some description of the authentication method.

+
+
+ + + 11111111-0000-4000-9000-000000000001 + + + 11111111-0000-4000-9000-000000000001 + +
+ + + +

Primary database server

+
+ + + + + + + + 11111111-0000-4000-9000-000000000001 + + + + +
+ + + +

Secondary database server

+
+ + + + + + + + 11111111-0000-4000-9000-000000000001 + + + + +
+ +
+ + + +

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 + +
+
+ + + + + + + +

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

+
+ + + 11111111-0000-4000-9000-000000000001 + +
+
+
+ + + + Access Control Policy + +

Detailed access control policy document

+
+ + +
+ + User's Guide + +

User's Guide

+
+ + + + +

Table 12-1 Attachments: User's Guide Attachment

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Document Title + +

Rules of Behavior

+
+ + + + + 00000000 + +

Table 12-1 Attachments: Rules of Behavior (ROB)

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Document Title + +

Contingency Plan (CP)

+
+ + + + + 00000000 + +

Table 12-1 Attachments: Contingency Plan (CP) Attachment

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Document Title + +

Configuration Management (CM) Plan

+
+ + + + + 00000000 + +

Table 12-1 Attachments: Configuration Management (CM) Plan Attachment

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Document Title + +

Incident Response (IR) Plan

+
+ + + + + 00000000 + +

Table 12-1 Attachments: Incident Response (IR) Plan Attachment

+

May use rlink with a relative path, or embedded as base64.

+
+
+ + Separation of Duties Matrix + +

Separation of Duties Matrix

+
+ + + + + 00000000 + +

May use rlink with a relative path, or embedded as base64.

+
+
+ + + Boundary Diagram + +

The primary authorization boundary diagram.

+
+ + + 00000000 + +

Section 8.1, Figure 8-1 Authorization Boundary Diagram (graphic)

+

This should be referenced in the system-characteristics/authorization-boundary/diagram/link/@href flag using a value of "#11111111-2222-4000-8000-001000000054"

+

May use rlink with a relative path, or embedded as base64.

+

FedRAMP prefers base64 for images and diagrams.

+

Images must be in sufficient resolution to read all detail when rendered in a browser via HTML5.

+
+
+ + + Network Diagram + +

The primary network diagram.

+
+ + + + 00000000 + +

Section 8.1, Figure 8-2 Network Diagram (graphic)

+

This should be referenced in the system-characteristics/network-architecture/diagram/link/@href flag using a value of "#11111111-2222-4000-8000-001000000055"

+

May use rlink with a relative path, or embedded as base64.

+

FedRAMP prefers base64 for images and diagrams.

+

Images must be in sufficient resolution to read all detail when rendered in a browser via HTML5.

+
+
+ + + Data Flow Diagram + +

The primary data flow diagram.

+
+ + + 00000000 + +

Section 8.1, Figure 8-3 Data Flow Diagram (graphic)

+

This should be referenced in the system-characteristics/data-flow/diagram/link/@href flag using a value of "#11111111-2222-4000-8000-001000000056"

+

May use rlink with a relative path, or embedded as base64.

+

FedRAMP prefers base64 for images and diagrams.

+

Images must be in sufficient resolution to read all detail when rendered in a browser via HTML5.

+
+
+
+ \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/address-type-PASS.yaml b/src/validations/constraints/unit-tests/address-type-PASS.yaml index 65ca54090..6dbb63acd 100644 --- a/src/validations/constraints/unit-tests/address-type-PASS.yaml +++ b/src/validations/constraints/unit-tests/address-type-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: Test Valid Address Type Use description: Test that the specified address type is valid. - content: ../content/ssp-all-VALID.xml # the content to run + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml # the content to run expectations: # check the constraint result - constraint-id: address-type result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/attachment-type-PASS.yaml b/src/validations/constraints/unit-tests/attachment-type-PASS.yaml index 98e4f563e..7bfd91233 100644 --- a/src/validations/constraints/unit-tests/attachment-type-PASS.yaml +++ b/src/validations/constraints/unit-tests/attachment-type-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid attachment type test. description: Test that the specified attachment type is valid. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: attachment-type result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/authentication-method-has-remarks-PASS.yaml b/src/validations/constraints/unit-tests/authentication-method-has-remarks-PASS.yaml index 114dd8e65..ce1162c07 100644 --- a/src/validations/constraints/unit-tests/authentication-method-has-remarks-PASS.yaml +++ b/src/validations/constraints/unit-tests/authentication-method-has-remarks-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint authentication-method-has-remarks - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: authentication-method-has-remarks result: pass diff --git a/src/validations/constraints/unit-tests/authorization-type-PASS.yaml b/src/validations/constraints/unit-tests/authorization-type-PASS.yaml index 9c7eebc8e..c7bb3f5ea 100644 --- a/src/validations/constraints/unit-tests/authorization-type-PASS.yaml +++ b/src/validations/constraints/unit-tests/authorization-type-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: Test Valid Authorization Type Use description: Test that the specified authorization type is valid. - content: ../content/ssp-all-VALID.xml # the content to run + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml # the content to run expectations: # check the constraint result - constraint-id: authorization-type result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/categorization-has-correct-system-attribute-PASS.yaml b/src/validations/constraints/unit-tests/categorization-has-correct-system-attribute-PASS.yaml index c9325952d..60ffb834e 100644 --- a/src/validations/constraints/unit-tests/categorization-has-correct-system-attribute-PASS.yaml +++ b/src/validations/constraints/unit-tests/categorization-has-correct-system-attribute-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for categorization-has-correct-system-attribute description: Test that a SSP system-characteristics categorization element has a system attribute equal to "https://doi.org/10.6028/NIST.SP.800-60v2r1". - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: categorization-has-correct-system-attribute result: pass diff --git a/src/validations/constraints/unit-tests/categorization-has-information-type-id-PASS.yaml b/src/validations/constraints/unit-tests/categorization-has-information-type-id-PASS.yaml index d68778870..b4ad3b31a 100644 --- a/src/validations/constraints/unit-tests/categorization-has-information-type-id-PASS.yaml +++ b/src/validations/constraints/unit-tests/categorization-has-information-type-id-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for categorization-has-information-type-id description: Test that a SSP system-characteristics categorization element has an information-type-id element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: categorization-has-information-type-id result: pass diff --git a/src/validations/constraints/unit-tests/cia-impact-has-adjustment-justification-PASS.yaml b/src/validations/constraints/unit-tests/cia-impact-has-adjustment-justification-PASS.yaml index 83c3824d6..076f85f89 100644 --- a/src/validations/constraints/unit-tests/cia-impact-has-adjustment-justification-PASS.yaml +++ b/src/validations/constraints/unit-tests/cia-impact-has-adjustment-justification-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for cia-impact-has-adjustment-justification description: Test that if an SSP system-characteristics system-information information-type (confidentiality-impact/integrity-impact/availability-impact) base element is not equal to the selected element, then an adjustment-justification element exists. If the base element equals the selected element, then it returns true. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: cia-impact-has-adjustment-justification result: pass diff --git a/src/validations/constraints/unit-tests/cia-impact-has-selected-PASS.yaml b/src/validations/constraints/unit-tests/cia-impact-has-selected-PASS.yaml index abb421c61..180014180 100644 --- a/src/validations/constraints/unit-tests/cia-impact-has-selected-PASS.yaml +++ b/src/validations/constraints/unit-tests/cia-impact-has-selected-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for cia-impact-has-selected description: Test that an SSP system-characteristics system-information information-type (confidentiality-impact/integrity-impact/availability-impact) element has selected element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: cia-impact-has-selected result: pass diff --git a/src/validations/constraints/unit-tests/cloud-service-model-PASS.yaml b/src/validations/constraints/unit-tests/cloud-service-model-PASS.yaml index 48a1f5b69..9b4c7a616 100644 --- a/src/validations/constraints/unit-tests/cloud-service-model-PASS.yaml +++ b/src/validations/constraints/unit-tests/cloud-service-model-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Test for cloud-service-model description: This test case validates the behavior of constraint cloud-service-model - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: cloud-service-model result: pass diff --git a/src/validations/constraints/unit-tests/component-has-authentication-method-PASS.yaml b/src/validations/constraints/unit-tests/component-has-authentication-method-PASS.yaml index 76f5b7ef6..ddd633526 100644 --- a/src/validations/constraints/unit-tests/component-has-authentication-method-PASS.yaml +++ b/src/validations/constraints/unit-tests/component-has-authentication-method-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint component-has-authentication-method - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: component-has-authentication-method result: pass diff --git a/src/validations/constraints/unit-tests/component-has-non-provider-responsible-role-PASS.yaml b/src/validations/constraints/unit-tests/component-has-non-provider-responsible-role-PASS.yaml index 1ef1f78c2..19dab0973 100644 --- a/src/validations/constraints/unit-tests/component-has-non-provider-responsible-role-PASS.yaml +++ b/src/validations/constraints/unit-tests/component-has-non-provider-responsible-role-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint component-has-non-provider-responsible-role - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: component-has-non-provider-responsible-role result: pass 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 index 40990f9b8..010623e80 100644 --- 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 @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint component-has-provider-responsible-role - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: component-has-provider-responsible-role result: pass diff --git a/src/validations/constraints/unit-tests/component-type-PASS.yaml b/src/validations/constraints/unit-tests/component-type-PASS.yaml index 7b461ec48..25d0f2525 100644 --- a/src/validations/constraints/unit-tests/component-type-PASS.yaml +++ b/src/validations/constraints/unit-tests/component-type-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid component type test. description: Test that the specified component type is valid. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: component-type result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/control-implementation-status-PASS.yaml b/src/validations/constraints/unit-tests/control-implementation-status-PASS.yaml index 7c02848ae..bba1c533e 100644 --- a/src/validations/constraints/unit-tests/control-implementation-status-PASS.yaml +++ b/src/validations/constraints/unit-tests/control-implementation-status-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid control implementation status test. description: Test that the specified control implementation status is valid. - content: ../content/ssp-all-VALID.xml + content: ../content/ssp-control-implementation-status-VALID.xml expectations: - constraint-id: control-implementation-status result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/data-center-alternate-PASS.yaml b/src/validations/constraints/unit-tests/data-center-alternate-PASS.yaml index 1f2cb46ab..5aae6a85a 100644 --- a/src/validations/constraints/unit-tests/data-center-alternate-PASS.yaml +++ b/src/validations/constraints/unit-tests/data-center-alternate-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for data-center-alternate description: This test case validates the behavior of constraint data-center-alternate - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: data-center-alternate result: pass diff --git a/src/validations/constraints/unit-tests/data-center-count-PASS.yaml b/src/validations/constraints/unit-tests/data-center-count-PASS.yaml index 1ecbcdcfe..79ccc5fe9 100644 --- a/src/validations/constraints/unit-tests/data-center-count-PASS.yaml +++ b/src/validations/constraints/unit-tests/data-center-count-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for data-center-count description: This test case validates the behavior of constraint data-center-count - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: data-center-count result: pass diff --git a/src/validations/constraints/unit-tests/data-center-country-code-PASS.yaml b/src/validations/constraints/unit-tests/data-center-country-code-PASS.yaml index 446d65872..09784a9db 100644 --- a/src/validations/constraints/unit-tests/data-center-country-code-PASS.yaml +++ b/src/validations/constraints/unit-tests/data-center-country-code-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for data-center-country-code description: This test case validates the behavior of constraint data-center-country-code - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: data-center-country-code result: pass diff --git a/src/validations/constraints/unit-tests/data-center-primary-PASS.yaml b/src/validations/constraints/unit-tests/data-center-primary-PASS.yaml index 2225fb9e7..9704731d7 100644 --- a/src/validations/constraints/unit-tests/data-center-primary-PASS.yaml +++ b/src/validations/constraints/unit-tests/data-center-primary-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for data-center-primary description: This test case validates the behavior of constraint data-center-primary - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: data-center-primary result: pass diff --git a/src/validations/constraints/unit-tests/data-center-us-PASS.yaml b/src/validations/constraints/unit-tests/data-center-us-PASS.yaml index ea5817d96..72492d9f8 100644 --- a/src/validations/constraints/unit-tests/data-center-us-PASS.yaml +++ b/src/validations/constraints/unit-tests/data-center-us-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for data-center-us description: This test case validates the behavior of constraint data-center-us - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: data-center-us result: pass diff --git a/src/validations/constraints/unit-tests/deployment-model-PASS.yaml b/src/validations/constraints/unit-tests/deployment-model-PASS.yaml index 276718b66..d3bdcbf00 100644 --- a/src/validations/constraints/unit-tests/deployment-model-PASS.yaml +++ b/src/validations/constraints/unit-tests/deployment-model-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: Test Valid Deployment Model Use description: Test that the specified deployment model is valid. - content: ../content/ssp-all-VALID.xml # the content to run + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml # the content to run expectations: # check the constraint result - constraint-id: deployment-model result: pass \ 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 index 9d62c3fb9..f8b46cdcc 100644 --- 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 @@ -2,7 +2,7 @@ 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 + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: external-system-nature-of-agreement result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/fedramp-version-PASS.yaml b/src/validations/constraints/unit-tests/fedramp-version-PASS.yaml index 1dda425db..7e84267a4 100644 --- a/src/validations/constraints/unit-tests/fedramp-version-PASS.yaml +++ b/src/validations/constraints/unit-tests/fedramp-version-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid fedramp-version constraint unit test. description: Test that the SSP metadata contains the "fedramp-version" property. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: fedramp-version result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/fully-operational-date-is-valid-PASS.yaml b/src/validations/constraints/unit-tests/fully-operational-date-is-valid-PASS.yaml index 2068eff19..8e04b3d1b 100644 --- a/src/validations/constraints/unit-tests/fully-operational-date-is-valid-PASS.yaml +++ b/src/validations/constraints/unit-tests/fully-operational-date-is-valid-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint fully-operational-date-is-valid - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: fully-operational-date-is-valid result: pass diff --git a/src/validations/constraints/unit-tests/fully-operational-date-type-PASS.yaml b/src/validations/constraints/unit-tests/fully-operational-date-type-PASS.yaml index 1d54c4ef4..00012cf60 100644 --- a/src/validations/constraints/unit-tests/fully-operational-date-type-PASS.yaml +++ b/src/validations/constraints/unit-tests/fully-operational-date-type-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint fully-operational-date-type - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: fully-operational-date-type result: pass diff --git a/src/validations/constraints/unit-tests/has-authenticator-assurance-level-PASS.yaml b/src/validations/constraints/unit-tests/has-authenticator-assurance-level-PASS.yaml index 9fb20e978..dca590418 100644 --- a/src/validations/constraints/unit-tests/has-authenticator-assurance-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-authenticator-assurance-level-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-authenticator-assurance-level description: Test that a SSP system-characteristics element does not have a prop with a name equal to "authenticator-assurance-level". - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-authenticator-assurance-level result: pass diff --git a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-PASS.yaml b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-PASS.yaml index 5640c8da7..712a0dc18 100644 --- a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-authorization-boundary-diagram description: Test that a SSP system-characteristics element has an authorization-boundary diagram element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-authorization-boundary-diagram result: pass diff --git a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-caption-PASS.yaml b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-caption-PASS.yaml index 23a36c8cc..8f03a1d55 100644 --- a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-caption-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-caption-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-authorization-boundary-diagram-caption description: Test that a SSP authorization-boundary diagram element has a caption element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-authorization-boundary-diagram-caption result: pass diff --git a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-description-PASS.yaml b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-description-PASS.yaml index 77e2971b1..19bf50007 100644 --- a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-description-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-description-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-authorization-boundary-diagram-description description: Test that a SSP authorization-boundary diagram element has a description element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-authorization-boundary-diagram-description result: pass diff --git a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-PASS.yaml b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-PASS.yaml index d6a7b7c3b..82f5de5bd 100644 --- a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-authorization-boundary-diagram-link description: Test that a SSP authorization-boundary diagram element does not have a link element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-authorization-boundary-diagram-link result: pass diff --git a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-href-target-PASS.yaml b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-href-target-PASS.yaml index ae5162476..3886fdef4 100644 --- a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-href-target-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-href-target-PASS.yaml @@ -5,7 +5,7 @@ test-case: Scenario 1: Tests an @href that references a resource in the back-matter. Scenario 2: Tests a link provided directly in the @href. content: - - ../content/ssp-all-VALID.xml + - ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml - ../content/ssp-has-authorization-boundary-diagram-link-href-target-VALID-1.xml expectations: - constraint-id: has-authorization-boundary-diagram-link-href-target diff --git a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-rel-PASS.yaml b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-rel-PASS.yaml index df5ff7d68..fb8e9e40e 100644 --- a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-rel-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-rel-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-authorization-boundary-diagram-link-rel description: Test that a SSP authorization-boundary diagram link element has a rel attribute. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-authorization-boundary-diagram-link-rel result: pass diff --git a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-rel-allowed-value-PASS.yaml b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-rel-allowed-value-PASS.yaml index b6b85fec5..339c26d9c 100644 --- a/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-rel-allowed-value-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-authorization-boundary-diagram-link-rel-allowed-value-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-authorization-boundary-diagram-link-rel-allowed-value description: Test that a SSP authorization-boundary diagram link rel attribute equals "diagram". - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-authorization-boundary-diagram-link-rel-allowed-value result: pass diff --git a/src/validations/constraints/unit-tests/has-cloud-deployment-model-PASS.yaml b/src/validations/constraints/unit-tests/has-cloud-deployment-model-PASS.yaml index e1cfaa644..f817b494a 100644 --- a/src/validations/constraints/unit-tests/has-cloud-deployment-model-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-cloud-deployment-model-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-cloud-deployment-model description: Test that an SSP system-characteristics element has a prop element with a name attribute equal to "cloud-deployment-model". - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-cloud-deployment-model result: pass diff --git a/src/validations/constraints/unit-tests/has-cloud-deployment-model-remarks-PASS.yaml b/src/validations/constraints/unit-tests/has-cloud-deployment-model-remarks-PASS.yaml index afd3cd175..31e6e8fa8 100644 --- a/src/validations/constraints/unit-tests/has-cloud-deployment-model-remarks-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-cloud-deployment-model-remarks-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-cloud-deployment-model-remarks description: Test that every SSP system-characteristics prop element with a name attribute equal to "cloud-deployment-model" and a value attribute equal to "hybrid-cloud" has a remarks element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-cloud-deployment-model-remarks result: pass diff --git a/src/validations/constraints/unit-tests/has-cloud-service-model-PASS.yaml b/src/validations/constraints/unit-tests/has-cloud-service-model-PASS.yaml index ea20d540f..6a19e3793 100644 --- a/src/validations/constraints/unit-tests/has-cloud-service-model-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-cloud-service-model-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-cloud-service-model description: Test that an SSP system-characteristics element has a prop element with a name attribute equal to "cloud-service-model". - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-cloud-service-model result: pass diff --git a/src/validations/constraints/unit-tests/has-cloud-service-model-remarks-PASS.yaml b/src/validations/constraints/unit-tests/has-cloud-service-model-remarks-PASS.yaml index 92d277645..3d13b5b95 100644 --- a/src/validations/constraints/unit-tests/has-cloud-service-model-remarks-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-cloud-service-model-remarks-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-cloud-service-model-remarks description: Test that every SSP system-characteristics prop element with a name attribute equal to "cloud-service-model" and a value attribute equal to "other" has a remarks element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-cloud-service-model-remarks result: pass diff --git a/src/validations/constraints/unit-tests/has-configuration-management-plan-PASS.yaml b/src/validations/constraints/unit-tests/has-configuration-management-plan-PASS.yaml index 9452a2889..fe8b40915 100644 --- a/src/validations/constraints/unit-tests/has-configuration-management-plan-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-configuration-management-plan-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-configuration-management-plan description: Test that a SSP back-matter resource element has a configuration-management-plan element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-configuration-management-plan result: pass diff --git a/src/validations/constraints/unit-tests/has-data-flow-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-PASS.yaml index b8af11e7a..3e00a85af 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-data-flow description: Test that a SSP system-characteristics element has a data-flow element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-data-flow result: pass diff --git a/src/validations/constraints/unit-tests/has-data-flow-description-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-description-PASS.yaml index 88cad44ea..7faf1ed84 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-description-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-description-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-data-flow-description description: Test that a SSP data-flow element does not have a description element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-data-flow-description result: pass diff --git a/src/validations/constraints/unit-tests/has-data-flow-diagram-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-diagram-PASS.yaml index f639cf067..a342c05fd 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-diagram-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-diagram-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-data-flow-diagram description: Test that a SSP data-flow element has a diagram element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-data-flow-diagram result: pass diff --git a/src/validations/constraints/unit-tests/has-data-flow-diagram-caption-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-diagram-caption-PASS.yaml index 1436c6094..fc4941f66 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-diagram-caption-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-diagram-caption-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-data-flow-diagram-caption description: Test that a SSP data-flow diagram element has a caption element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-data-flow-diagram-caption result: pass diff --git a/src/validations/constraints/unit-tests/has-data-flow-diagram-description-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-diagram-description-PASS.yaml index 71c0591fe..f899fd54a 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-diagram-description-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-diagram-description-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-data-flow-diagram-description description: Test that a SSP data-flow diagram element has a description element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-data-flow-diagram-description result: pass diff --git a/src/validations/constraints/unit-tests/has-data-flow-diagram-link-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-diagram-link-PASS.yaml index e9ba551c4..bb492a810 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-diagram-link-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-diagram-link-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-data-flow-diagram-link description: Test that a SSP data-flow diagram element has a link element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-data-flow-diagram-link result: pass diff --git a/src/validations/constraints/unit-tests/has-data-flow-diagram-link-href-target-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-diagram-link-href-target-PASS.yaml index 7e4f098ab..1a5a51981 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-diagram-link-href-target-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-diagram-link-href-target-PASS.yaml @@ -5,7 +5,6 @@ test-case: Scenario 1: Tests an @href that references a resource in the back-matter. Scenario 2: Tests a link provided directly in the @href. content: - - ../content/ssp-all-VALID.xml - ../content/ssp-has-data-flow-diagram-link-href-target-VALID-1.xml expectations: - constraint-id: has-data-flow-diagram-link-href-target diff --git a/src/validations/constraints/unit-tests/has-data-flow-diagram-link-rel-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-diagram-link-rel-PASS.yaml index cf4f1bbd1..ebe34ffcf 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-diagram-link-rel-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-diagram-link-rel-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-data-flow-diagram-link-rel description: Test that a SSP data-flow diagram link element has a rel attribute. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-data-flow-diagram-link-rel result: pass diff --git a/src/validations/constraints/unit-tests/has-data-flow-diagram-link-rel-allowed-value-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-diagram-link-rel-allowed-value-PASS.yaml index fee1e089b..665ccf361 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-diagram-link-rel-allowed-value-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-diagram-link-rel-allowed-value-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-data-flow-diagram-link-rel-allowed-value description: Test that a SSP data-flow diagram link rel attribute equals "diagram". - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-data-flow-diagram-link-rel-allowed-value result: pass diff --git a/src/validations/constraints/unit-tests/has-data-flow-diagram-uuid-PASS.yaml b/src/validations/constraints/unit-tests/has-data-flow-diagram-uuid-PASS.yaml index fdf6e2791..286a1299c 100644 --- a/src/validations/constraints/unit-tests/has-data-flow-diagram-uuid-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-data-flow-diagram-uuid-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-data-flow-diagram-uuid description: Test that a SSP data-flow diagram element has a uuid attribute. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-data-flow-diagram-uuid result: pass diff --git a/src/validations/constraints/unit-tests/has-federation-assurance-level-PASS.yaml b/src/validations/constraints/unit-tests/has-federation-assurance-level-PASS.yaml index 3bdb7c83c..d4c48dbbb 100644 --- a/src/validations/constraints/unit-tests/has-federation-assurance-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-federation-assurance-level-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-federation-assurance-level description: Test that a SSP system-characteristics element has a prop with a name equal to "federation-assurance-level". - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-federation-assurance-level result: pass diff --git a/src/validations/constraints/unit-tests/has-fully-operational-date-PASS.yaml b/src/validations/constraints/unit-tests/has-fully-operational-date-PASS.yaml index 68b342103..bf628ff5c 100644 --- a/src/validations/constraints/unit-tests/has-fully-operational-date-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-fully-operational-date-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint has-fully-operational-date - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-fully-operational-date result: pass diff --git a/src/validations/constraints/unit-tests/has-identity-assurance-level-PASS.yaml b/src/validations/constraints/unit-tests/has-identity-assurance-level-PASS.yaml index 81aafd66c..f061c8339 100644 --- a/src/validations/constraints/unit-tests/has-identity-assurance-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-identity-assurance-level-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-identity-assurance-level description: Test that a SSP system-characteristics element has a prop with a name equal to "identity-assurance-level". - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-identity-assurance-level result: pass diff --git a/src/validations/constraints/unit-tests/has-incident-response-plan-PASS.yaml b/src/validations/constraints/unit-tests/has-incident-response-plan-PASS.yaml index 94f95701d..afa1bf1ed 100644 --- a/src/validations/constraints/unit-tests/has-incident-response-plan-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-incident-response-plan-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-incident-response-plan description: Test that a SSP back-matter resource element has an incident-response-plan element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-incident-response-plan result: pass diff --git a/src/validations/constraints/unit-tests/has-information-system-contingency-plan-PASS.yaml b/src/validations/constraints/unit-tests/has-information-system-contingency-plan-PASS.yaml index 10543f9e6..bc0f40c4e 100644 --- a/src/validations/constraints/unit-tests/has-information-system-contingency-plan-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-information-system-contingency-plan-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-information-system-contingency-plan description: Test that a SSP back-matter resource element has a information-system-contigency-plan element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-information-system-contingency-plan result: pass diff --git a/src/validations/constraints/unit-tests/has-inventory-items-PASS.yaml b/src/validations/constraints/unit-tests/has-inventory-items-PASS.yaml index 5a9fca33d..1da1ac9b5 100644 --- a/src/validations/constraints/unit-tests/has-inventory-items-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-inventory-items-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid has-inventory-items constraint unit test. description: Test that the FedRAMP SSP contains the two or more inventory items. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-inventory-items result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/has-network-architecture-PASS.yaml b/src/validations/constraints/unit-tests/has-network-architecture-PASS.yaml index a00937925..4f92b5b41 100644 --- a/src/validations/constraints/unit-tests/has-network-architecture-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-network-architecture-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-network-architecture description: Test that a SSP system-characteristics element has a network-architecture element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-network-architecture result: pass diff --git a/src/validations/constraints/unit-tests/has-network-architecture-diagram-PASS.yaml b/src/validations/constraints/unit-tests/has-network-architecture-diagram-PASS.yaml index 22c0d8b3a..31c1c73f3 100644 --- a/src/validations/constraints/unit-tests/has-network-architecture-diagram-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-network-architecture-diagram-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-network-architecture-diagram description: Test that a SSP network-architecture element has a diagram element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-network-architecture-diagram result: pass diff --git a/src/validations/constraints/unit-tests/has-network-architecture-diagram-caption-PASS.yaml b/src/validations/constraints/unit-tests/has-network-architecture-diagram-caption-PASS.yaml index bfb9eda66..2e73f0c5b 100644 --- a/src/validations/constraints/unit-tests/has-network-architecture-diagram-caption-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-network-architecture-diagram-caption-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-network-architecture-diagram-caption description: Test that a SSP network-architecture diagram element has a caption element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-network-architecture-diagram-caption result: pass diff --git a/src/validations/constraints/unit-tests/has-network-architecture-diagram-description-PASS.yaml b/src/validations/constraints/unit-tests/has-network-architecture-diagram-description-PASS.yaml index b2f95fe03..c7b9e09cf 100644 --- a/src/validations/constraints/unit-tests/has-network-architecture-diagram-description-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-network-architecture-diagram-description-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-network-architecture-diagram-description description: Test that a SSP network-architecture diagram element has a description element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-network-architecture-diagram-description result: pass diff --git a/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-PASS.yaml b/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-PASS.yaml index 372a84550..a83f36cbf 100644 --- a/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-network-architecture-diagram-link description: Test that a SSP network-architecture diagram element has a link element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-network-architecture-diagram-link result: pass diff --git a/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-href-target-PASS.yaml b/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-href-target-PASS.yaml index 0de200640..99aa038b4 100644 --- a/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-href-target-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-href-target-PASS.yaml @@ -5,7 +5,7 @@ test-case: Scenario 1: Tests an @href that references a resource in the back-matter. Scenario 2: Tests a link provided directly in the @href. content: - - ../content/ssp-all-VALID.xml + - ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml - ../content/ssp-has-network-architecture-diagram-link-href-target-VALID-1.xml expectations: - constraint-id: has-network-architecture-diagram-link-href-target diff --git a/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-PASS.yaml b/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-PASS.yaml index 0adea017a..64da9b4fe 100644 --- a/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-network-architecture-diagram-link-rel description: Test that a SSP network-architecture diagram link element has a rel attribute. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-network-architecture-diagram-link-rel result: pass diff --git a/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-allowed-value-PASS.yaml b/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-allowed-value-PASS.yaml index bb5663252..763173833 100644 --- a/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-allowed-value-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-network-architecture-diagram-link-rel-allowed-value-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-network-architecture-diagram-link-rel-allowed-value description: Test that a SSP network-architecture diagram link rel attribute equals "diagram". - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-network-architecture-diagram-link-rel-allowed-value result: pass diff --git a/src/validations/constraints/unit-tests/has-published-date-PASS.yaml b/src/validations/constraints/unit-tests/has-published-date-PASS.yaml index 195e7a553..1dfb77e11 100644 --- a/src/validations/constraints/unit-tests/has-published-date-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-published-date-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-published-date description: This test case validates the behavior of constraint has-published-date - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-published-date result: pass diff --git a/src/validations/constraints/unit-tests/has-rules-of-behavior-PASS.yaml b/src/validations/constraints/unit-tests/has-rules-of-behavior-PASS.yaml index 58f431e4c..6a99da4cf 100644 --- a/src/validations/constraints/unit-tests/has-rules-of-behavior-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-rules-of-behavior-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-rules-of-behavior description: Test that a SSP back-matter resource element has a rules-of-behavior element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-rules-of-behavior result: pass diff --git a/src/validations/constraints/unit-tests/has-security-impact-level-PASS.yaml b/src/validations/constraints/unit-tests/has-security-impact-level-PASS.yaml index b3405cea3..0d34d0f58 100644 --- a/src/validations/constraints/unit-tests/has-security-impact-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-security-impact-level-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-security-impact-level description: Test that an SSP system-characteristics element has a security-impact-level element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-security-impact-level result: pass diff --git a/src/validations/constraints/unit-tests/has-security-sensitivity-level-PASS.yaml b/src/validations/constraints/unit-tests/has-security-sensitivity-level-PASS.yaml index e6bd7f3e8..316e91375 100644 --- a/src/validations/constraints/unit-tests/has-security-sensitivity-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-security-sensitivity-level-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-security-sensitivity-level description: Test that an SSP system-characteristics element has a security-sensitivity-level element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-security-sensitivity-level result: pass diff --git a/src/validations/constraints/unit-tests/has-separation-of-duties-matrix-PASS.yaml b/src/validations/constraints/unit-tests/has-separation-of-duties-matrix-PASS.yaml index 70d0b0ce2..58149ee55 100644 --- a/src/validations/constraints/unit-tests/has-separation-of-duties-matrix-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-separation-of-duties-matrix-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-separation-of-duties-matrix description: Test that a SSP back-matter resource element has a separation-of-duties-matrix element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-separation-of-duties-matrix result: pass diff --git a/src/validations/constraints/unit-tests/has-system-id-PASS.yaml b/src/validations/constraints/unit-tests/has-system-id-PASS.yaml index 2372e593e..b48c2aa05 100644 --- a/src/validations/constraints/unit-tests/has-system-id-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-system-id-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-system-id description: Test that a SSP system-characteristics system-id identifier-type attribute is equal to 'https://fedramp.gov'. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-system-id result: pass diff --git a/src/validations/constraints/unit-tests/has-system-name-short-PASS.yaml b/src/validations/constraints/unit-tests/has-system-name-short-PASS.yaml index ff1baa729..72416f3fd 100644 --- a/src/validations/constraints/unit-tests/has-system-name-short-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-system-name-short-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-system-name-short description: Test that an SSP system-characteristics element has a system-name-short element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-system-name-short result: pass diff --git a/src/validations/constraints/unit-tests/has-user-guide-PASS.yaml b/src/validations/constraints/unit-tests/has-user-guide-PASS.yaml index 7ceb2c658..862a942d3 100644 --- a/src/validations/constraints/unit-tests/has-user-guide-PASS.yaml +++ b/src/validations/constraints/unit-tests/has-user-guide-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for has-user-guide description: Test that a SSP back-matter resource element has a user-guide element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: has-user-guide result: pass diff --git a/src/validations/constraints/unit-tests/import-profile-has-available-document-PASS.yaml b/src/validations/constraints/unit-tests/import-profile-has-available-document-PASS.yaml index 2f4b37c80..37ec104b7 100644 --- a/src/validations/constraints/unit-tests/import-profile-has-available-document-PASS.yaml +++ b/src/validations/constraints/unit-tests/import-profile-has-available-document-PASS.yaml @@ -7,7 +7,7 @@ test-case: Scenario 3 tests: a fragment that points to a resolved profile catalog in the back-matter. Scenario 4 tests: a fragment that points to a profile in the back-matter. content: - - ../content/ssp-all-VALID.xml + - ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml - ../content/ssp-import-profile-resolves-to-fedramp-content-VALID-1.xml - ../content/ssp-import-profile-resolves-to-fedramp-content-VALID-2.xml - ../content/ssp-import-profile-resolves-to-fedramp-content-VALID-3.xml diff --git a/src/validations/constraints/unit-tests/import-profile-resolves-to-fedramp-content-PASS.yaml b/src/validations/constraints/unit-tests/import-profile-resolves-to-fedramp-content-PASS.yaml index 53e580032..b211b1019 100644 --- a/src/validations/constraints/unit-tests/import-profile-resolves-to-fedramp-content-PASS.yaml +++ b/src/validations/constraints/unit-tests/import-profile-resolves-to-fedramp-content-PASS.yaml @@ -7,7 +7,7 @@ test-case: Scenario 3 tests: a fragment that points to a resolved profile catalog in the back-matter. Scenario 4 tests: a fragment that points to a profile in the back-matter. content: - - ../content/ssp-all-VALID.xml + - ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml - ../content/ssp-import-profile-resolves-to-fedramp-content-VALID-1.xml - ../content/ssp-import-profile-resolves-to-fedramp-content-VALID-2.xml - ../content/ssp-import-profile-resolves-to-fedramp-content-VALID-3.xml diff --git a/src/validations/constraints/unit-tests/information-type-has-availability-impact-PASS.yaml b/src/validations/constraints/unit-tests/information-type-has-availability-impact-PASS.yaml index 4dc13de60..5c8c9674b 100644 --- a/src/validations/constraints/unit-tests/information-type-has-availability-impact-PASS.yaml +++ b/src/validations/constraints/unit-tests/information-type-has-availability-impact-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for information-type-has-availability-impact description: Test that an SSP system-characteristics system-information information-type element has an availability-impact element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: information-type-has-availability-impact result: pass diff --git a/src/validations/constraints/unit-tests/information-type-has-confidentiality-impact-PASS.yaml b/src/validations/constraints/unit-tests/information-type-has-confidentiality-impact-PASS.yaml index bb8c01682..9c5b360bc 100644 --- a/src/validations/constraints/unit-tests/information-type-has-confidentiality-impact-PASS.yaml +++ b/src/validations/constraints/unit-tests/information-type-has-confidentiality-impact-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for information-type-has-confidentiality-impact description: Test that an SSP system-characteristics system-information information-type element has a confidentiality-impact element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: information-type-has-confidentiality-impact result: pass diff --git a/src/validations/constraints/unit-tests/information-type-has-integrity-impact-PASS.yaml b/src/validations/constraints/unit-tests/information-type-has-integrity-impact-PASS.yaml index 0700052f6..8a159528e 100644 --- a/src/validations/constraints/unit-tests/information-type-has-integrity-impact-PASS.yaml +++ b/src/validations/constraints/unit-tests/information-type-has-integrity-impact-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for information-type-has-integrity-impact description: Test that an SSP system-characteristics system-information information-type element has an integrity-impact element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: information-type-has-integrity-impact result: pass diff --git a/src/validations/constraints/unit-tests/information-type-id-PASS.yaml b/src/validations/constraints/unit-tests/information-type-id-PASS.yaml index f42f28202..f0157d8fa 100644 --- a/src/validations/constraints/unit-tests/information-type-id-PASS.yaml +++ b/src/validations/constraints/unit-tests/information-type-id-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid information-type-800-60-v2r1 constraint unit test. description: Test that the SSP "information-type-id" element contains a valid value. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: information-type-800-60-v2r1 result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/information-type-system-PASS.yaml b/src/validations/constraints/unit-tests/information-type-system-PASS.yaml index 532e9b078..b14a4282d 100644 --- a/src/validations/constraints/unit-tests/information-type-system-PASS.yaml +++ b/src/validations/constraints/unit-tests/information-type-system-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Test for information-type-system description: This test case validates the behavior of constraint information-type-system - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: information-type-system result: pass diff --git a/src/validations/constraints/unit-tests/interconnection-direction-PASS.yaml b/src/validations/constraints/unit-tests/interconnection-direction-PASS.yaml index 387e91d80..2f3daf232 100644 --- a/src/validations/constraints/unit-tests/interconnection-direction-PASS.yaml +++ b/src/validations/constraints/unit-tests/interconnection-direction-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid interconnection direction test. description: Test that the specified interconnection direction is valid. - content: ../content/ssp-all-VALID.xml + content: ../content/ssp-interconnection-direction-VALID.xml expectations: - constraint-id: interconnection-direction result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/interconnection-security-PASS.yaml b/src/validations/constraints/unit-tests/interconnection-security-PASS.yaml index 92350cee1..979764989 100644 --- a/src/validations/constraints/unit-tests/interconnection-security-PASS.yaml +++ b/src/validations/constraints/unit-tests/interconnection-security-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid interconnection security test. description: Test that the specified interconnection security is valid. - content: ../content/ssp-all-VALID.xml + content: ../content/ssp-interconnection-security-VALID.xml expectations: - constraint-id: interconnection-security result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/inventory-item-allows-authenticated-scan-PASS.yaml b/src/validations/constraints/unit-tests/inventory-item-allows-authenticated-scan-PASS.yaml index 3cd58b414..d5041987d 100644 --- a/src/validations/constraints/unit-tests/inventory-item-allows-authenticated-scan-PASS.yaml +++ b/src/validations/constraints/unit-tests/inventory-item-allows-authenticated-scan-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid authenticated scan test. description: Test that the specified authenticated scan is valid. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: inventory-item-allows-authenticated-scan result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/inventory-item-public-PASS.yaml b/src/validations/constraints/unit-tests/inventory-item-public-PASS.yaml index d375d4217..7562b0acb 100644 --- a/src/validations/constraints/unit-tests/inventory-item-public-PASS.yaml +++ b/src/validations/constraints/unit-tests/inventory-item-public-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid public asset test. description: Test that the specified public asset is valid. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: inventory-item-public result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/inventory-item-virtual-PASS.yaml b/src/validations/constraints/unit-tests/inventory-item-virtual-PASS.yaml index 21e582b2e..ca29ef218 100644 --- a/src/validations/constraints/unit-tests/inventory-item-virtual-PASS.yaml +++ b/src/validations/constraints/unit-tests/inventory-item-virtual-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid virtual asset test. description: Test that the specified virtual asset is valid. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: inventory-item-virtual result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/leveraged-authorization-has-authorization-type-PASS.yaml b/src/validations/constraints/unit-tests/leveraged-authorization-has-authorization-type-PASS.yaml index fb4222996..1a9d48b1d 100644 --- a/src/validations/constraints/unit-tests/leveraged-authorization-has-authorization-type-PASS.yaml +++ b/src/validations/constraints/unit-tests/leveraged-authorization-has-authorization-type-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint leveraged-authorization-has-authorization-type - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: leveraged-authorization-has-authorization-type result: pass diff --git a/src/validations/constraints/unit-tests/leveraged-authorization-has-impact-level-PASS.yaml b/src/validations/constraints/unit-tests/leveraged-authorization-has-impact-level-PASS.yaml index f6bd88ccc..b8fe80965 100644 --- a/src/validations/constraints/unit-tests/leveraged-authorization-has-impact-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/leveraged-authorization-has-impact-level-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint leveraged-authorization-has-impact-level - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: leveraged-authorization-has-impact-level result: pass diff --git a/src/validations/constraints/unit-tests/leveraged-authorization-has-system-identifier-PASS.yaml b/src/validations/constraints/unit-tests/leveraged-authorization-has-system-identifier-PASS.yaml index 586992873..b45d4175e 100644 --- a/src/validations/constraints/unit-tests/leveraged-authorization-has-system-identifier-PASS.yaml +++ b/src/validations/constraints/unit-tests/leveraged-authorization-has-system-identifier-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint leveraged-authorization-has-system-identifier - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: leveraged-authorization-has-system-identifier result: pass diff --git a/src/validations/constraints/unit-tests/leveraged-authorization-has-valid-impact-level-PASS.yaml b/src/validations/constraints/unit-tests/leveraged-authorization-has-valid-impact-level-PASS.yaml index 4bedfcc9a..5e2aa1b4a 100644 --- a/src/validations/constraints/unit-tests/leveraged-authorization-has-valid-impact-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/leveraged-authorization-has-valid-impact-level-PASS.yaml @@ -5,7 +5,7 @@ test-case: Scenario 1: Security-sensitivity-level = 'fips-199-moderate' and leveraged-authorization impact-level = 'fips-199-moderate'. Scenario 2: Security-sensitivity-level = 'fips-199-moderate' and leveraged-authorization impact-level = 'fips-199-high'. content: - - ../content/ssp-all-VALID.xml + - ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml - ../content/ssp-leveraged-authorization-has-valid-impact-level-VALID.xml expectations: - constraint-id: leveraged-authorization-has-valid-impact-level diff --git a/src/validations/constraints/unit-tests/leveraged-authorization-nature-of-agreement-PASS.yaml b/src/validations/constraints/unit-tests/leveraged-authorization-nature-of-agreement-PASS.yaml index ff1e4dbc7..42d6b2282 100644 --- a/src/validations/constraints/unit-tests/leveraged-authorization-nature-of-agreement-PASS.yaml +++ b/src/validations/constraints/unit-tests/leveraged-authorization-nature-of-agreement-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid leveraged-authorization-nature-of-agreement constraint unit test. description: Test that the FedRAMP SSP contains valid nature-of-agreement value for an external leveraged system. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: leveraged-authorization-nature-of-agreement result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/marking-PASS.yaml b/src/validations/constraints/unit-tests/marking-PASS.yaml index 1cc26c447..1e596211f 100644 --- a/src/validations/constraints/unit-tests/marking-PASS.yaml +++ b/src/validations/constraints/unit-tests/marking-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid marking constraint unit test. description: Test that the SSP metadata contains the "marking" property. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: marking result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/network-component-has-connection-security-prop-PASS.yaml b/src/validations/constraints/unit-tests/network-component-has-connection-security-prop-PASS.yaml index b9987997d..0032e1a12 100644 --- a/src/validations/constraints/unit-tests/network-component-has-connection-security-prop-PASS.yaml +++ b/src/validations/constraints/unit-tests/network-component-has-connection-security-prop-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint network-component-has-connection-security-prop - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: network-component-has-connection-security-prop result: pass diff --git a/src/validations/constraints/unit-tests/network-component-has-implementation-point-PASS.yaml b/src/validations/constraints/unit-tests/network-component-has-implementation-point-PASS.yaml index 414bd38cf..68be74c58 100644 --- a/src/validations/constraints/unit-tests/network-component-has-implementation-point-PASS.yaml +++ b/src/validations/constraints/unit-tests/network-component-has-implementation-point-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint network-component-has-implementation-point - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: network-component-has-implementation-point result: pass diff --git a/src/validations/constraints/unit-tests/non-provider-responsible-role-references-user-PASS.yaml b/src/validations/constraints/unit-tests/non-provider-responsible-role-references-user-PASS.yaml index 688c8b4d5..f50c3e991 100644 --- a/src/validations/constraints/unit-tests/non-provider-responsible-role-references-user-PASS.yaml +++ b/src/validations/constraints/unit-tests/non-provider-responsible-role-references-user-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint non-provider-responsible-role-references-user - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: non-provider-responsible-role-references-user result: pass diff --git a/src/validations/constraints/unit-tests/party-has-name-PASS.yaml b/src/validations/constraints/unit-tests/party-has-name-PASS.yaml index e53b9d99e..95b428f76 100644 --- a/src/validations/constraints/unit-tests/party-has-name-PASS.yaml +++ b/src/validations/constraints/unit-tests/party-has-name-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for party-has-name description: This test case validates the behavior of constraint party-has-name - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: party-has-name result: pass diff --git a/src/validations/constraints/unit-tests/privilege-level-PASS.yaml b/src/validations/constraints/unit-tests/privilege-level-PASS.yaml index 7bb83b303..0d97c01b7 100644 --- a/src/validations/constraints/unit-tests/privilege-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/privilege-level-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for privilege-level description: This test case validates the behavior of constraint privilege-level - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: privilege-level result: pass diff --git a/src/validations/constraints/unit-tests/resource-has-base64-or-rlink-PASS.yaml b/src/validations/constraints/unit-tests/resource-has-base64-or-rlink-PASS.yaml index c2e38a13c..77d2e214c 100644 --- a/src/validations/constraints/unit-tests/resource-has-base64-or-rlink-PASS.yaml +++ b/src/validations/constraints/unit-tests/resource-has-base64-or-rlink-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for resource-has-base64-or-rlink description: Test that a SSP back-matter resource element has a base64 or rlink element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: resource-has-base64-or-rlink result: pass diff --git a/src/validations/constraints/unit-tests/resource-has-title-PASS.yaml b/src/validations/constraints/unit-tests/resource-has-title-PASS.yaml index 5b3a0f0ad..3d63ed3c7 100644 --- a/src/validations/constraints/unit-tests/resource-has-title-PASS.yaml +++ b/src/validations/constraints/unit-tests/resource-has-title-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for resource-has-title description: Test that a SSP back-matter resource element has a title element. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: resource-has-title result: pass diff --git a/src/validations/constraints/unit-tests/responsible-party-is-person-PASS.yaml b/src/validations/constraints/unit-tests/responsible-party-is-person-PASS.yaml index 3ec84a236..7096023f5 100644 --- a/src/validations/constraints/unit-tests/responsible-party-is-person-PASS.yaml +++ b/src/validations/constraints/unit-tests/responsible-party-is-person-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: Positive Test for responsible-party-is-person description: This test case validates the behavior of constraint responsible-party-is-person - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: responsible-party-is-person result: pass diff --git a/src/validations/constraints/unit-tests/responsible-party-prepared-by-PASS.yaml b/src/validations/constraints/unit-tests/responsible-party-prepared-by-PASS.yaml index 3f55f7247..0b1b6b039 100644 --- a/src/validations/constraints/unit-tests/responsible-party-prepared-by-PASS.yaml +++ b/src/validations/constraints/unit-tests/responsible-party-prepared-by-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint responsible-party-prepared-by - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: responsible-party-prepared-by result: pass diff --git a/src/validations/constraints/unit-tests/responsible-party-prepared-by-location-valid-PASS.yaml b/src/validations/constraints/unit-tests/responsible-party-prepared-by-location-valid-PASS.yaml index f0f790e02..b0ed19cb1 100644 --- a/src/validations/constraints/unit-tests/responsible-party-prepared-by-location-valid-PASS.yaml +++ b/src/validations/constraints/unit-tests/responsible-party-prepared-by-location-valid-PASS.yaml @@ -5,7 +5,7 @@ test-case: Scenario 1: Tests when a party references a location assembly. Scenario 2: Tests when a party has an address assembly embedded. content: - - ../content/ssp-all-VALID.xml + - ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml - ../content/ssp-responsible-party-prepared-by-location-valid-VALID-1.xml expectations: - constraint-id: responsible-party-prepared-by-location-valid diff --git a/src/validations/constraints/unit-tests/responsible-party-prepared-for-PASS.yaml b/src/validations/constraints/unit-tests/responsible-party-prepared-for-PASS.yaml index ab3e51306..95d7ebdb4 100644 --- a/src/validations/constraints/unit-tests/responsible-party-prepared-for-PASS.yaml +++ b/src/validations/constraints/unit-tests/responsible-party-prepared-for-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint responsible-party-prepared-for - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: responsible-party-prepared-for result: pass diff --git a/src/validations/constraints/unit-tests/responsible-party-prepared-for-location-valid-PASS.yaml b/src/validations/constraints/unit-tests/responsible-party-prepared-for-location-valid-PASS.yaml index 85f418bc8..fda51575f 100644 --- a/src/validations/constraints/unit-tests/responsible-party-prepared-for-location-valid-PASS.yaml +++ b/src/validations/constraints/unit-tests/responsible-party-prepared-for-location-valid-PASS.yaml @@ -5,7 +5,7 @@ test-case: Scenario 1: Tests when a party references a location assembly. Scenario 2: Tests when a party has an address assembly embedded. content: - - ../content/ssp-all-VALID.xml + - ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml - ../content/ssp-responsible-party-prepared-for-location-valid-VALID-1.xml expectations: - constraint-id: responsible-party-prepared-for-location-valid diff --git a/src/validations/constraints/unit-tests/role-defined-authorizing-official-poc-PASS.yaml b/src/validations/constraints/unit-tests/role-defined-authorizing-official-poc-PASS.yaml index bf0446b56..68758640f 100644 --- a/src/validations/constraints/unit-tests/role-defined-authorizing-official-poc-PASS.yaml +++ b/src/validations/constraints/unit-tests/role-defined-authorizing-official-poc-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid role-defined-authorizing-official-poc constraint unit test. description: Test that SSP metadata contains the authorizing-official-poc role. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: role-defined-authorizing-official-poc result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/role-defined-information-system-security-officer-PASS.yaml b/src/validations/constraints/unit-tests/role-defined-information-system-security-officer-PASS.yaml index e6400df0a..5442247c4 100644 --- a/src/validations/constraints/unit-tests/role-defined-information-system-security-officer-PASS.yaml +++ b/src/validations/constraints/unit-tests/role-defined-information-system-security-officer-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid role-defined-information-system-security-officer constraint unit test. description: Test that SSP metadata contains the information-system-security-officer role. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: role-defined-information-system-security-officer result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/role-defined-prepared-by-PASS.yaml b/src/validations/constraints/unit-tests/role-defined-prepared-by-PASS.yaml index 20380bce1..252f5ec49 100644 --- a/src/validations/constraints/unit-tests/role-defined-prepared-by-PASS.yaml +++ b/src/validations/constraints/unit-tests/role-defined-prepared-by-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for role-defined-prepared-by description: This test case validates the behavior of constraint role-defined-prepared-by - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: role-defined-prepared-by result: pass diff --git a/src/validations/constraints/unit-tests/role-defined-prepared-for-PASS.yaml b/src/validations/constraints/unit-tests/role-defined-prepared-for-PASS.yaml index af62f2670..5dd6a28e8 100644 --- a/src/validations/constraints/unit-tests/role-defined-prepared-for-PASS.yaml +++ b/src/validations/constraints/unit-tests/role-defined-prepared-for-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint role-defined-prepared-for - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: role-defined-prepared-for result: pass diff --git a/src/validations/constraints/unit-tests/role-defined-system-owner-PASS.yaml b/src/validations/constraints/unit-tests/role-defined-system-owner-PASS.yaml index c93d0ee64..7a53c82b3 100644 --- a/src/validations/constraints/unit-tests/role-defined-system-owner-PASS.yaml +++ b/src/validations/constraints/unit-tests/role-defined-system-owner-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid role-defined-system-owner constraint unit test. description: Test that SSP metadata contains the system-owner role. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: role-defined-system-owner result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/saas-has-leveraged-authorization-PASS.yaml b/src/validations/constraints/unit-tests/saas-has-leveraged-authorization-PASS.yaml index 4085f0b3b..14d8c46f1 100644 --- a/src/validations/constraints/unit-tests/saas-has-leveraged-authorization-PASS.yaml +++ b/src/validations/constraints/unit-tests/saas-has-leveraged-authorization-PASS.yaml @@ -5,7 +5,7 @@ test-case: Scenario 1: SSP does not have a saas cloud service model. Scenario 2: SSP has a saas cloud service model. content: - - ../content/ssp-all-VALID.xml + - ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml - ../content/ssp-saas-has-leveraged-authorization-VALID.xml expectations: - constraint-id: saas-has-leveraged-authorization diff --git a/src/validations/constraints/unit-tests/scan-type-PASS.yaml b/src/validations/constraints/unit-tests/scan-type-PASS.yaml index 3f456511c..deb5e61e4 100644 --- a/src/validations/constraints/unit-tests/scan-type-PASS.yaml +++ b/src/validations/constraints/unit-tests/scan-type-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid scan type test. description: Test that the specified scan type is valid. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: scan-type result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/security-level-PASS.yaml b/src/validations/constraints/unit-tests/security-level-PASS.yaml index 882bcb61a..df9245cc9 100644 --- a/src/validations/constraints/unit-tests/security-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/security-level-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: Test Valid Security Level Use description: Test that the specified security level is valid. - content: ../content/ssp-all-VALID.xml # the content to run + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml # the content to run expectations: # check the constraint result - constraint-id: security-level result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/security-sensitivity-level-matches-security-impact-level-PASS.yaml b/src/validations/constraints/unit-tests/security-sensitivity-level-matches-security-impact-level-PASS.yaml index 691abee1d..e65133a3f 100644 --- a/src/validations/constraints/unit-tests/security-sensitivity-level-matches-security-impact-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/security-sensitivity-level-matches-security-impact-level-PASS.yaml @@ -2,7 +2,7 @@ test-case: name: The valid security-sensitivity-level-matches-security-impact-level constraint unit test. description: Test that the SSP "security-sensitivity-level" element value matches "security-impact-level" values. - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: security-sensitivity-level-matches-security-impact-level result: pass \ No newline at end of file diff --git a/src/validations/constraints/unit-tests/unique-inventory-item-asset-id-PASS.yaml b/src/validations/constraints/unit-tests/unique-inventory-item-asset-id-PASS.yaml index 25ce4c022..7339d64e5 100644 --- a/src/validations/constraints/unit-tests/unique-inventory-item-asset-id-PASS.yaml +++ b/src/validations/constraints/unit-tests/unique-inventory-item-asset-id-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint unique-inventory-item-asset-id - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: unique-inventory-item-asset-id result: pass diff --git a/src/validations/constraints/unit-tests/user-authentication-PASS.yaml b/src/validations/constraints/unit-tests/user-authentication-PASS.yaml index 84eb3a1ba..253f7460a 100644 --- a/src/validations/constraints/unit-tests/user-authentication-PASS.yaml +++ b/src/validations/constraints/unit-tests/user-authentication-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for user-authentication description: This test case validates the behavior of constraint user-authentication - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: user-authentication result: pass diff --git a/src/validations/constraints/unit-tests/user-has-authorized-privilege-PASS.yaml b/src/validations/constraints/unit-tests/user-has-authorized-privilege-PASS.yaml index 3964c8422..8d8ae2470 100644 --- a/src/validations/constraints/unit-tests/user-has-authorized-privilege-PASS.yaml +++ b/src/validations/constraints/unit-tests/user-has-authorized-privilege-PASS.yaml @@ -3,7 +3,7 @@ test-case: description: >- This test case validates the behavior of constraint user-has-authorized-privilege - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: user-has-authorized-privilege result: pass diff --git a/src/validations/constraints/unit-tests/user-has-role-id-PASS.yaml b/src/validations/constraints/unit-tests/user-has-role-id-PASS.yaml index 917dea426..c77b5ed85 100644 --- a/src/validations/constraints/unit-tests/user-has-role-id-PASS.yaml +++ b/src/validations/constraints/unit-tests/user-has-role-id-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for user-has-role-id description: This test case validates the behavior of constraint user-has-role-id - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: user-has-role-id result: pass diff --git a/src/validations/constraints/unit-tests/user-has-user-type-PASS.yaml b/src/validations/constraints/unit-tests/user-has-user-type-PASS.yaml index c13224ed4..2598d44ab 100644 --- a/src/validations/constraints/unit-tests/user-has-user-type-PASS.yaml +++ b/src/validations/constraints/unit-tests/user-has-user-type-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for user-has-user-type description: This test case validates the behavior of constraint user-has-user-type - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: user-has-user-type result: pass diff --git a/src/validations/constraints/unit-tests/user-privilege-level-PASS.yaml b/src/validations/constraints/unit-tests/user-privilege-level-PASS.yaml index db272e857..2845bc3fc 100644 --- a/src/validations/constraints/unit-tests/user-privilege-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/user-privilege-level-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for user-privilege-level description: This test case validates the behavior of constraint user-privilege-level - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: user-privilege-level result: pass diff --git a/src/validations/constraints/unit-tests/user-sensitivity-level-PASS.yaml b/src/validations/constraints/unit-tests/user-sensitivity-level-PASS.yaml index 582d4cd37..c0496c135 100644 --- a/src/validations/constraints/unit-tests/user-sensitivity-level-PASS.yaml +++ b/src/validations/constraints/unit-tests/user-sensitivity-level-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for user-sensitivity-level description: This test case validates the behavior of constraint user-sensitivity-level - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: user-sensitivity-level result: pass diff --git a/src/validations/constraints/unit-tests/user-type-PASS.yaml b/src/validations/constraints/unit-tests/user-type-PASS.yaml index 35c7e51e4..cf649e3ec 100644 --- a/src/validations/constraints/unit-tests/user-type-PASS.yaml +++ b/src/validations/constraints/unit-tests/user-type-PASS.yaml @@ -1,7 +1,7 @@ test-case: name: Positive Test for user-type description: This test case validates the behavior of constraint user-type - content: ../content/ssp-all-VALID.xml + content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml expectations: - constraint-id: user-type result: pass