Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Added conversion to array when string is detected on cci in csv2inspec - #241

Merged
Bialogs merged 2 commits into
mitre:masterfrom
rscrappy:master
Aug 9, 2021
Merged

Bialogs merged 2 commits into
mitre:masterfrom
rscrappy:master

Conversation

@rscrappy

@rscrappy rscrappy commented Aug 4, 2021

Copy link
Copy Markdown
Contributor

I used the examples to test the csv2inspec, and noticed that all of the ccis existed as a string.

Fix:
Added a case for if the cci was a string, in which it would convert it into an array.

@rscrappy

rscrappy commented Aug 4, 2021

Copy link
Copy Markdown
Contributor Author

I am having issues signing at the moment, will have it signed and ready to go by tomorrow

@Bialogs

Bialogs commented Aug 5, 2021

Copy link
Copy Markdown
Contributor

I am having issues signing at the moment, will have it signed and ready to go by tomorrow

If you continue to have problems with the DCO don't worry about it because I can bypass it on my end.

Comment thread lib/inspec_tools/csv.rb Resolved
Changed to detect if it is an array, rather than checking if it is a string.
@Bialogs
Bialogs merged commit 3cd5ad4 into mitre:master Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants