* Added ability to merge cli and config reporter options
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Test cases to validate working of reporter configuration using cli and config
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Documentation change to add information on reporter configurations usage with both
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Added Doc review changes and text fixture for config json
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Verify fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Verify pipeline test fixes for reporter options to be read successfully
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Test changes in both cli and config reporter usage scenarios to fix verify pipeline
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Review comments to improvise
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Renamed testing fixture file for reporter cli config file
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
---------
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Add support for custom port with a socket connection
Signed-off-by: Pg <pg.developper.fr@gmail.com>
* Add tests for the postgres_session with custom port
Signed-off-by: Pg <pg.developper.fr@gmail.com>
---------
Signed-off-by: Pg <pg.developper.fr@gmail.com>
* fix: ensure Invoke-WebRequest headers can be configured
Signed-off-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
* fix: use array for custom headers
Signed-off-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
* test: add unit test for Windows simple HTTP request with headers
Signed-off-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
---------
Signed-off-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
Co-authored-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
* Fix systemd path for Leap image
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Use vhef client version 17 as doocker cookbook do not support >= 18
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Add nftables resource
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Add nftables tests
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Add fixtures for nftables tests
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* enable nftables only when attr is true - then disable iptables
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* By default test iptables, not nftables
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Fix tests and lint errors
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Increase unit test coverage for nftables
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Do not use -nn nft option as behaviour changes based on nft version
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Base nft params identification on its version, not os version
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Make test more human friendly by reversing unless/if logic
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Update mocked cmds with nft params
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Fix quoting issue with rubocop
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Fix uninitiallized class vars
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Fix unit test by adding nft version mocking
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Clean nftables doc
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
---------
Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
* Dependent profiles fix for any scheme of version used in profiles
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Dependent profile fix when version is blank in dependent profiles
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
---------
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Test profile consist of custom resource which has a gem dependency
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* CFINSPEC-576 Fix for profile gem depedency loading issue if depedent gem is required in libraries files of the profile
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Fix windows test failure for profile gem dependency
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
---------
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Matching semver using regex to determine profile name without version in dsl logic
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Testing for selecting control using version in require control dsl
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Documentation for using version with profile name when including or selecting controls in a profile
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Commenting in dsl library about logic for fetching version and matching it
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Comment for regex used to fetch version
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Minor improvement for regex variable placement
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Revert "Revert "CFINSPEC-240 Extended file format support for waivers (#6193)" (#6366)"
This reverts commit 30146e07fe.
* Waiver support for csv and json
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Removed the word excel from image tag
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Update waivers.md
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Co-authored-by: Ian Maddaus <ian.maddaus@progress.com>