Skip to content

Commit

Permalink
add extra fail content
Browse files Browse the repository at this point in the history
  • Loading branch information
wandmagic committed Nov 26, 2024
1 parent 09e0801 commit af21682
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?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-implementation>
<component uuid="66666666-0000-4000-9000-000000000006" type="service">
<title>Firebase CLI Connection</title>
<description>
<p>CLI for updating firebase Secure connection to an external API for data enrichment.</p>
</description>
<prop name="asset-type" value="cli"/>
<prop name="implementation-point" value="test"/>
<status state="operational"/>
</component>
<component uuid="66666666-0000-4000-9000-000000000006" type="software">
<title>Firebase CLI Connection</title>
<description>
<p>CLI for updating firebase Secure connection to an external API for data enrichment.</p>
</description>
<prop name="asset-type" value="cli"/>
<status state="operational"/>
</component>
<component uuid="66666666-0000-4000-9000-000000000006" type="software">
<title>nvm CLI Connection</title>
<description>
<p>CLI for updating nvm Secure connection to an external API for data enrichment.</p>
</description>
<prop name="asset-type" value="cli"/>
<status state="operational"/>
</component>
</system-implementation>
</system-security-plan>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ test-case:
description: >-
This test case validates the behavior of constraint
network-component-has-implementation-point
content: ../content/ssp-network-component-has-implementation-point-INVALID.xml
content:
- ../content/ssp-network-component-has-implementation-point-INVALID.xml
- ../content/ssp-network-component-has-implementation-point-INVALID-2.xml
expectations:
- constraint-id: network-component-has-implementation-point
result: fail
fail_count:
type: "exact"
value: 2

0 comments on commit af21682

Please sign in to comment.