-
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.
Browse files
Browse the repository at this point in the history
* Update SSP metadata role constraints * Adjust message text to be more approachable, per PR feedback --------- Co-authored-by: A.J. Stein <[email protected]>
- Loading branch information
1 parent
1dbf9c2
commit b526be0
Showing
7 changed files
with
53 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
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
src/validations/constraints/unit-tests/role-defined-authorizing-official-poc-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 role-defined-authorizing-official-poc constraint unit test. | ||
test-case: | ||
name: The invalid role-defined-authorizing-official-poc constraint unit test. | ||
description: Test that SSP metadata does not contain the authorizing-official-poc role. | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: role-defined-authorizing-official-poc | ||
result: fail |
8 changes: 8 additions & 0 deletions
8
src/validations/constraints/unit-tests/role-defined-authorizing-official-poc-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 role-defined-authorizing-official-poc constraint unit test. | ||
test-case: | ||
name: The valid role-defined-authorizing-official-poc constraint unit test. | ||
description: Test that SSP metadata contains the authorizing-official-poc role. | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: role-defined-authorizing-official-poc | ||
result: pass |
8 changes: 8 additions & 0 deletions
8
...dations/constraints/unit-tests/role-defined-information-system-security-officer-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 role-defined-information-system-security-officer constraint unit test. | ||
test-case: | ||
name: The invalid role-defined-information-system-security-officer constraint unit test. | ||
description: Test that SSP metadata does not contain the information-system-security-officer role. | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: role-defined-information-system-security-officer | ||
result: fail |
8 changes: 8 additions & 0 deletions
8
...dations/constraints/unit-tests/role-defined-information-system-security-officer-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 role-defined-information-system-security-officer constraint unit test. | ||
test-case: | ||
name: The valid role-defined-information-system-security-officer constraint unit test. | ||
description: Test that SSP metadata contains the information-system-security-officer role. | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: role-defined-information-system-security-officer | ||
result: pass |