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 Oct 29, 2024
1 parent 5a73b44 commit 12bb512
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?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-information>
<information-type uuid="33333333-0000-4000-9000-000000000003">
</information-type>
</system-information>
</system-characteristics>
</system-security-plan>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?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-information>
<information-type uuid="33333333-0000-4000-9000-000000000003">
</information-type>
</system-information>
</system-characteristics>
</system-security-plan>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?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-information>
<information-type uuid="33333333-0000-4000-9000-000000000003">
</information-type>
</system-information>
</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
information-type-has-availability-impact
content: ../content/ssp-all-INVALID.xml
content: ../content/ssp-information-type-has-availability-impact-INVALID.xml
expectations:
- constraint-id: information-type-has-availability-impact
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
information-type-has-confidentiality-impact
content: ../content/ssp-all-INVALID.xml
content: ../content/ssp-information-type-has-confidentiality-impact-INVALID.xml
expectations:
- constraint-id: information-type-has-confidentiality-impact
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
information-type-has-integrity-impact
content: ../content/ssp-all-INVALID.xml
content: ../content/ssp-information-type-has-integrity-impact-INVALID.xml
expectations:
- constraint-id: information-type-has-integrity-impact
result: fail

0 comments on commit 12bb512

Please sign in to comment.