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 system-characteristics 'has-assurance-level' constraints (GSA#701)
* Add system-characteristics 'has-assurance-level' constraints & tests * Make uniform wording for informational findings per PR review --------- Co-authored-by: A.J. Stein <[email protected]>
- Loading branch information
Showing
9 changed files
with
79 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
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
src/validations/constraints/unit-tests/has-authenticator-assurance-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,9 @@ | ||
test-case: | ||
name: Negative Test for has-authenticator-assurance-level | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-authenticator-assurance-level | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-authenticator-assurance-level | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-authenticator-assurance-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,9 @@ | ||
test-case: | ||
name: Positive Test for has-authenticator-assurance-level | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-authenticator-assurance-level | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-authenticator-assurance-level | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-federation-assurance-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,9 @@ | ||
test-case: | ||
name: Negative Test for has-federation-assurance-level | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-federation-assurance-level | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-federation-assurance-level | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-federation-assurance-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,9 @@ | ||
test-case: | ||
name: Positive Test for has-federation-assurance-level | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-federation-assurance-level | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-federation-assurance-level | ||
result: pass |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-identity-assurance-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,9 @@ | ||
test-case: | ||
name: Negative Test for has-identity-assurance-level | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-identity-assurance-level | ||
content: ../content/ssp-all-INVALID.xml | ||
expectations: | ||
- constraint-id: has-identity-assurance-level | ||
result: fail |
9 changes: 9 additions & 0 deletions
9
src/validations/constraints/unit-tests/has-identity-assurance-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,9 @@ | ||
test-case: | ||
name: Positive Test for has-identity-assurance-level | ||
description: >- | ||
This test case validates the behavior of constraint | ||
has-identity-assurance-level | ||
content: ../content/ssp-all-VALID.xml | ||
expectations: | ||
- constraint-id: has-identity-assurance-level | ||
result: pass |