-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
5d6710f
commit c3db2b2
Showing
6 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/validations/constraints/content/ssp-inter-boundary-component-has-direction-INVALID.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<system-security-plan xmlns="http://csrc.nist.gov/ns/oscal/1.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://csrc.nist.gov/ns/oscal/1.0 https://github.com/usnistgov/OSCAL/releases/download/v1.1.2/oscal_ssp_schema.xsd" | ||
uuid="12345678-1234-4321-8765-123456789012"> | ||
|
||
<system-implementation> | ||
|
||
<component uuid="77777777-0000-4000-9000-000000000008" type="service"> | ||
<title>Communication Service System</title> | ||
<description> | ||
<p>A network communication service system.</p> | ||
</description> | ||
<prop name="inherited-uuid" value="11111111-0000-4000-9001-000000000001"/> | ||
<prop name="implementation-point" value="internal"/> | ||
<prop name="direction" value="incoming" ns="https://fedramp.gov/ns/oscal"/> | ||
<prop name="direction" value="outgoing" ns="https://fedramp.gov/ns/oscal"/> | ||
<prop name="direction" value="outgoing" ns="https://fedramp.gov/ns/oscal"/> | ||
<prop name="nature-of-agreement" ns="https://fedramp.gov/ns/oscal" value="isa"/> | ||
<status state="operational"/> | ||
</component> | ||
|
||
</system-implementation> | ||
|
||
</system-security-plan> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/validations/constraints/unit-tests/inter-boundary-component-has-direction-FAIL.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Driver for the invalid inter-boundary-component-has-direction constraint unit test. | ||
test-case: | ||
name: The invalid inter-boundary-component-has-direction constraint unit test. | ||
description: Test that the FedRAMP SSP inter-boundary communication component has more than one incoming or outgoing direction. | ||
content: ../content/ssp-inter-boundary-component-has-direction-INVALID.xml | ||
expectations: | ||
- constraint-id: inter-boundary-component-has-direction | ||
result: fail |
8 changes: 8 additions & 0 deletions
8
src/validations/constraints/unit-tests/inter-boundary-component-has-direction-PASS.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Driver for the valid inter-boundary-component-has-direction constraint unit test. | ||
test-case: | ||
name: The valid inter-boundary-component-has-direction constraint unit test. | ||
description: Test that the FedRAMP SSP inter-boundary communication component has at least one direction property, with no more than one incoming and no more than one outgoing direction. | ||
content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml | ||
expectations: | ||
- constraint-id: inter-boundary-component-has-direction | ||
result: pass |