Skip to content

Error checking#13

Merged
georgedias merged 4 commits intomainfrom
errorChecking
Mar 31, 2023
Merged

Error checking#13
georgedias merged 4 commits intomainfrom
errorChecking

Conversation

@em-c-rod
Copy link
Contributor

@em-c-rod em-c-rod commented Dec 29, 2022

Issue #15

  • Add test to check the response of processXCCDF if given an improper file input
  • Throw an error in processXCCDF if given an improper file input
    Check if this is an issue
  • Once package is created and imported into SAF CLI the tsconfig.json manifest this error:
    • No inputs were found in config file 'path_to_app/saf/node_modules/@mitre/inspec-objects/tsconfig.json'. Specified 'include' paths were '["index.ts","src/**/*","types/*"]' and 'exclude' paths were '["lib"]'

Test Methodology
1 add step to verify JSON and XML files against schemas ( current PR )

Check if this is an issue

  • Once package is created and imported into SAF CLI the tsconfig.json manifest this error:
    • No inputs were found in config file 'path_to_app/saf/node_modules/@mitre/inspec-objects/tsconfig.json'. Specified 'include' paths were '["index.ts","src/**/*","types/*"]' and 'exclude' paths were '["lib"]'

Emily Rodriguez added 2 commits December 29, 2022 10:55
Signed-off-by: Emily Rodriguez <ecrodriguez@mm279976-pc.lan>
Signed-off-by: Emily Rodriguez <ecrodriguez@mm279976-pc.lan>
@georgedias georgedias linked an issue Jan 3, 2023 that may be closed by this pull request
Emily Rodriguez and others added 2 commits January 18, 2023 13:25
Signed-off-by: Emily Rodriguez <ecrodriguez@mm279976-pc.lan>
@georgedias georgedias merged commit ddab88e into main Mar 31, 2023
@em-c-rod em-c-rod deleted the errorChecking branch March 31, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XCCDF XML Validation via XSD

2 participants