-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DONOTMERGE] Add inter-boundary-component-direction-incoming-has-ipv-…
…uri constraint
- Loading branch information
1 parent
249b929
commit 8dc47a7
Showing
6 changed files
with
67 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
23 changes: 23 additions & 0 deletions
23
...nstraints/content/ssp-inter-boundary-component-direction-incoming-has-ipv-uri-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,23 @@ | ||
<?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="external"/> | ||
<prop name="direction" value="incoming" 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
.../constraints/unit-tests/inter-boundary-component-direction-incoming-has-ipv-uri-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-direction-incoming-has-ipv-uri constraint unit test. | ||
test-case: | ||
name: The invalid inter-boundary-component-direction-incoming-has-ipv-uri constraint unit test. | ||
description: Test that the FedRAMP SSP inter-boundary incoming communication component does not have a local ipv4 address, ipv6 address, or a URI to an API. | ||
content: ../content/ssp-inter-boundary-component-direction-incoming-has-ipv-uri-INVALID.xml | ||
expectations: | ||
- constraint-id: inter-boundary-component-direction-incoming-has-ipv-uri | ||
result: fail |
8 changes: 8 additions & 0 deletions
8
.../constraints/unit-tests/inter-boundary-component-direction-incoming-has-ipv-uri-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-direction-incoming-has-ipv-uri constraint unit test. | ||
test-case: | ||
name: The valid inter-boundary-component-direction-incoming-has-ipv-uri constraint unit test. | ||
description: Test that the FedRAMP SSP inter-boundary incoming communication component has at least one local ipv4 address, ipv6 address, or a URI to an API. | ||
content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml | ||
expectations: | ||
- constraint-id: inter-boundary-component-direction-incoming-has-ipv-uri | ||
result: pass |