Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error checking #13

Merged
merged 4 commits into from
Mar 31, 2023
Merged

Error checking #13

merged 4 commits into from
Mar 31, 2023

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 <[email protected]>
@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
@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