Skip to content

Commit

Permalink
Add ssp-role-has-responsible-party-INVALID.xml and modify role-has-re…
Browse files Browse the repository at this point in the history
…sponsible-party-FAIL.yaml
  • Loading branch information
DimitriZhurkin committed Oct 2, 2024
1 parent 49de63e commit f2ab1e0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
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">
<metadata>
<role id="role-without-responsible-party">
<title>Role not bound to a responsible party</title>
</role>
</metadata>

</system-security-plan>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
test-case:
name: The invalid role-has-responsible-party constraint unit test.
description: Test that the SSP metadata "role-without-responsible-party" role does not have a responsible party associated with it.
content: ../content/ssp-all-INVALID.xml
content: ../content/ssp-role-has-responsible-party-INVALID.xml
expectations:
- constraint-id: role-has-responsible-party
result: fail

0 comments on commit f2ab1e0

Please sign in to comment.