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

inspec check does not run correctly with overlays in 6.6.0 #6971

Open
rlakey opened this issue Feb 6, 2024 · 0 comments
Open

inspec check does not run correctly with overlays in 6.6.0 #6971

rlakey opened this issue Feb 6, 2024 · 0 comments

Comments

@rlakey
Copy link

rlakey commented Feb 6, 2024

When running inspec check on version 6.6.0 on an overlay profile containing only dependent profiles the check does not run for any dependent profiles and reports ! No controls or tests were defined.

Should run like this as in previous versions

inspec check .

Location :   .
Profile :    vmware-vcsa-8.0-stig-baseline
Controls :   318
Timestamp :  2024-02-06T13:59:38-07:00
Valid :      true

No errors, warnings, or offenses

This is returned instead.

inspec check .

W, [2024-02-06T14:00:11.521210 #4460]  WARN -- : No controls or tests were defined.
Location :   .
Profile :    vmware-vcsa-8.0-stig-baseline
Controls :   0
Timestamp :  2024-02-06T14:00:11-07:00
Valid :      true

 !  No controls or tests were defined.

Summary:     0 errors, 1 warnings, 0 offenses

Running the same command from the dependent profile directory works as well.

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

1 participant