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

Change desc to skip #63

Open
17 tasks
karikarshivani opened this issue Jun 26, 2023 · 0 comments
Open
17 tasks

Change desc to skip #63

karikarshivani opened this issue Jun 26, 2023 · 0 comments

Comments

@karikarshivani
Copy link
Contributor

Using desc in the InSpec logic overrides the description of the STIG rule. To avoid that, change code from:

impact 0.0
desc 'This control is not applicable'

to:

impact 0.0
describe 'This control is not applicable' do
  skip 'This control is not applicable'
end

Controls found with desc:

  • V-73237
  • V-73267
  • V-73289
  • V-73299
  • V-73377
  • V-73495
  • V-73541
  • V-73651
  • V-73677
  • V-73707
  • V-73709
  • V-73711
  • V-73713
  • V-73715
  • V-73717
  • V-73719
  • V-73721
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