Skip to content

Commit

Permalink
improve constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
wandmagic committed Dec 13, 2024
1 parent 99f532f commit 01412fc
Show file tree
Hide file tree
Showing 6 changed files with 499 additions and 5 deletions.
2 changes: 1 addition & 1 deletion features/steps/fedramp_extensions_steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ async function checkConstraints(
`The content may need adjustment to properly test this constraint.`
);
}
!quiet && console.error(formatSarifOutput(sarifOutput))
!quiet && console.error(formatSarifOutput({version:'2.1.0',runs:[{results:constraintResults,tool:{driver:{name:"oscal-cli"}}}]}))
errors.push(""); // Add a blank line for readability
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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>
<title>Enhanced Example System Security Plan</title>
<published>2024-08-01T14:30:00Z</published>
<last-modified>2024-08-01T14:30:00Z</last-modified>
<version>1.1</version>
<oscal-version>1.1.2</oscal-version>
<document-id scheme="https://example.com/identifiers">SSP-2024-002</document-id>
</metadata>
<import-profile href="https://raw.githubusercontent.com/GSA/fedramp-automation/master/dist/content/rev5/baselines/xml/FedRAMP_rev5_LOW-baseline-resolved-profile_catalog.xml"></import-profile>
<control-implementation>
<description/>
<implemented-requirement uuid="59b469cb-5e57-45ee-b1bd-848431df7da1" control-id="ac-1"></implemented-requirement>
</control-implementation>
</system-security-plan>
Loading

0 comments on commit 01412fc

Please sign in to comment.