From ea95ffa7fd90f706c6f73a78d08bff1006e08b68 Mon Sep 17 00:00:00 2001 From: "~ . ~" Date: Wed, 4 Dec 2024 12:49:03 -0500 Subject: [PATCH] deprecate ssp-all-valid --- features/fedramp_extensions.feature | 3 - src/validations/constraints/CONTRIBUTING.md | 4 +- ...p-control-implementation-status-VALID.xml} | 0 ...ndary-diagram-link-href-target-VALID-1.xml | 2 +- ...-flow-diagram-link-href-target-VALID-1.xml | 2 +- ...cture-diagram-link-href-target-VALID-1.xml | 7 +- .../ssp-interconnection-direction-VALID.xml | 625 ++++++++++++++++++ .../ssp-interconnection-security-VALID.xml | 625 ++++++++++++++++++ .../unit-tests/address-type-PASS.yaml | 2 +- .../unit-tests/attachment-type-PASS.yaml | 2 +- ...uthentication-method-has-remarks-PASS.yaml | 2 +- .../unit-tests/authorization-type-PASS.yaml | 2 +- ...ion-has-correct-system-attribute-PASS.yaml | 2 +- ...rization-has-information-type-id-PASS.yaml | 2 +- ...act-has-adjustment-justification-PASS.yaml | 2 +- .../cia-impact-has-selected-PASS.yaml | 2 +- .../unit-tests/cloud-service-model-PASS.yaml | 2 +- ...ponent-has-authentication-method-PASS.yaml | 2 +- ...as-non-provider-responsible-role-PASS.yaml | 2 +- ...esponsible-role-references-party-PASS.yaml | 2 +- .../unit-tests/component-type-PASS.yaml | 2 +- .../control-implementation-status-PASS.yaml | 2 +- .../data-center-alternate-PASS.yaml | 2 +- .../unit-tests/data-center-count-PASS.yaml | 2 +- .../data-center-country-code-PASS.yaml | 2 +- .../unit-tests/data-center-primary-PASS.yaml | 2 +- .../unit-tests/data-center-us-PASS.yaml | 2 +- .../unit-tests/deployment-model-PASS.yaml | 2 +- ...ernal-system-nature-of-agreement-PASS.yaml | 2 +- .../unit-tests/fedramp-version-PASS.yaml | 2 +- .../fully-operational-date-is-valid-PASS.yaml | 2 +- .../fully-operational-date-type-PASS.yaml | 2 +- ...as-authenticator-assurance-level-PASS.yaml | 2 +- ...s-authorization-boundary-diagram-PASS.yaml | 2 +- ...ization-boundary-diagram-caption-PASS.yaml | 2 +- ...ion-boundary-diagram-description-PASS.yaml | 2 +- ...horization-boundary-diagram-link-PASS.yaml | 2 +- ...oundary-diagram-link-href-target-PASS.yaml | 2 +- ...zation-boundary-diagram-link-rel-PASS.yaml | 2 +- ...y-diagram-link-rel-allowed-value-PASS.yaml | 2 +- .../has-cloud-deployment-model-PASS.yaml | 2 +- ...s-cloud-deployment-model-remarks-PASS.yaml | 2 +- .../has-cloud-service-model-PASS.yaml | 2 +- .../has-cloud-service-model-remarks-PASS.yaml | 2 +- ...as-configuration-management-plan-PASS.yaml | 2 +- .../unit-tests/has-data-flow-PASS.yaml | 2 +- .../has-data-flow-description-PASS.yaml | 2 +- .../has-data-flow-diagram-PASS.yaml | 2 +- .../has-data-flow-diagram-caption-PASS.yaml | 2 +- ...as-data-flow-diagram-description-PASS.yaml | 2 +- .../has-data-flow-diagram-link-PASS.yaml | 2 +- ...ta-flow-diagram-link-href-target-PASS.yaml | 1 - .../has-data-flow-diagram-link-rel-PASS.yaml | 2 +- ...w-diagram-link-rel-allowed-value-PASS.yaml | 2 +- .../has-data-flow-diagram-uuid-PASS.yaml | 2 +- .../has-federation-assurance-level-PASS.yaml | 2 +- .../has-fully-operational-date-PASS.yaml | 2 +- .../has-identity-assurance-level-PASS.yaml | 2 +- .../has-incident-response-plan-PASS.yaml | 2 +- ...ormation-system-contingency-plan-PASS.yaml | 2 +- .../unit-tests/has-inventory-items-PASS.yaml | 2 +- .../has-network-architecture-PASS.yaml | 2 +- ...has-network-architecture-diagram-PASS.yaml | 2 +- ...ork-architecture-diagram-caption-PASS.yaml | 2 +- ...architecture-diagram-description-PASS.yaml | 2 +- ...etwork-architecture-diagram-link-PASS.yaml | 2 +- ...tecture-diagram-link-href-target-PASS.yaml | 2 +- ...rk-architecture-diagram-link-rel-PASS.yaml | 2 +- ...e-diagram-link-rel-allowed-value-PASS.yaml | 2 +- .../unit-tests/has-published-date-PASS.yaml | 2 +- .../has-rules-of-behavior-PASS.yaml | 2 +- .../has-security-impact-level-PASS.yaml | 2 +- .../has-security-sensitivity-level-PASS.yaml | 2 +- .../has-separation-of-duties-matrix-PASS.yaml | 2 +- .../unit-tests/has-system-id-PASS.yaml | 2 +- .../has-system-name-short-PASS.yaml | 2 +- .../unit-tests/has-user-guide-PASS.yaml | 2 +- ...t-profile-has-available-document-PASS.yaml | 2 +- ...file-resolves-to-fedramp-content-PASS.yaml | 2 +- ...ion-type-has-availability-impact-PASS.yaml | 2 +- ...-type-has-confidentiality-impact-PASS.yaml | 2 +- ...mation-type-has-integrity-impact-PASS.yaml | 2 +- .../unit-tests/information-type-id-PASS.yaml | 2 +- .../information-type-system-PASS.yaml | 2 +- .../interconnection-direction-PASS.yaml | 2 +- .../interconnection-security-PASS.yaml | 2 +- ...y-item-allows-authenticated-scan-PASS.yaml | 2 +- .../inventory-item-public-PASS.yaml | 2 +- .../inventory-item-virtual-PASS.yaml | 2 +- ...orization-has-authorization-type-PASS.yaml | 2 +- ...d-authorization-has-impact-level-PASS.yaml | 2 +- ...horization-has-system-identifier-PASS.yaml | 2 +- ...orization-has-valid-impact-level-PASS.yaml | 2 +- ...uthorization-nature-of-agreement-PASS.yaml | 2 +- .../constraints/unit-tests/marking-PASS.yaml | 2 +- ...ent-has-connection-security-prop-PASS.yaml | 2 +- ...mponent-has-implementation-point-PASS.yaml | 2 +- ...responsible-role-references-user-PASS.yaml | 2 +- .../unit-tests/party-has-name-PASS.yaml | 2 +- .../unit-tests/privilege-level-PASS.yaml | 2 +- .../resource-has-base64-or-rlink-PASS.yaml | 2 +- .../unit-tests/resource-has-title-PASS.yaml | 2 +- .../responsible-party-is-person-PASS.yaml | 2 +- .../responsible-party-prepared-by-PASS.yaml | 2 +- ...party-prepared-by-location-valid-PASS.yaml | 2 +- .../responsible-party-prepared-for-PASS.yaml | 2 +- ...arty-prepared-for-location-valid-PASS.yaml | 2 +- ...defined-authorizing-official-poc-PASS.yaml | 2 +- ...ormation-system-security-officer-PASS.yaml | 2 +- .../role-defined-prepared-by-PASS.yaml | 2 +- .../role-defined-prepared-for-PASS.yaml | 2 +- .../role-defined-system-owner-PASS.yaml | 2 +- ...saas-has-leveraged-authorization-PASS.yaml | 2 +- .../unit-tests/scan-type-PASS.yaml | 2 +- .../unit-tests/security-level-PASS.yaml | 2 +- ...el-matches-security-impact-level-PASS.yaml | 2 +- .../unique-inventory-item-asset-id-PASS.yaml | 2 +- .../unit-tests/user-authentication-PASS.yaml | 2 +- .../user-has-authorized-privilege-PASS.yaml | 2 +- .../unit-tests/user-has-role-id-PASS.yaml | 2 +- .../unit-tests/user-has-user-type-PASS.yaml | 2 +- .../unit-tests/user-privilege-level-PASS.yaml | 2 +- .../user-sensitivity-level-PASS.yaml | 2 +- .../unit-tests/user-type-PASS.yaml | 2 +- 124 files changed, 1371 insertions(+), 128 deletions(-) rename src/validations/constraints/content/{ssp-all-VALID.xml => ssp-control-implementation-status-VALID.xml} (100%) create mode 100644 src/validations/constraints/content/ssp-interconnection-direction-VALID.xml create mode 100644 src/validations/constraints/content/ssp-interconnection-security-VALID.xml diff --git a/features/fedramp_extensions.feature b/features/fedramp_extensions.feature index 42b267a3d0..e9c9696bcf 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/validations/constraints/CONTRIBUTING.md b/src/validations/constraints/CONTRIBUTING.md index 2edc2a4fcf..47d9934d80 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 ebeecfc3e3..13ce45a02d 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 fc8e9a1177..bd5564b7c6 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 a7d82a3c9a..28a50101a3 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 0000000000..715a29c660 --- /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 0000000000..715a29c660 --- /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 65ca540903..6dbb63acdb 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 98e4f563e5..7bfd912339 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 114dd8e658..ce1162c073 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 9c7eebc8e3..c7bb3f5eab 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 c9325952d1..60ffb834ef 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 d68778870d..b4ad3b31af 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 83c3824d67..076f85f895 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 abb421c611..1800141800 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 48a1f5b69e..9b4c7a6161 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 76f5b7ef6d..ddd6335267 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 1ef1f78c26..19dab09735 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 40990f9b83..010623e80e 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 7b461ec489..25d0f25250 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 7c02848aed..bba1c533e4 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 1f2cb46ab0..5aae6a85a8 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 1ecbcdcfe1..79ccc5fe9a 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 446d658728..09784a9dbb 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 2225fb9e7f..9704731d76 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 ea5817d968..72492d9f8b 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 276718b66f..d3bdcbf005 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 9d62c3fb9b..f8b46cdcc0 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 1dda425dbf..7e84267a4f 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 2068eff199..8e04b3d1b8 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 1d54c4ef42..00012cf606 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 9fb20e9788..dca5904181 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 5640c8da7a..712a0dc182 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 23a36c8cc8..8f03a1d555 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 77e2971b11..19bf500071 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 d6a7b7c3b0..82f5de5bd3 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 ae51624768..3886fdef4f 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 df5ff7d683..fb8e9e40e4 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 b6b85fec57..339c26d9c6 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 e1cfaa644b..f817b494a6 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 afd3cd1752..31e6e8fa8f 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 ea20d540f9..6a19e37934 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 92d2776454..3d13b5b95c 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 9452a2889e..fe8b409157 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 b8af11e7a6..3e00a85afc 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 88cad44ea2..7faf1ed84a 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 f639cf067f..a342c05fdc 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 1436c60944..fc4941f663 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 71c0591fe1..f899fd54a7 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 e9ba551c4d..bb492a810c 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 7e4f098abb..1a5a519812 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 cf4f1bbd13..ebe34ffcfc 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 fee1e089bb..665ccf3618 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 fdf6e27917..286a1299c7 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 3bdb7c83c5..d4c48dbbb8 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 68b342103d..bf628ff5cf 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 81aafd66c7..f061c8339a 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 94f95701d0..afa1bf1ed1 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 10543f9e65..bc0f40c4ee 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 5a9fca33df..1da1ac9b54 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 a009379250..4f92b5b410 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 22c0d8b3ab..31c1c73f31 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 bfb9eda66b..2e73f0c5bb 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 b2f95fe03a..c7b9e09cfc 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 372a845509..a83f36cbf5 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 0de200640b..99aa038b48 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 0adea017a1..64da9b4fe6 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 bb56632526..7631738332 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 195e7a553b..1dfb77e117 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 58f431e4cd..6a99da4cf0 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 b3405cea39..0d34d0f581 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 e6bd7f3e8e..316e91375c 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 70d0b0ce2d..58149ee55c 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 2372e593ed..b48c2aa058 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 ff1baa729c..72416f3fd9 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 7ceb2c6588..862a942d30 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 2f4b37c80e..37ec104b79 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 53e5800321..b211b10198 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 4dc13de603..5c8c9674b4 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 bb8c016821..9c5b360bc2 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 0700052f67..8a159528e3 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 f42f282026..f0157d8fac 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 532e9b0786..b14a4282d2 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 387e91d805..2f3daf2321 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 92350cee1a..9797649891 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 3cd58b4143..d5041987d1 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 d375d4217b..7562b0acba 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 21e582b2ee..ca29ef218d 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 fb4222996e..1a9d48b1db 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 f6bd88ccc6..b8fe809654 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 5869928738..b45d4175ea 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 4bedfcc9ac..5e2aa1b4a2 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 ff1e4dbc74..42d6b2282d 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 1cc26c447c..1e596211f1 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 b9987997dc..0032e1a12e 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 414bd38cf1..68be74c584 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 688c8b4d50..f50c3e9916 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 e53b9d99eb..95b428f768 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 7bb83b303c..0d97c01b78 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 c2e38a13c5..77d2e214c3 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 5b3a0f0ad3..3d63ed3c73 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 3ec84a2364..7096023f5d 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 3f55f72476..0b1b6b0398 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 f0f790e024..b0ed19cb18 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 ab3e51306c..95d7ebdb4e 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 85f418bc82..fda51575f6 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 bf0446b566..68758640fb 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 e6400df0a3..5442247c4e 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 20380bce1c..252f5ec49b 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 af62f26708..5dd6a28e84 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 c93d0ee640..7a53c82b33 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 4085f0b3bd..14d8c46f14 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 3f456511c1..deb5e61e45 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 882bcb61a9..df9245cc99 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 691abee1dc..e65133a3fe 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 25ce4c0228..7339d64e50 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 84eb3a1baf..253f7460ac 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 3964c8422c..8d8ae24709 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 917dea4263..c77b5ed85e 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 c13224ed44..2598d44ab4 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 db272e8575..2845bc3fca 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 582d4cd370..c0496c1358 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 35c7e51e46..cf649e3ec8 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