-
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.
Add the interconnection-component-has-remote-protocol constraint
- Loading branch information
1 parent
719cf2c
commit 2eaec17
Showing
6 changed files
with
113 additions
and
0 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
46 changes: 46 additions & 0 deletions
46
...dations/constraints/content/ssp-interconnection-component-has-remote-protocol-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,46 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-model href="https://github.com/usnistgov/OSCAL/releases/download/v1.1.3/oscal_ssp_schema.xsd" schematypens="http://www.w3.org/2001/XMLSchema" title="OSCAL complete schema"?> | ||
<system-security-plan xmlns="http://csrc.nist.gov/ns/oscal/1.0" uuid="df903c4c-6bb5-4b78-8a71-c5baa06a9f2e"> | ||
<system-implementation> | ||
<component uuid="11111111-2222-4000-8000-009000200002" type="interconnection"> | ||
<title>Authorized Connection Information System Name</title> | ||
<description> | ||
<p>Describe the purpose of the external system/service; specifically, provide reasons for connectivity (e.g., system monitoring, system alerting, download updates, etc.)</p> | ||
</description> | ||
<prop name="nature-of-agreement" value="contract" ns="http://fedramp.gov/ns/oscal"/> | ||
<prop name="authentication-method" value="yes" ns="http://fedramp.gov/ns/oscal"> | ||
<remarks> | ||
<p>If 'yes', describe the authentication method in the remarks.</p> | ||
<p>If 'no', explain why no authentication is used in the remarks.</p> | ||
<p>If 'not-applicable', attest explain why authentication is not applicable in the remarks.</p> | ||
</remarks> | ||
</prop> | ||
<prop name="information-type" class="incoming" value="C.3.5.1" ns="http://fedramp.gov/ns/oscal"/> | ||
<prop name="information-type" class="incoming" value="C.3.5.8" ns="http://fedramp.gov/ns/oscal"/> | ||
<prop name="ipv4-address" class="local" value="10.1.1.1"/> | ||
<prop name="ipv6-address" class="local" value="::ffff:10.1.1.1"/> | ||
<!--prop name="ipv4-address" class="remote" value="10.2.2.2"/> | ||
<prop name="ipv6-address" class="remote" value="::ffff:10.2.2.2"/> | ||
<prop name="fqdn" class="remote" value="www.example.com" ns="http://fedramp.gov/ns/oscal"/> | ||
<prop name="uri" class="remote" value="https://sample.com#content" ns="http://fedramp.gov/ns/oscal"/> | ||
<prop name="connection-security" value="tls-1.3" ns="http://fedramp.gov/ns/oscal"/> | ||
<link rel="uri" href="https://www.example.com#content"/--> | ||
<status state="operational"/> | ||
<responsible-role role-id="provider"> | ||
<party-uuid>44444444-2222-4000-8000-004000000001</party-uuid> | ||
</responsible-role> | ||
<responsible-role role-id="isa-poc-remote"> | ||
<party-uuid>11111111-2222-4000-8000-004000000008</party-uuid> | ||
</responsible-role> | ||
<responsible-role role-id="isa-poc-local"> | ||
<party-uuid>11111111-2222-4000-8000-004000000008</party-uuid> | ||
</responsible-role> | ||
<responsible-role role-id="administrator"> | ||
<prop name="privilege-uuid" value="11111111-2222-4000-8000-008000000004" ns="http://fedramp.gov/ns/oscal"/> | ||
<party-uuid>11111111-2222-4000-8000-004000000010</party-uuid> | ||
<party-uuid>11111111-2222-4000-8000-004000000011</party-uuid> | ||
<party-uuid>11111111-2222-4000-8000-004000000012</party-uuid> | ||
</responsible-role> | ||
</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
...alidations/constraints/unit-tests/interconnection-component-has-remote-protocol-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 interconnection-component-has-remote-protocol constraint unit test. | ||
test-case: | ||
name: The invalid interconnection-component-has-remote-protocol constraint unit test. | ||
description: Test that the FedRAMP SSP interconnection component does not have remote IPv4 Address, IPv6 Address, URI, or FQDN. | ||
content: ../content/ssp-interconnection-component-has-remote-protocol-INVALID.xml | ||
expectations: | ||
- constraint-id: interconnection-component-has-remote-protocol | ||
result: fail |
8 changes: 8 additions & 0 deletions
8
...alidations/constraints/unit-tests/interconnection-component-has-remote-protocol-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 interconnection-component-has-remote-protocol constraint unit test. | ||
test-case: | ||
name: The valid interconnection-component-has-remote-protocol constraint unit test. | ||
description: Test that the FedRAMP SSP interconnection component has at least one remote IPv4 Address, IPv6 Address, URI, or FQDN. | ||
content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml | ||
expectations: | ||
- constraint-id: interconnection-component-has-remote-protocol | ||
result: pass |