Commit graph

5501 commits

Author SHA1 Message Date
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