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

Add a param to pass a custom rule file path to the STIG constructor #1363

Open
ghost opened this issue Jul 9, 2024 · 0 comments
Open

Add a param to pass a custom rule file path to the STIG constructor #1363

ghost opened this issue Jul 9, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 9, 2024

There seems to be no way to pass a custom rule file path to the STIG constructor, as the data path is hardcoded:

static $DataPath = (Resolve-Path -Path "$($script:PSScriptRoot)\..\..\StigData\Processed").Path

It would be more convenient from debugging/testing perspective to add a RuleFile param to the STIG constructor.

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

0 participants