-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the inter-boundary-component-has-class-attribute constraint (#1067)
- Loading branch information
1 parent
144785b
commit f1b5515
Showing
6 changed files
with
62 additions
and
4 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
38 changes: 38 additions & 0 deletions
38
...nts/content/ssp-inter-boundary-component-information-type-has-class-attribute-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,38 @@ | ||
<?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="67ecaba6-e5be-4c92-9731-e55825689e8f" type="service"> | ||
<title>Service A</title> | ||
<description> | ||
<p>An non-authorized service provided by the Awesome Cloud leveraged authorization.</p> | ||
<p>Describe the service and what it is used for.</p> | ||
</description> | ||
<prop name="implementation-point" value="external"/> | ||
<prop name="connection-security" value="non-fedramp-value" ns="https://fedramp.gov/ns/oscal"/> | ||
<prop name="provider" value="self" ns="http://fedramp.gov/ns/oscal"/> | ||
<prop ns="http://fedramp.gov/ns/oscal" name="still-supported" value="yes"/> | ||
|
||
<!-- The information-type prop does not have a @class attribute. --> | ||
<prop name="information-type" value="C.3.5.1" 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.</p> | ||
<p>If 'no', explain why no authentication is used.</p> | ||
<p>If 'not-applicable', attest explain why authentication is not applicable in the remarks.</p> | ||
</remarks> | ||
</prop> | ||
<status state="operational"/> | ||
<responsible-role role-id="admin"/> | ||
<responsible-role role-id="provider"> | ||
<party-uuid>33333333-2222-4000-8000-004000000001</party-uuid> | ||
</responsible-role> | ||
<remarks> | ||
<p>Each non-authorized leveraged service must be expressed as a "service" component.</p> | ||
</remarks> | ||
</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
...raints/unit-tests/inter-boundary-component-information-type-has-class-attribute-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-information-type-has-class-attribute constraint unit test. | ||
test-case: | ||
name: The invalid inter-boundary-component-information-type-has-class-attribute constraint unit test. | ||
description: Test that the FedRAMP SSP inter-boundary communication component's information-type property does not have the @class attribute. | ||
content: ../content/ssp-inter-boundary-component-information-type-has-class-attribute-INVALID.xml | ||
expectations: | ||
- constraint-id: inter-boundary-component-information-type-has-class-attribute | ||
result: fail |
8 changes: 8 additions & 0 deletions
8
...raints/unit-tests/inter-boundary-component-information-type-has-class-attribute-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-information-type-has-class-attribute constraint unit test. | ||
test-case: | ||
name: The valid inter-boundary-component-information-type-has-class-attribute constraint unit test. | ||
description: Test that the FedRAMP SSP inter-boundary communication component's information-type property has the @class attribute. | ||
content: ../../../content/rev5/examples/ssp/xml/fedramp-ssp-example.oscal.xml | ||
expectations: | ||
- constraint-id: inter-boundary-component-information-type-has-class-attribute | ||
result: pass |