Commit graph

5592 commits

Author SHA1 Message Date
Chef Expeditor
c314310457 Bump version to 6.4.34 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 21:36:25 +00:00
Vasundhara Jagdale
8e8dc7631e
CHEF-3832: Fix for InSpec Parallel fails to fetch remote profiles due to cache contention. (#6546)
* CHEF-3832: Fix for InSpec Parallel fails to fetch remote profiles due to cache contention.
This fix creates the write exclusive lock on the cache directory of profile till write operation is finished for git fetcher

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Refactored to have locking and unlocking logic inside cache. Cache directory is not required for archived directories and this is currently only required by git fetcher

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* REFACTOR: adds method in fetcher to return true if requires cache locking mechanism to avoid cache contention

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Adds exception handling

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Handles interruption in cache creation process to avoid empty cache directory creation or currupted data

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Refactored to handle interruption through SystemExit

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Fixed the failing test. While creating lock cache_key need to be extracted from the respective fetcher.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-07-07 17:35:19 -04:00
Sonu Saha
50aabd06d3
CHEF-3895: Prevent Stacktrace in STDOUT by handling Invalid License exception during license add (#77)
* FIX: Handle invalid license exception as handled in base_cli:57

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* Use 174 error code when exiting with license subsystem error from license add

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-07-06 23:23:43 -04:00
Chef Expeditor
c4ba48b36f Bump version to 6.4.33 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-07 01:25:07 +00:00
Chef Expeditor
efdfc6f390 Bump version to 6.4.32 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-06 23:57:27 +00:00
Sonu Saha
20a4586ae8
LOGGER: Configure chef-licensing to use InSpec Logger (#67)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-07-06 19:56:33 -04:00
Chef Expeditor
b15da2312d Bump version to 6.4.31 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-06 23:30:46 +00:00
Chef Expeditor
c1d5d326a2 Bump version to 6.4.30 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-06 23:29:22 +00:00
Sonu Saha
8323ecd5c5
CHORE: Casing correction of product name from Inspec to InSpec (#78)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-07-06 19:28:23 -04:00
Chef Expeditor
427fab3f6c Bump version to 6.4.29 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-04 20:06:27 +00:00
Clinton Wolfe
a3028b1fc8
For #6493 : Add postgres_session support for custom port with a socket connection (#6494) (#40)
* Add support for custom port with a socket connection



* Add tests for the postgres_session with custom port



---------

Signed-off-by: Pg <pg.developper.fr@gmail.com>
Co-authored-by: Pg <pg.developper.fr@gmail.com>
2023-07-04 16:05:25 -04:00
Chef Expeditor
40c5b91677 Bump version to 6.4.28 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-04 20:00:49 +00:00
Chef Expeditor
07776239a6 Bump version to 6.4.27 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-07-04 19:59:03 +00:00
Clinton Wolfe
1ecf6bdae0
CHEF-3759 Crossport public 6540 Fix for inspec parallel on windows crashing due to error log rename (#74)
* Error logging changes to fix renaming of files in windows

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Parallel rename, delete and logging fix for windows

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Log path changes reverted after testing with static logs directory

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Fix lint

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Logic to rename error log files on interrupt

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* An attempt to reduce the delay on control c interrupt by killing child process instantly

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Only rename existing file of the child process to avoid conficts in renaming

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Fix in renaming with control-c interrupt by invoking from command library itself

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Added logic to wait for processes to die after process kill, to fix error on interrupt

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Removed idle inititation on status super reporter for parallel - needs future improvements

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Fileutils Mkdir usage refactoring

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-07-04 15:58:04 -04:00
Chef Expeditor
a07c15e6a8 Bump version to 6.4.26 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:09:37 +00:00
Chef Expeditor
227ea5c3c6 Bump version to 6.4.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:08:04 +00:00
Clinton Wolfe
b9bc201ced
CHEF-3806 Fix for InSpec Parallel hangs for cetain CIS profile on Windows. (#71)
Sending EOF Marker at the end of of the whole suit run here instead of depending on the controls count

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-06-27 22:07:39 -04:00
Chef Expeditor
a68c0f5760 Bump version to 6.4.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:03:14 +00:00
Chef Expeditor
095e7ef247 Bump version to 6.4.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-28 02:01:40 +00:00
Chef Expeditor
38c4346da6 Bump version to 6.4.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-23 15:54:37 +00:00
Chef Expeditor
a2e0baafe6 Bump version to 6.4.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-23 15:51:31 +00:00
Chef Expeditor
a4ea6578c7 Bump version to 6.4.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-22 15:02:58 +00:00
Nikita Mathur
f031999218
CHEF-3704 Modify help for local licensing service mode and other distros (#59)
* Update license commands description to be updated for local mode

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* To hide licensing information in help for CINC & other distros

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-06-22 11:01:46 -04:00
Chef Expeditor
6d122efcbf Bump version to 6.4.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-21 13:09:00 +00:00
Sathish Babu
feaf67d9bf
restrict license commands only to inspec distro (#58)
Signed-off-by: Sathish <sbabu@progress.com>
2023-06-21 18:37:55 +05:30
Chef Expeditor
5183057e5d Bump version to 6.4.18 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-21 08:13:23 +00:00
Nikita Mathur
68af725b6d
CHEF-3184 Error handling for inspec license add command - disabled in local mode (#52)
* Error handling for inspec license add command

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* License generation disabled exit code introduced for ui exit

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Removed the phrase something went wrong since error msgs will be changes and meaningful

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Renamed license generation error status name

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Error handling using specific error class

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* License exit code - license not set added

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-06-21 13:42:19 +05:30
Chef Expeditor
933d1c5f30 Bump version to 6.4.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-08 13:18:29 +00:00
Sonu Saha
81f299ea50
CONFIG: Update licensing config to set default server url (#50)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-06-08 18:47:21 +05:30
Chef Expeditor
b9c8a056ff Bump version to 6.4.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-07 14:13:05 +00:00
Chef Expeditor
d614e57875 Bump version to 6.4.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-30 14:40:53 +00:00
Sathish Babu
4ec735d09d
CHEF 83 Revert attestations changes (#47)
* revert attestation related files

Signed-off-by: Sathish <sbabu@progress.com>

* revert attestation changes to existing files

Signed-off-by: Sathish <sbabu@progress.com>

* update signature

Signed-off-by: Sathish <sbabu@progress.com>

---------

Signed-off-by: Sathish <sbabu@progress.com>
2023-05-30 20:09:29 +05:30
Chef Expeditor
3b9ca4fe18 Bump version to 6.4.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 00:50:57 +00:00
Chef Expeditor
4d7a62e9bc Bump version to 6.4.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 00:49:29 +00:00
Chef Expeditor
81caf6dfb7 Bump version to 6.4.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 00:48:07 +00:00
Sonu Saha
b4648e0193
CHEF-1458 Multiple values changes in SimpleConfig library (#6489) (#28)
* Simple config changes to return array of values with multiple values opt



* New option added to split multiple values with a delimiter regex



---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Nikita Mathur <Nik08@users.noreply.github.com>
2023-05-17 20:47:02 -04:00
Chef Expeditor
617cabf5c7 Bump version to 6.4.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 00:46:47 +00:00
Clinton Wolfe
4fce6845e5
Add nftables resources (#6499) (#44)
* Fix systemd path for Leap image



* Use vhef client version 17 as doocker cookbook do not support >= 18



* Add nftables resource



* Add nftables tests



* Add fixtures for nftables tests



* enable nftables only when attr is true - then disable iptables



* By default test iptables, not nftables



* Fix tests and lint errors



* Increase unit test coverage for nftables



* Do not use -nn nft option as behaviour changes based on nft version



* 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



* Fix uninitiallized class vars



* Fix unit test by adding nft version mocking



* Clean nftables doc



---------

Signed-off-by: Jeremy JACQUE <jeremy.jacque@algolia.com>
Co-authored-by: jjacque <jeremy.jacque@algolia.com>
2023-05-17 20:45:57 -04:00
Chef Expeditor
f51da83bf9 Bump version to 6.4.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 00:45:17 +00:00
Clinton Wolfe
dd9dccd84e
Update host resource to resolve all ipaddresses (#6481) (#39)
Signed-off-by: Alan Foster <alan@alanfoster.me>
Co-authored-by: Alan Foster <alan@alanfoster.me>
2023-05-17 20:45:04 -04:00
Clinton Wolfe
1ab146d028
fix: ensure Invoke-WebRequest headers can be configured (#6484) (#41)
* fix: ensure Invoke-WebRequest headers can be configured



* fix: use array for custom headers



* test: add unit test for Windows simple HTTP request with headers



---------

Signed-off-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
Co-authored-by: amlodzianowski <adrianmlodzianowski@gmail.com>
Co-authored-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
2023-05-17 20:44:15 -04:00
Chef Expeditor
396d48570d Bump version to 6.4.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 00:35:22 +00:00
Chef Expeditor
b91c7bf304 Bump version to 6.4.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 00:33:56 +00:00
Chef Expeditor
9511f41a23 Bump version to 6.4.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-12 00:11:00 +00:00
Chef Expeditor
381a45ebd6 Bump version to 6.4.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-10 05:44:05 +00:00
Sonu Saha
09196e971f
CONFIG: Set chef executable name to display in help messages of chef-licensing (#34)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-05-10 11:13:09 +05:30
Chef Expeditor
917ffde843 Bump version to 6.4.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-10 03:49:07 +00:00
Sonu Saha
95c36239f8
ENHANCE: Add license command to list of allowed commands (#35)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-05-10 09:18:08 +05:30
Chef Expeditor
21b7206306 Bump version to 6.4.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-09 14:37:43 +00:00
Sonu Saha
4386cb1407
UPDATE: Update chef-licesing api call: license_keys to fetch_and_persist (#30)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-05-09 10:36:12 -04:00
Chef Expeditor
86a08ba7e7 Bump version to 6.4.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-04-25 13:28:17 +00:00
Sonu Saha
77b7a8ff62
Remove kitchen group from Gemfile (#31)
* KITCHEN: Remove kitchen group from Gemfile,
revert this change when required

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* LINT: Remove trailing whitespace

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-04-25 09:27:21 -04:00
Chef Expeditor
725f6ee023 Bump version to 6.4.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-04-12 14:15:40 +00:00
Sonu Saha
8e26441019
CHEF-52: Add licensing information to help output (#27)
* CHEF-LICENSING: Add licensing flags info in help output

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* INFO: Add chef-licensing info to help message

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-04-12 10:14:34 -04:00
Chef Expeditor
7b933b83d4 Bump version to 6.4.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-31 07:52:40 +00:00
Sonu Saha
646cbb7bda
Add command to list license information (#10)
* Initial commit to set inspec cli command license

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* INTEGRATE: Use chef_licensing endpoint to list licenses info

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* CHORE: Update chef-licensing gem name, update description

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* CHEF-56 License add command integrated (#11)

* Added license add command in inspec license command plugin

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Chef licensing gem changes pointing to url and branch

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* EXEC_NAME is always inspec as set in Dist,
check is not required

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* DOCS: Update docs for the plugin

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* DOCS: Update docs for the plugin

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Nikita Mathur <Nik08@users.noreply.github.com>
2023-03-31 13:21:44 +05:30
Chef Expeditor
6fb783045c Bump version to 6.4.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-27 14:27:38 +00:00
Vasundhara Jagdale
699d73993c
Licensing - Integrates Software Entitlement (#13)
* CFINSPEC-24:Integrate License Software Entitlment.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* CFINSPEC-506 license execution check

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Software entitlement call changes and handling of error

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Error handling from chef licensing error to standard error

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Updated Gemfile to pick the chef licensing changes from git url

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Trying with https url

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Revert "Trying with https url"

This reverts commit 33f1f4c0ecacf9ba2826e25e55b41219903ea736.

* Adds the license not entitled exit code

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Updates the require statement

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Fix typo

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Set the licensing configure for entitlement id failure

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Use ChefLicensing::Error instead of standard error

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* REFACTOR Move out licensing cong=fig to its own file and make unconditional

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* FIX TESTS - Add reference to licensing config for places where we call runner explicitly.

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Update inputs_test to use license configuration from utils

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-03-27 10:26:35 -04:00
Chef Expeditor
031ec21cce Bump version to 6.3.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-24 06:52:35 +00:00
Nikita Mathur
3307ee520c
Integration of chef licensing with inspec (#12)
* Add invocation for chef licensing to fetch and persist license

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Flow changes of licensing with EULA acceptance

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Changed empty to blank safe check

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Exit code changes in case of invalid licenses

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Update temporary gempath to use relatiive path

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* CFINSPEC-506 license execution check

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Handling in inspec for invalid licenses

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Handling of client error

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Replaced subclasses of exceptions with super class error

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Chef licensing gem changes pointing to git url

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Configured chef licensing with inspec

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Local chef licensing gem configuration removed

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Removed logger configuration for chef licensing

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

* Require changes for new library chef-licensing

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-03-24 02:51:27 -04:00
Chef Expeditor
8bb7d2ad1c Bump version to 6.2.49 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-23 18:48:03 +00:00
Chef Expeditor
efc65b3baf Bump version to 6.2.48 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-16 17:24:19 +00:00
Chef Expeditor
477db753e8 Bump version to 6.2.47 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-14 14:32:29 +00:00
Chef Expeditor
b265e77a7f Bump version to 6.2.46 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-13 16:18:22 +00:00
Chef Expeditor
16114904dc Bump version to 6.2.45 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-03-10 20:44:18 +00:00
Chef Expeditor
b4cebf0908 Bump version to 6.2.44 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 15:57:31 +00:00
Chef Expeditor
c74932fd38 Bump version to 6.2.43 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 15:47:04 +00:00
Chef Expeditor
6cb3223d08 Bump version to 6.2.42 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 14:58:12 +00:00
Chef Expeditor
9f94bb5386 Bump version to 6.2.41 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 13:46:00 +00:00
Chef Expeditor
a994ef4bb6 Bump version to 6.2.40 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 08:40:17 +00:00
Chef Expeditor
c07cb94dea Bump version to 6.2.39 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 08:38:28 +00:00
Chef Expeditor
302f7389d0 Bump version to 6.2.38 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 08:35:03 +00:00
Vasundhara Jagdale
530d2d1ef2
CFINSPEC-580 Dependent profiles fix for any scheme of version used in profiles (#6410) (#6468)
* Dependent profiles fix for any scheme of version used in profiles



* Dependent profile fix when version is blank in dependent profiles



---------

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Nikita Mathur <Nik08@users.noreply.github.com>
2023-02-27 14:04:02 +05:30
Chef Expeditor
5c2a9d6086 Bump version to 6.2.37 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 08:32:40 +00:00
Vasundhara Jagdale
ee35f4ed08
CFINSPEC-576 : Fix profile gem dependency loading issue when dependent gem is required inside profile libraries. (#6408) (#6467)
* Test profile consist of custom resource which has a gem dependency



* CFINSPEC-576 Fix for profile gem depedency loading issue if depedent gem is required in libraries files of the profile



* Fix windows test failure for profile gem dependency



---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-27 14:01:37 +05:30
Chef Expeditor
79d8e93c94 Bump version to 6.2.36 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 07:45:18 +00:00
Chef Expeditor
0e0686bc42 Bump version to 6.2.35 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 07:37:15 +00:00
Vasundhara Jagdale
cce1bff0ef
CFINSPEC-573: Fix for mongo_session resources prints debug level of information in output of the run result. (#6401) (#6438)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-27 13:06:16 +05:30
Chef Expeditor
726f6e9d8f Bump version to 6.2.34 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 07:03:44 +00:00
Chef Expeditor
54c14b43c3 Bump version to 6.2.33 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 06:19:13 +00:00
Vasundhara Jagdale
acf97be56e
RAKE TEST: Fix rake task for docs:cli (#6437)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Sonu Saha <sonu.saha@progress.com>
2023-02-27 11:48:08 +05:30
Chef Expeditor
3f4af15de5 Bump version to 6.2.32 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 06:05:03 +00:00
Chef Expeditor
4cdccae096 Bump version to 6.2.31 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 05:58:00 +00:00
Chef Expeditor
bed0c11c21 Bump version to 6.2.30 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-27 05:42:04 +00:00
Chef Expeditor
ff260671f0 Bump version to 6.2.29 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-26 15:08:32 +00:00
Vasundhara Jagdale
812001abcc
CFINSPEC-542 Bug fix for profiles with dependent profiles (#6377) (#6435)
* Matching semver using regex to determine profile name without version in dsl logic



* Testing for selecting control using version in require control dsl



* Documentation for using version with profile name when including or selecting controls in a profile



* Commenting in dsl library about logic for fetching version and matching it



* Comment for regex used to fetch version



* Minor improvement for regex variable placement

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Nikita Mathur <Nik08@users.noreply.github.com>
2023-02-26 20:37:28 +05:30
Chef Expeditor
bbf4c7eabe Bump version to 6.2.28 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-26 13:58:04 +00:00
Nikita Mathur
440934ca13
Foreport 6369 to inspec-6 Extended file format support for waivers: JSON & CSV only (#6371)
* 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>

* Removed excel file format support for attestations file (#6370)

Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>

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>
2023-02-26 19:27:02 +05:30
Chef Expeditor
293fe03763 Bump version to 6.2.27 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-26 12:50:21 +00:00
Chef Expeditor
805beb9955 Bump version to 6.2.26 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 13:35:02 +00:00
Chef Expeditor
1dd787800a Bump version to 6.2.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 12:18:22 +00:00
Vasundhara Jagdale
35f8c4829f
CFINSPEC-533: Fix undefined method 'summary' for Gem::SourceFetchProblem (NoMethodError) when airgapped (#6337) (#6434)
* 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.



* Adds test for reading description from local gemspec file.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-24 17:47:19 +05:30
Chef Expeditor
81845cec30 Bump version to 6.2.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 12:13:49 +00:00
Vasundhara Jagdale
4376365304
Fix env smoke test by updating ERB.new in inspec env; add additional test (#6342) (#6440)
* Failing test for Ruby 3.1 - ERB.new call options changed



* Fix for Ruby 3.1 by using named params to ERB.new



* Restrict test to non-windows systems



* Restrict test to non-windows systems

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-02-24 17:42:42 +05:30
Chef Expeditor
e42413cfc3 Bump version to 6.2.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 11:46:40 +00:00
Vasundhara Jagdale
be7671da8e
Fixing typo in user_permissions (#6344) (#6465)
* Fixing typo in user_permissions



* Corrected spacing

Signed-off-by: Magruder, Micah <Micah.Magruder@oracle.com>
Co-authored-by: Micah Magruder <micah.magruder@cerner.com>
2023-02-24 17:15:28 +05:30
Chef Expeditor
80178eb7d6 Bump version to 6.2.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 10:58:07 +00:00
Chef Expeditor
5f82496263 Bump version to 6.2.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 10:56:15 +00:00
Vasundhara Jagdale
e95571fa05
CFINSPEC-393 - Fix for custom plugin loading issue when gemspec file is invalid and unable to load the lib path. (#6334) (#6464)
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-24 16:24:44 +05:30
Chef Expeditor
01a8c4ac58 Bump version to 6.2.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-02-24 10:06:50 +00:00