Skip to content

Commit

Permalink
Merge branch 'constraints/example-ssp' of https://github.com/Gabeblis…
Browse files Browse the repository at this point in the history
  • Loading branch information
wandmagic committed Dec 3, 2024
2 parents 9f74cd6 + 4f42fa3 commit 0017ac4
Show file tree
Hide file tree
Showing 3 changed files with 4,836 additions and 3 deletions.
3 changes: 1 addition & 2 deletions features/fedramp_extensions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ Scenario Outline: Validating OSCAL constraints with metaschema constraints

@integration
Scenario Outline: Documents that should be valid are pass
Given I have loaded all Metaschema extensions documents
Then I should have valid results "<valid_file>"
Examples:
| valid_file |
| fedramp-ssp-example.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: 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 0017ac4

Please sign in to comment.