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

Unable to import OSCAL components #1731

Open
cemasirt opened this issue Oct 21, 2021 · 3 comments
Open

Unable to import OSCAL components #1731

cemasirt opened this issue Oct 21, 2021 · 3 comments

Comments

@cemasirt
Copy link

Describe the bug as a Story
I'm on version v0.9.11.2 and cannot import component definitions I've got from other places

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/GovReady/components-stig and download "components_govready_demo_01\splunk-demo.json"
  2. Click on "Component Library>Import OSCAL Component"
  3. Select and import the downloaded json at step 2.
  4. See error
    IMPORT HALTED. Invalid Component JSON: 1 validation error for ComponentDefinition components value is not a valid list (type=type_error.list)

Expected behavior
Component to be loaded into component list

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome 94.0.4606.81

Developer hints

Another resource with import issue.
https://github.com/GovReady/oscal-lifecycle-examples/blob/main/component/govready-ssp-oscal-cmpt-ubuntu-16.04-lts-stig-inpsec-profile.json

@gregelin
Copy link
Contributor

gregelin commented Nov 8, 2021

@cemasirt We'll try to replicate from links you described. I suspect the component-stigs need to be updated to OSCAL 1.0

@rylew1
Copy link

rylew1 commented Sep 9, 2022

@gregelin Were you ever able to look at this?

@gregelin
Copy link
Contributor

@rylew1 We spent last upgrading OSCAL. Will provide another update early this week!

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

No branches or pull requests

3 participants