-
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.
- Loading branch information
Showing
6 changed files
with
61 additions
and
15 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
14 changes: 14 additions & 0 deletions
14
...dations/constraints/content/ssp-non-provider-responsible-role-references-user-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,14 @@ | ||
<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> | ||
<user uuid="44444444-0000-4000-9000-000000000004"> | ||
<authorized-privilege> | ||
<!-- <function-performed>administration</function-performed> Missing at least one function performed--> | ||
</authorized-privilege> | ||
</user> | ||
<component uuid="6ac88fd2-7c7b-4357-af2e-f22ccd3ead26" type="system"> | ||
<responsible-role role-id="administrator"> | ||
<prop name="privilege-uuid" value="44444444-0000-4000-9000-000000000004" ns="https://fedramp.gov/ns/oscal"/> | ||
</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
9 changes: 9 additions & 0 deletions
9
...alidations/constraints/unit-tests/non-provider-responsible-role-references-user-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,9 @@ | ||
test-case: | ||
name: Negative Test for non-provider-responsible-role-references-user | ||
description: >- | ||
This test case validates the behavior of constraint | ||
non-provider-responsible-role-references-user | ||
content: ../content/ssp-non-provider-responsible-role-references-user-INVALID.xml | ||
expectations: | ||
- constraint-id: non-provider-responsible-role-references-user | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
...alidations/constraints/unit-tests/non-provider-responsible-role-references-user-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,9 @@ | ||
test-case: | ||
name: Positive Test for non-provider-responsible-role-references-user | ||
description: >- | ||
This test case validates the behavior of constraint | ||
non-provider-responsible-role-references-user | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: non-provider-responsible-role-references-user | ||
result: pass |