-
Notifications
You must be signed in to change notification settings - Fork 682
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
CFINSPEC-374 DSL keyword only_applicable_if
added
#6229
Conversation
Signed-off-by: Nikita Mathur <[email protected]>
Signed-off-by: Nikita Mathur <[email protected]>
…nd for keeping impact zero intact Signed-off-by: Nikita Mathur <[email protected]>
✅ Deploy Preview for chef-inspec canceled.
|
only_applicable_if
addedonly_applicable_if
added
only_applicable_if
addedonly_applicable_if
added
Signed-off-by: Nikita Mathur <[email protected]>
2cf1cd2
to
5d0f4cc
Compare
Signed-off-by: Deepa Kumaraswamy <[email protected]>
Signed-off-by: Nikita Mathur <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -1347,12 +1347,12 @@ def stderr | |||
|
|||
it "should show enhanced_outcomes for controls with impact 0" do | |||
_(run_result.stdout).must_include "5 skipped" | |||
_(run_result.stdout).must_include "3 controls not applicable" | |||
_(run_result.stdout).must_include "4 controls not applicable" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While going through the test I felt that we could have added enhanced outcomes and attestation tests in different files as we did for the streaming progress bar test, as this inspec exec test file is getting bigger and bigger. This is not something as a blocker for this PR just a suggestion.
@Nik08 Verify pipeline is failing. |
Signed-off-by: Nikita Mathur <[email protected]>
* Sync up the default branch as main (#6239) Signed-off-by: Takuya Noguchi <[email protected]> Signed-off-by: Takuya Noguchi <[email protected]> * Bump version to 5.20.2 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * resolves #6042 (#6043) Signed-off-by: Marijus Ravickas <[email protected]> Signed-off-by: Marijus Ravickas <[email protected]> * Enhance `lxc` resource to test properties (#6243) * ENHANCE: Extend lxc resource to test the properties Signed-off-by: Sonu Saha <[email protected]> * TEST: Extend test for introduced properties Signed-off-by: Sonu Saha <[email protected]> * DOCS: Extend test for introduced properties Signed-off-by: Sonu Saha <[email protected]> * FIX: Correct exception class to handle bad yaml Signed-off-by: Sonu Saha <[email protected]> * Doc Review Signed-off-by: Deepa Kumaraswamy <[email protected]> * FIX: Handle specific exception to handle bad yaml Signed-off-by: Sonu Saha <[email protected]> Signed-off-by: Sonu Saha <[email protected]> Signed-off-by: Deepa Kumaraswamy <[email protected]> Co-authored-by: Deepa Kumaraswamy <[email protected]> * Bump version to 5.20.3 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-462: Fixes inspec sign breaks when there is period or dot in the profile name (#6261) Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.20.4 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-374 DSL keyword `only_applicable_if` added (#6229) * Not applicable if logic addition Signed-off-by: Nikita Mathur <[email protected]> * Changes from not applicable if to only applicable if Signed-off-by: Nikita Mathur <[email protected]> * Fix to enable placing only_applicable_if at any position in control and for keeping impact zero intact Signed-off-by: Nikita Mathur <[email protected]> * Doc change added for only_applicable_if Signed-off-by: Nikita Mathur <[email protected]> * Doc Review Signed-off-by: Deepa Kumaraswamy <[email protected]> * Added generic examples that supports cross platform for testing Signed-off-by: Nikita Mathur <[email protected]> * Yet another build fix due to changes in test Signed-off-by: Nikita Mathur <[email protected]> Signed-off-by: Nikita Mathur <[email protected]> Signed-off-by: Deepa Kumaraswamy <[email protected]> Co-authored-by: Deepa Kumaraswamy <[email protected]> * Bump version to 5.21.0 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-458 Oracle DB session resource compatibility with AIX-C shell (#6257) * Oracle DB session resource compatibility with AIX-Cshell Signed-off-by: Nikita Mathur <[email protected]> * Fixes in oracledb session unit test using oracle_query_string Signed-off-by: Nikita Mathur <[email protected]> Signed-off-by: Nikita Mathur <[email protected]> * Bump version to 5.21.1 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Replace faraday_middleware with faraday-follow_redirects (#6238) faraday_middleware was already DEPRECATED in 2022-01. Only FaradayMiddleware::FollowRedirects from faraday_middleware has been used, and so we can replace it with faraday-follow_redirects. faraday-follow_redirects 0.3.0 requires faraday ~> 1.0, which is as same as "faraday_middleware 1.0.0 or higher. Signed-off-by: Takuya Noguchi <[email protected]> Signed-off-by: Takuya Noguchi <[email protected]> * Bump version to 5.21.2 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Update Faraday gem (#6267) Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.3 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump test-kitchen from 3.3.1 to 3.3.2 in /omnibus (#6227) Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 3.3.1 to 3.3.2. - [Release notes](https://github.com/test-kitchen/test-kitchen/releases) - [Changelog](https://github.com/test-kitchen/test-kitchen/blob/main/CHANGELOG.md) - [Commits](https://github.com/test-kitchen/test-kitchen/commits) --- updated-dependencies: - dependency-name: test-kitchen dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.21.4 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump omnibus-software from `1d540dc` to `7d0e0fe` in /omnibus (#6274) Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `1d540dc` to `7d0e0fe`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](chef/omnibus-software@1d540dc...7d0e0fe) --- updated-dependencies: - dependency-name: omnibus-software dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.21.5 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Fix for omnibus build failure on Windows (#6289) Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.6 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * RESOURCE-527 Add an inspec init template for alicloud (#6304) * adding the alicloud in the spec.files Signed-off-by: Soumyodeep Karmakar <[email protected]> * adding the test for generating inspec profile alicloud Signed-off-by: Soumyodeep Karmakar <[email protected]> * adding the alicloud profile Signed-off-by: Soumyodeep Karmakar <[email protected]> * fix lint error Signed-off-by: Soumyodeep Karmakar <[email protected]> Signed-off-by: Soumyodeep Karmakar <[email protected]> * Bump version to 5.21.7 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Fix Ruby 2.7 Bundle Installs on CI Verify Pipeline (#6324) * We will never be on 2.6 again Signed-off-by: Clinton Wolfe <[email protected]> * Only run html-proofer test on Ruby 3 Signed-off-by: Clinton Wolfe <[email protected]> * Pin to chef 16 on ruby 2.7, 17+ on Ruby 3 Signed-off-by: Clinton Wolfe <[email protected]> Signed-off-by: Clinton Wolfe <[email protected]> * Bump version to 5.21.8 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-493 update signing_identity (#6298) * update signing_identity Signed-off-by: Sathish <[email protected]> * pin chef to older version for ruby version lesser than 3.0 Signed-off-by: Sathish <[email protected]> Signed-off-by: Sathish <[email protected]> Co-authored-by: Clinton Wolfe <[email protected]> * Bump version to 5.21.9 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Cfinspec 488 fix nokigiri omnibus (#6305) * update signing_identity Signed-off-by: Sathish <[email protected]> * pin chef 17.0 to ruby 2.7 Signed-off-by: Sathish <[email protected]> * add nokogiri as dependency Signed-off-by: Sathish <[email protected]> * pin chef to older version for ruby version lesser than 3.0 Signed-off-by: Sathish <[email protected]> * Linting Signed-off-by: Clinton Wolfe <[email protected]> Signed-off-by: Sathish <[email protected]> Signed-off-by: Clinton Wolfe <[email protected]> Co-authored-by: Clinton Wolfe <[email protected]> * Bump version to 5.21.10 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Remove Windows 3.0 testing. Chef 18 was never released for Ruby 3.0, only 3.1 (#6330) Signed-off-by: Clinton Wolfe <[email protected]> Signed-off-by: Clinton Wolfe <[email protected]> * Bump version to 5.21.11 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Prevent negative status from crashing launchd service resource (#6262) Signed-off-by: dtheyer <[email protected]> Signed-off-by: dtheyer <[email protected]> * Bump version to 5.21.12 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Update chefstyle from 2.0.x to 2.2.2 to use RuboCop 1.25.1 (#6240) Signed-off-by: Takuya Noguchi <[email protected]> Signed-off-by: Takuya Noguchi <[email protected]> * Bump version to 5.21.13 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Update readme for usage via Docker (CFINSPEC-516) (#6329) * DOCS: Update readme for usage via Docker (CFINSPEC-516) Signed-off-by: Sonu Saha <[email protected]> * DOCS: Explain updated readme (CFINSPEC-516) Signed-off-by: Sonu Saha <[email protected]> Signed-off-by: Sonu Saha <[email protected]> * Bump version to 5.21.14 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-393 - Fix for custom plugin loading issue when gemspec file is invalid and unable to load the lib path. (#6334) Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.15 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-517: Fix for habitat buld failure (#6340) * Fix for habitat buld failure - Git load issue Signed-off-by: Vasu1105 <[email protected]> * Updating ruby installer version to 3.2.1 Signed-off-by: Vasu1105 <[email protected]> * Revert "Updating ruby installer version to 3.2.1" This reverts commit 53bae0f. * Checking removing the lines which are not needed. Signed-off-by: Vasu1105 <[email protected]> * Revert "Checking removing the lines which are not needed." This reverts commit b5561ab. Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.16 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Upgraded mock ubuntu test from 20.04 to 22.04 (#6351) Signed-off-by: Nikita Mathur <[email protected]> Signed-off-by: Nikita Mathur <[email protected]> * Fixing typo in user_permissions (#6344) * Fixing typo in user_permissions Signed-off-by: Magruder, Micah <[email protected]> * Corrected spacing Signed-off-by: Magruder, Micah <[email protected]> Signed-off-by: Magruder, Micah <[email protected]> * Bump version to 5.21.17 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Fix env smoke test by updating ERB.new in `inspec env`; add additional test (#6342) * Failing test for Ruby 3.1 - ERB.new call options changed Signed-off-by: Clinton Wolfe <[email protected]> * Fix for Ruby 3.1 by using named params to ERB.new Signed-off-by: Clinton Wolfe <[email protected]> * Restrict test to non-windows systems Signed-off-by: Clinton Wolfe <[email protected]> * Restrict test to non-windows systems Signed-off-by: Clinton Wolfe <[email protected]> Signed-off-by: Clinton Wolfe <[email protected]> * CFINSPEC-533: Fix undefined method 'summary' for Gem::SourceFetchProblem (NoMethodError) when airgapped (#6337) * This fixes the undefined method 'summary' for #<Gem::SourceFetchProblem:0x000000000139dc70> (NoMethodError) while invoking any inspec command if the custom plugin is installed and if inspec commands are run in an air gap environment. This fix removes an earlier call for getting gem specification from rubygems.org which is the cause for above error and replaces it with fetching the summary from a locally saved gemspec file. This will work in both airgap and non-airgap environments. Signed-off-by: Vasu1105 <[email protected]> * Adds test for reading description from local gemspec file. Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.18 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Fix omnibus build which is picking ruby 2.7.4 which has vulnerability (#6341) Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> Co-authored-by: Vasu1105 <[email protected]> * Bump version to 5.21.19 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump version to 5.21.20 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Update CHANGELOG.md with details from pull request #6341 Obvious fix; these changes are the result of automation not creative thinking. * Revert "CFINSPEC-240 Extended file format support for waivers (#6193)" (#6366) This reverts commit b7ddac9. * Bump version to 5.21.21 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Revert the nokogiri dependency from omnibus project configuration (#6372) Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.22 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-553: Fix failing verify pipeline builds on ruby 3.0 (#6378) * bundle install without kitchen group from Gemfile as verify pipeline is breaking for ruby 3.0 as Chef 18 requires to be work with ruby 3.1. In future we will be removing the support for ruby 3.0 as Chef 18 never released with ruby 3.0 Signed-off-by: Vasu1105 <[email protected]> * Removes all excluded groups from the bundle config set which was removed from the Gemfile. Signed-off-by: Vasu1105 <[email protected]> * Exclude the gem dependencies for kitchen for omnibus builds Signed-off-by: Vasu1105 <[email protected]> * Exclude the kitchen dependencies on windows platform too Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.23 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Ruby 3.1 support: Adds ucrt platform to resolve windows omnibus build. (#6381) * Adds the ucrt platform support for Windows Signed-off-by: Vasu1105 <[email protected]> * Adds the environment variable to ignore artifactory proxy as some gem are getting 500 error when tries to download from artifactory Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.24 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-240 Extended file format support for waivers: JSON & CSV (#6369) * Revert "Revert "CFINSPEC-240 Extended file format support for waivers (#6193)" (#6366)" This reverts commit 30146e0. * Waiver support for csv and json Signed-off-by: Nikita Mathur <[email protected]> * Removed the word excel from image tag Signed-off-by: Nikita Mathur <[email protected]> * Update waivers.md Signed-off-by: Ian Maddaus <[email protected]> Signed-off-by: Nikita Mathur <[email protected]> Signed-off-by: Ian Maddaus <[email protected]> Co-authored-by: Ian Maddaus <[email protected]> * Bump version to 5.21.25 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-542 Bug fix for profiles with dependent profiles (#6377) * Matching semver using regex to determine profile name without version in dsl logic Signed-off-by: Nikita Mathur <[email protected]> * Testing for selecting control using version in require control dsl Signed-off-by: Nikita Mathur <[email protected]> * Documentation for using version with profile name when including or selecting controls in a profile Signed-off-by: Nikita Mathur <[email protected]> * Commenting in dsl library about logic for fetching version and matching it Signed-off-by: Nikita Mathur <[email protected]> * Comment for regex used to fetch version Signed-off-by: Nikita Mathur <[email protected]> * Minor improvement for regex variable placement Signed-off-by: Nikita Mathur <[email protected]> Signed-off-by: Nikita Mathur <[email protected]> * Bump version to 5.21.26 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump version of omnibus-software (#6385) Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.27 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Add ruby-msys2-devkit as dependency and check (#6391) Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Vasu1105 <[email protected]> * adding new private verify, as this will kick off the expeditor bump version (#6397) Signed-off-by: Sean Simmons <[email protected]> Signed-off-by: Sean Simmons <[email protected]> * Bump version to 5.21.28 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Update copyright year in README (#6395) Signed-off-by: Clinton Wolfe <[email protected]> Signed-off-by: Clinton Wolfe <[email protected]> * Bump version to 5.21.29 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Executed '.expeditor/update_dockerfile.sh' Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-522: Remove rake tasks which are no longer used (#6367) * CLEAN-UP: Remove unused rake tasks missing, kitchen and version tasks are not used Signed-off-by: Sonu Saha <[email protected]> * CLEAN-UP: Remove functional rake test test:default covers both unit and functional tests default was introduced to cover both functional and unit in PR #4102 Signed-off-by: Sonu Saha <[email protected]> * CLEAN-UP: Remove unused docs related tasks Signed-off-by: Sonu Saha <[email protected]> * CLEAN-UP: Remove tasks/* from expeditor config Signed-off-by: Sonu Saha <[email protected]> * REVERT: Undo deletion of functional test Signed-off-by: Sonu Saha <[email protected]> * RECOVER: Retain docs:cli task Signed-off-by: Sonu Saha <[email protected]> * UNDO: Revert changes to config Signed-off-by: Sonu Saha <[email protected]> * CHORE: Add reference to this PR in note for future use Signed-off-by: Sonu Saha <[email protected]> --------- Signed-off-by: Sonu Saha <[email protected]> * RAKE TEST: Fix rake task for docs:cli Signed-off-by: Sonu Saha <[email protected]> * DOCS: Generate cli.md with rake docs:cli Signed-off-by: Sonu Saha <[email protected]> * Remove unused require Signed-off-by: Sonu Saha <[email protected]> * FORMAT: Use html dl, dt, dd tags for displaying subcommands Signed-off-by: Sonu Saha <[email protected]> * REFACTOR: Remove repetitive dl closing for subcommands of single command Signed-off-by: Sonu Saha <[email protected]> * Bump version to 5.21.30 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-573: Fix for mongo_session resources prints debug level of information in output of the run result. (#6401) Signed-off-by: Vasu1105 <[email protected]> * Updates release process docs as per current changes (#6398) Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.31 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump version to 5.21.32 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-576 : Fix profile gem dependency loading issue when dependent gem is required inside profile libraries. (#6408) * Test profile consist of custom resource which has a gem dependency Signed-off-by: Vasu1105 <[email protected]> * CFINSPEC-576 Fix for profile gem depedency loading issue if depedent gem is required in libraries files of the profile Signed-off-by: Vasu1105 <[email protected]> * Fix windows test failure for profile gem dependency Signed-off-by: Vasu1105 <[email protected]> --------- Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.33 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-580 Dependent profiles fix for any scheme of version used in profiles (#6410) * Dependent profiles fix for any scheme of version used in profiles Signed-off-by: Nikita Mathur <[email protected]> * Dependent profile fix when version is blank in dependent profiles Signed-off-by: Nikita Mathur <[email protected]> --------- Signed-off-by: Nikita Mathur <[email protected]> * Bump version to 5.21.34 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Formatting fixes for podman docs (#6386) * Formatting fixes for podman docs Signed-off-by: Ian Maddaus <[email protected]> * Minor fix Signed-off-by: Ian Maddaus <[email protected]> * Update docs-chef-io/content/inspec/resources/podman.md Signed-off-by: Ian Maddaus <[email protected]> Co-authored-by: Vasundhara Jagdale <[email protected]> * Update docs-chef-io/content/inspec/resources/podman.md Signed-off-by: Ian Maddaus <[email protected]> Co-authored-by: Vasundhara Jagdale <[email protected]> --------- Signed-off-by: Ian Maddaus <[email protected]> Co-authored-by: Vasundhara Jagdale <[email protected]> * Bump version to 5.21.35 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CFINSPEC-550 Add RHEL9 to build matrix (#6403) Signed-off-by: Vasu1105 <[email protected]> * Bump omnibus-software from `6a13693` to `225e357` in /omnibus (#6442) Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `6a13693` to `225e357`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](chef/omnibus-software@6a13693...225e357) --- updated-dependencies: - dependency-name: omnibus-software dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.21.36 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump omnibus from `c66e97c` to `cf97613` in /omnibus (#6423) Bumps [omnibus](https://github.com/chef/omnibus) from `c66e97c` to `cf97613`. - [Release notes](https://github.com/chef/omnibus/releases) - [Commits](chef/omnibus@c66e97c...cf97613) --- updated-dependencies: - dependency-name: omnibus dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.21.37 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump kitchen-vagrant from 1.12.1 to 1.14.1 in /omnibus (#6427) Bumps [kitchen-vagrant](https://github.com/opscode/kitchen-vagrant) from 1.12.1 to 1.14.1. - [Release notes](https://github.com/opscode/kitchen-vagrant/releases) - [Changelog](https://github.com/test-kitchen/kitchen-vagrant/blob/main/CHANGELOG.md) - [Commits](test-kitchen/kitchen-vagrant@v1.12.1...v1.14.1) --- updated-dependencies: - dependency-name: kitchen-vagrant dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.21.38 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump test-kitchen from 3.3.2 to 3.5.0 in /omnibus (#6360) Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 3.3.2 to 3.5.0. - [Release notes](https://github.com/test-kitchen/test-kitchen/releases) - [Changelog](https://github.com/test-kitchen/test-kitchen/blob/main/CHANGELOG.md) - [Commits](https://github.com/test-kitchen/test-kitchen/commits/v3.5.0) --- updated-dependencies: - dependency-name: test-kitchen dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.21.39 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump rack from 2.2.4 to 2.2.6.2 in /omnibus (#6388) Bumps [rack](https://github.com/rack/rack) from 2.2.4 to 2.2.6.2. - [Release notes](https://github.com/rack/rack/releases) - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md) - [Commits](rack/rack@2.2.4...v2.2.6.2) --- updated-dependencies: - dependency-name: rack dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.21.40 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Revert "adding new private verify, as this will kick off the expeditor bump version (#6397)" (#6479) This reverts commit 227b0f2. * Bump version to 5.21.41 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CHEF-1458 Multiple values changes in SimpleConfig library (#6489) * Simple config changes to return array of values with multiple values opt Signed-off-by: Nikita Mathur <[email protected]> * New option added to split multiple values with a delimiter regex Signed-off-by: Nikita Mathur <[email protected]> --------- Signed-off-by: Nikita Mathur <[email protected]> * Bump version to 5.21.42 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Adds configuration required for sonarqube integration. (#6480) Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.21.43 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Add nftables resources (#6499) * Fix systemd path for Leap image Signed-off-by: Jeremy JACQUE <[email protected]> * Use vhef client version 17 as doocker cookbook do not support >= 18 Signed-off-by: Jeremy JACQUE <[email protected]> * Add nftables resource Signed-off-by: Jeremy JACQUE <[email protected]> * Add nftables tests Signed-off-by: Jeremy JACQUE <[email protected]> * Add fixtures for nftables tests Signed-off-by: Jeremy JACQUE <[email protected]> * enable nftables only when attr is true - then disable iptables Signed-off-by: Jeremy JACQUE <[email protected]> * By default test iptables, not nftables Signed-off-by: Jeremy JACQUE <[email protected]> * Fix tests and lint errors Signed-off-by: Jeremy JACQUE <[email protected]> * Increase unit test coverage for nftables Signed-off-by: Jeremy JACQUE <[email protected]> * Do not use -nn nft option as behaviour changes based on nft version Signed-off-by: Jeremy JACQUE <[email protected]> * Base nft params identification on its version, not os version Signed-off-by: Jeremy JACQUE <[email protected]> * Make test more human friendly by reversing unless/if logic Signed-off-by: Jeremy JACQUE <[email protected]> * Update mocked cmds with nft params Signed-off-by: Jeremy JACQUE <[email protected]> * Fix quoting issue with rubocop Signed-off-by: Jeremy JACQUE <[email protected]> * Fix uninitiallized class vars Signed-off-by: Jeremy JACQUE <[email protected]> * Fix unit test by adding nft version mocking Signed-off-by: Jeremy JACQUE <[email protected]> * Clean nftables doc Signed-off-by: Jeremy JACQUE <[email protected]> --------- Signed-off-by: Jeremy JACQUE <[email protected]> * Bump version to 5.21.44 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Clarify key_rsa docs regarding SSH keys (#6507) * Clarify that an RSA resource can only work on RSA keypairs Signed-off-by: Clinton Wolfe <[email protected]> * Update docs-chef-io/content/inspec/resources/key_rsa.md Signed-off-by: Clinton Wolfe <[email protected]> Co-authored-by: Ian Maddaus <[email protected]> --------- Signed-off-by: Clinton Wolfe <[email protected]> Co-authored-by: Ian Maddaus <[email protected]> * CHEF-2438 Add train-kubernetes to inspec gemspec (#6512) * Add train-kubernetes to inspec gemspec, fix spacing Signed-off-by: Clinton Wolfe <[email protected]> * Fix failing test to detect system plugins Signed-off-by: Vasu1105 <[email protected]> --------- Signed-off-by: Clinton Wolfe <[email protected]> Signed-off-by: Vasu1105 <[email protected]> Co-authored-by: Vasu1105 <[email protected]> * Bump version to 5.22.0 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump omnibus from `cf97613` to `ae855f3` in /omnibus (#6515) Bumps [omnibus](https://github.com/chef/omnibus) from `cf97613` to `ae855f3`. - [Release notes](https://github.com/chef/omnibus/releases) - [Commits](chef/omnibus@cf97613...ae855f3) --- updated-dependencies: - dependency-name: omnibus dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump rack from 2.2.6.2 to 2.2.6.4 in /omnibus (#6490) Bumps [rack](https://github.com/rack/rack) from 2.2.6.2 to 2.2.6.4. - [Release notes](https://github.com/rack/rack/releases) - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md) - [Commits](rack/rack@v2.2.6.2...v2.2.6.4) --- updated-dependencies: - dependency-name: rack dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.22.1 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump omnibus-software from `225e357` to `f06bbea` in /omnibus (#6508) Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `225e357` to `f06bbea`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](chef/omnibus-software@225e357...f06bbea) --- updated-dependencies: - dependency-name: omnibus-software dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: ensure Invoke-WebRequest headers can be configured (#6484) * fix: ensure Invoke-WebRequest headers can be configured Signed-off-by: Adrian Mlodzianowski <[email protected]> * fix: use array for custom headers Signed-off-by: Adrian Mlodzianowski <[email protected]> * test: add unit test for Windows simple HTTP request with headers Signed-off-by: Adrian Mlodzianowski <[email protected]> --------- Signed-off-by: Adrian Mlodzianowski <[email protected]> Co-authored-by: Adrian Mlodzianowski <[email protected]> * Bump version to 5.22.2 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * For #6493 : Add postgres_session support for custom port with a socket connection (#6494) * Add support for custom port with a socket connection Signed-off-by: Pg <[email protected]> * Add tests for the postgres_session with custom port Signed-off-by: Pg <[email protected]> --------- Signed-off-by: Pg <[email protected]> * Bump version to 5.22.3 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Update host resource to resolve all ipaddresses (#6481) Signed-off-by: Alan Foster <[email protected]> * CHEF-1631 Clarify that command timeout default was withdrawn (#6511) * Clarify that command timeout default was withdrawn Signed-off-by: Clinton Wolfe <[email protected]> * Delete reference to timeout default entirely. Signed-off-by: Clinton Wolfe <[email protected]> Co-authored-by: Ian Maddaus <[email protected]> --------- Signed-off-by: Clinton Wolfe <[email protected]> Co-authored-by: Ian Maddaus <[email protected]> * Bump version to 5.22.4 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Executed '.expeditor/update_dockerfile.sh' Obvious fix; these changes are the result of automation not creative thinking. * Update rspec to 3.12 (#6523) Update RSpec dependency. There are some fixes and no breaking changes in 3.12 Signed-off-by: Phil Pirozhkov <[email protected]> * Bump version to 5.22.5 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Update Docker base image to be ubuntu 22.04 (#6526) Signed-off-by: Clinton Wolfe <[email protected]> * Update CHANGELOG.md with details from pull request #6526 Obvious fix; these changes are the result of automation not creative thinking. * SUPPORT: Update dockerfile for m1 support (#6541) Signed-off-by: Sonu Saha <[email protected]> * Update CHANGELOG.md with details from pull request #6541 Obvious fix; these changes are the result of automation not creative thinking. * Bump omnibus from `ae855f3` to `9c0643a` in /omnibus (#6543) Bumps [omnibus](https://github.com/chef/omnibus) from `ae855f3` to `9c0643a`. - [Release notes](https://github.com/chef/omnibus/releases) - [Commits](chef/omnibus@ae855f3...9c0643a) --- updated-dependencies: - dependency-name: omnibus dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.22.6 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump berkshelf from 8.0.2 to 8.0.7 in /omnibus (#6530) Bumps [berkshelf](https://github.com/chef/berkshelf) from 8.0.2 to 8.0.7. - [Changelog](https://github.com/chef/berkshelf/blob/main/CHANGELOG.md) - [Commits](chef/berkshelf@v8.0.2...v8.0.7) --- updated-dependencies: - dependency-name: berkshelf dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.22.7 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Bump omnibus-software from `f06bbea` to `4b08f0b` in /omnibus (#6548) Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `f06bbea` to `4b08f0b`. - [Commits](chef/omnibus-software@f06bbea...4b08f0b) --- updated-dependencies: - dependency-name: omnibus-software dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump version to 5.22.8 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * YAML reporter test fix (#6563) * Fix for yaml reporter data, not matching empty values with spaces Signed-off-by: Nikita Mathur <[email protected]> * Additional comment to document affecting fields Signed-off-by: Nikita Mathur <[email protected]> --------- Signed-off-by: Nikita Mathur <[email protected]> * Bump version to 5.22.9 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * Add inspec-6 branch to Dependabot monitoring. This change must be made on main for Dependabot to pick it up. (#6569) Signed-off-by: Clinton Wolfe <[email protected]> * Update CHANGELOG.md with details from pull request #6569 Obvious fix; these changes are the result of automation not creative thinking. * CHEF-4115 Added ability to merge reporter configurations from both CLI and config (#6568) * Added ability to merge cli and config reporter options Signed-off-by: Nikita Mathur <[email protected]> * Test cases to validate working of reporter configuration using cli and config Signed-off-by: Nikita Mathur <[email protected]> * Documentation change to add information on reporter configurations usage with both Signed-off-by: Nikita Mathur <[email protected]> * Added Doc review changes and text fixture for config json Signed-off-by: Nikita Mathur <[email protected]> * Verify fix Signed-off-by: Nikita Mathur <[email protected]> * Verify pipeline test fixes for reporter options to be read successfully Signed-off-by: Nikita Mathur <[email protected]> * Test changes in both cli and config reporter usage scenarios to fix verify pipeline Signed-off-by: Nikita Mathur <[email protected]> * Review comments to improvise Signed-off-by: Nikita Mathur <[email protected]> * Renamed testing fixture file for reporter cli config file Signed-off-by: Nikita Mathur <[email protected]> --------- Signed-off-by: Nikita Mathur <[email protected]> * Bump version to 5.22.10 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * EULA: Update installer license text (#6582) Signed-off-by: Sonu Saha <[email protected]> * Bump version to 5.22.11 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * CHEF-5200 Waived controls are not getting waived (skipped) in case of failure at resource level. (#6588) * CHEF-5200: This fix applies waiver if exception occurs while eval the control inside control block. This ensures that waiver are got applied in case of resouce level failures too. Signed-off-by: Vasu1105 <[email protected]> * When waiver file is empty error should be raised the written is invalid for the empty waiver file. Added different test to check only_if waiver is applied when the waived control in the waived file has expired. Signed-off-by: Vasu1105 <[email protected]> * Fix lint Signed-off-by: Vasu1105 <[email protected]> * Fix test failing on windows due to different exit code on the Windows. Signed-off-by: Vasu1105 <[email protected]> --------- Signed-off-by: Vasu1105 <[email protected]> * Bump version to 5.22.12 by Chef Expeditor Obvious fix; these changes are the result of automation not creative thinking. * remove kitchen group * keep waiver refactoring for inspec-6 Signed-off-by: Sathish <[email protected]> --------- Signed-off-by: Takuya Noguchi <[email protected]> Signed-off-by: Marijus Ravickas <[email protected]> Signed-off-by: Sonu Saha <[email protected]> Signed-off-by: Deepa Kumaraswamy <[email protected]> Signed-off-by: Vasu1105 <[email protected]> Signed-off-by: Nikita Mathur <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Soumyodeep Karmakar <[email protected]> Signed-off-by: Clinton Wolfe <[email protected]> Signed-off-by: Sathish <[email protected]> Signed-off-by: dtheyer <[email protected]> Signed-off-by: Magruder, Micah <[email protected]> Signed-off-by: Ian Maddaus <[email protected]> Signed-off-by: Sean Simmons <[email protected]> Signed-off-by: Jeremy JACQUE <[email protected]> Signed-off-by: Adrian Mlodzianowski <[email protected]> Signed-off-by: Pg <[email protected]> Signed-off-by: Alan Foster <[email protected]> Signed-off-by: Phil Pirozhkov <[email protected]> Co-authored-by: Takuya N <[email protected]> Co-authored-by: Chef Expeditor <[email protected]> Co-authored-by: Marijus Ravickas <[email protected]> Co-authored-by: Sonu Saha <[email protected]> Co-authored-by: Deepa Kumaraswamy <[email protected]> Co-authored-by: Vasundhara Jagdale <[email protected]> Co-authored-by: Nikita Mathur <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Soumyodeep Karmakar <[email protected]> Co-authored-by: Clinton Wolfe <[email protected]> Co-authored-by: dtheyer <[email protected]> Co-authored-by: Micah Magruder <[email protected]> Co-authored-by: Ian Maddaus <[email protected]> Co-authored-by: sean-simmons-progress <[email protected]> Co-authored-by: Sonu Saha <[email protected]> Co-authored-by: Ian Maddaus <[email protected]> Co-authored-by: jjacque <[email protected]> Co-authored-by: amlodzianowski <[email protected]> Co-authored-by: Adrian Mlodzianowski <[email protected]> Co-authored-by: Pg <[email protected]> Co-authored-by: Alan Foster <[email protected]> Co-authored-by: Phil Pirozhkov <[email protected]> Co-authored-by: Nikita Mathur <[email protected]>
Description
DSL keyword
only_applicable_if
will help set the impact value to zero conditionally when the condition inside the block is not true. It also invokes a failure test in the result containing the reason for why it is not applicable.Usage:
Output:
Related Issue
Types of changes
Checklist: