Skip to content

Commit

Permalink
Add example ssp to content file and edit constraint script to point y…
Browse files Browse the repository at this point in the history
…aml pass file to example ssp
  • Loading branch information
Gabeblis committed Dec 3, 2024
1 parent 1377478 commit 4f42fa3
Show file tree
Hide file tree
Showing 3 changed files with 4,836 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/fedramp_extensions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Scenario Outline: Documents that should be valid are pass
Then I should have valid results "<valid_file>"
Examples:
| valid_file |
| ssp-all-VALID.xml |
# | ssp-all-VALID.xml |
# | ../../../content/awesome-cloud/xml/AwesomeCloudSSP1.xml |
# | ../../../content/awesome-cloud/xml/AwesomeCloudSSP2.xml |

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/dev-constraint.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ async function scaffoldTest(constraintId,context) {
'test-case': {
name: `Positive Test for ${constraintId}`,
description: `This test case validates the behavior of constraint ${constraintId}`,
content: `../content/${model}-all-VALID.xml`,
content: model === 'ssp' ? '../content/fedramp-ssp-example.oscal.xml' : `../content/${model}-all-VALID.xml`,
expectations: [
{
'constraint-id': constraintId,
Expand Down
Loading

0 comments on commit 4f42fa3

Please sign in to comment.