forked from GSA/fedramp-automation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add security-sensitivity-level-matches-security-impact-level (GSA#786)
* Add security-sensitivity-level-matches-security-impact-level * Modify the message wording * In the message, change MUST to SHOULD
- Loading branch information
1 parent
0d83da1
commit 9e9b001
Showing
5 changed files
with
45 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
16 changes: 16 additions & 0 deletions
16
...straints/content/ssp-security-sensitivity-level-matches-security-impact-level-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,16 @@ | ||
<?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-characteristics> | ||
<security-sensitivity-level>fips-199-low</security-sensitivity-level> | ||
<security-impact-level> | ||
<security-objective-confidentiality>fips-199-moderate</security-objective-confidentiality> | ||
<security-objective-integrity>fips-199-moderate</security-objective-integrity> | ||
<security-objective-availability>fips-199-moderate</security-objective-availability> | ||
</security-impact-level> | ||
</system-characteristics> | ||
|
||
</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/security-sensitivity-level-matches-security-impact-level-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 security-sensitivity-level-matches-security-impact-level constraint unit test. | ||
test-case: | ||
name: The invalid security-sensitivity-level-matches-security-impact-level constraint unit test. | ||
description: Test that the SSP "security-sensitivity-level" element value does not match "security-impact-level" values. | ||
content: ../content/ssp-security-sensitivity-level-matches-security-impact-level-INVALID.xml | ||
expectations: | ||
- constraint-id: security-sensitivity-level-matches-security-impact-level | ||
result: fail |
8 changes: 8 additions & 0 deletions
8
...constraints/unit-tests/security-sensitivity-level-matches-security-impact-level-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 security-sensitivity-level-matches-security-impact-level constraint unit test. | ||
test-case: | ||
name: The valid security-sensitivity-level-matches-security-impact-level constraint unit test. | ||
description: Test that the SSP "security-sensitivity-level" element value matches "security-impact-level" values. | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: security-sensitivity-level-matches-security-impact-level | ||
result: pass |