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 6ccb539 commit b076f55
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 |
| 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-example-ssp.xml' : `../content/${model}-all-VALID.xml`,
expectations: [
{
'constraint-id': constraintId,
Expand Down
Loading

0 comments on commit b076f55

Please sign in to comment.