Skip to content

Commit

Permalink
Added separate invalid test data files
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabeblis committed Sep 24, 2024
1 parent e29562e commit 9d62315
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>
</system-characteristics>
</system-security-plan>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>
</system-characteristics>
</system-security-plan>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ test-case:
description: >-
This test case validates the behavior of constraint
has-security-impact-level
content: ../content/ssp-all-INVALID.xml
content: ../content/ssp-has-security-impact-level-INVALID.xml
expectations:
- constraint-id: has-security-impact-level
result: fail
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ test-case:
description: >-
This test case validates the behavior of constraint
has-security-sensitivity-level
content: ../content/ssp-all-INVALID.xml
content: ../content/ssp-has-security-sensitivity-level-INVALID.xml
expectations:
- constraint-id: has-security-sensitivity-level
result: fail

0 comments on commit 9d62315

Please sign in to comment.