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 53a8649 commit cc229ec
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 @@ -10,7 +10,7 @@ Scenario Outline: Documents that should be valid are pass
Then I should have valid results "<valid_file>"
Examples:
| valid_file |
| fedramp-ssp-example.xml |
# | fedramp-ssp-example.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: model === 'ssp' ? '../content/fedramp-example-ssp.xml' : `../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 cc229ec

Please sign in to comment.