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

ConvertTo-ManualCheckListHashTable function call is missing mandatory argument #823

Closed
darkshadow75 opened this issue Jan 15, 2021 · 2 comments
Assignees

Comments

@darkshadow75
Copy link

When generating a checklist from PowerSTIG with -ManualChecklistEntries it prompts the user for the XccdfPath value:

New-StigCheckList -DscResults $DscResults -XccdfPath $XccdfPath -OutputPath $outputPath -ManualChecklistEntries $ManualChecklistEntriesFile

cmdlet ConvertTo-ManualCheckListHashTable at command pipeline position 1
Supply values for the following parameters:
XccdfPath[0]:

I have found that the call to the ConvertTo-ManualCheckListHashTable function in the below script (linked) is missing the mandatory argument, -XccdfPath, required by the function.

$manualCheckData = ConvertTo-ManualCheckListHashTable -Path $ManualChecklistEntriesFile

@bcwilhite bcwilhite self-assigned this Jan 22, 2021
@bcwilhite
Copy link
Contributor

Thanks @darkshadow75 It appears we had a bit of a regression issue, this was fixed in 4.5.1, but missed in the 4.6.0/4.7.0 releases. I've created a PR and will merge once testing is complete and perform a release of 4.7.1.

@bcwilhite
Copy link
Contributor

@darkshadow75 Have a look at 4.7.1, it's updated in the gallery. Thanks for raising the issue.

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

2 participants