Commit graph

5693 commits

Author SHA1 Message Date
Chef Expeditor
e52ecca1a5 Bump version to 6.8.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-11-11 10:39:10 +00:00
Chef Expeditor
aacfe7514d Bump version to 6.8.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-11-11 10:37:14 +00:00
Sonu Saha
bb9613b561
CHEF-15651: Introduce --legacy flag for compatibility in inspec automate upload with legacy checks and export options (#7200)
* fix: implement legacy flag to use legacy functionalities for check & export

Signed-off-by: Sonu Saha <ahasunos@gmail.com>

* chore: update doc for automate upload with --legacy flag

Signed-off-by: Sonu Saha <ahasunos@gmail.com>

---------

Signed-off-by: Sonu Saha <ahasunos@gmail.com>
2024-11-11 16:06:42 +05:30
Sonu Saha
74fbd6f8a0
fix: Prioritize environment-set license server URL to address configuration override issue (#7203)
Signed-off-by: Sonu Saha <ahasunos@gmail.com>
2024-11-11 16:06:10 +05:30
Chef Expeditor
f05b389794 Bump version to 6.8.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-11-05 13:10:42 +00:00
Nikita Mathur
3f4c85693c
CHEF-12879 Test kitchen integration with InSpec 6 (#7168)
* Test kitchen integration changes for inspec

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Disable license usage telemetry when running under test kitchen

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Enable persistence of license key and license server url in file when passed via test kitchen

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Product dist name changes for error messages when run under test kitchen

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-11-05 18:39:33 +05:30
Chef Expeditor
a7b16c1db4 Bump version to 6.8.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-11-05 06:19:38 +00:00
Nikita Mathur
d030113fad
Improved regex to load readme from inspec profiles (#7198)
Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-11-05 11:48:31 +05:30
Chef Expeditor
06ed411667 Bump version to 6.8.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-09-11 15:38:14 +00:00
Chef Expeditor
7924290714 Bump version to 6.8.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-08-27 09:25:09 +00:00
Gokulakrishnan KS
14f546391f
Added fatal message check for postgres_session:query method (#7154)
* Added fatal message check for postgres_session:query method

Signed-off-by: Gokulakrishnan KS <Gokulakrishnan.KS@progress.com>

* Added empty new line for the new fixture

Signed-off-by: Gokulakrishnan KS <Gokulakrishnan.KS@progress.com>

---------

Signed-off-by: Gokulakrishnan KS <Gokulakrishnan.KS@progress.com>
2024-08-27 14:52:32 +05:30
Chef Expeditor
e34d735e7a Bump version to 6.8.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-08-26 08:24:11 +00:00
Nikita Mathur
2eaabede6e
CHEF-14805 Oracle db session resource fixes (#7136)
* Oracle db fixes: Revert security improvements and modify error handling condition

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Preserving the refactoring of escaped_query method

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-08-26 13:53:00 +05:30
Chef Expeditor
b96011bc86 Bump version to 6.8.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-08-26 06:07:39 +00:00
Chef Expeditor
5abbaa40c9 Bump version to 6.8.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-08-09 16:08:35 +00:00
Chef Expeditor
9848bb736f Bump version to 6.8.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-08-09 13:46:36 +00:00
Sathish Babu
e984269b41
Merge pull request #7117 from inspec/sb/allow-telemetry-url-override
Allow dev/CI to override the telemetry URL to a staging service
2024-08-07 15:32:30 +05:30
Chef Expeditor
26336ae797 Bump version to 6.8.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-08-06 11:23:12 +00:00
Sonu Saha
ed59ce0369
enhance: improve fetch and persist to catch entitlement exception (#7121)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-08-06 16:52:02 +05:30
Chef Expeditor
e7aa7c535a Bump version to 6.8.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-08-02 09:19:35 +00:00
Sathish
563c2449b9
Allow dev/CI to override the telemetry URL to a staging service
Signed-off-by: Sathish <sbabu@progress.com>
2024-08-02 14:22:14 +05:30
Chef Expeditor
9e8c62dc0c Bump version to 6.8.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-25 16:14:17 +00:00
Nikita Mathur
e8ee11853b
Telemetry log messages improved for clarity of calls (#7104)
Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-07-25 21:43:08 +05:30
Chef Expeditor
f34db91219 Bump version to 6.8.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-24 11:03:41 +00:00
Aaron Lippold
0ab35681aa
Update ssh_config resource to support returning the current sshd_config file in use. (#7070)
* modify resource

* windows compatibility

* end line

* removing comments to clean things up

Signed-off-by: Aaron Lippold <lippold@gmail.com>

* CHEF-12175: Remove use of `Kernel.open` or `IO.read` or similar sinks with a non-constant value (#7079)

* fix: update io reads to fix codescanning vuln

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

* fix: remove kernel#open fallback and update open method to handle local files

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

* fix: replace io.readlines to file.readlines

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

* chore: fix lint offense, unnecessary space

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

* fix: raise exception for standard errors as FetcherFailure

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

* chore: update exception message

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

---------

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

* fix: Missing regular expression anchor (#7077)

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

* Bump version to 6.6.27 by Chef Expeditor

Obvious fix; these changes are the result of automation not creative thinking.

* Fix gitignore file in docs dir (#7082)

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

* Bump version to 6.6.28 by Chef Expeditor

Obvious fix; these changes are the result of automation not creative thinking.

* adding docs now that the gitignore is fixed.

Signed-off-by: Aaron Lippold <lippold@gmail.com>

* add docs for sshd_active_config resource

* fix docs

* unit tests

* rubocop on ssh_config.rb, sshd_con_test.rb, and sshd_active_config.md

* rename active path in method

* doc fix

* Linting Corrections for Active SSHD Config (#1)

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

* Update sshd_active_config.md

updated version

* doc version update

---------

Signed-off-by: Aaron Lippold <lippold@gmail.com>
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Daniel Medina <dmedina@mitre.org>
Co-authored-by: Sonu Saha <98935583+ahasunos@users.noreply.github.com>
Co-authored-by: Chef Expeditor <chef-ci@chef.io>
Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2024-07-24 16:32:09 +05:30
Chef Expeditor
a51fd39652 Bump version to 6.7.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-24 10:41:35 +00:00
Chef Expeditor
e5c81d5a15 Bump version to 6.7.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-23 12:06:29 +00:00
Chef Expeditor
3e88ae4c5d Bump version to 6.7.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-23 10:10:34 +00:00
Chef Expeditor
c51ab56ab0 Bump version to 6.7.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-22 13:57:29 +00:00
Clinton Wolfe
29242deb7c
Usage Telemetry v3 (#6012)
* Remove unused telemetry v1 code

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

* Sketch out basics of telemetry, with start/stop of invocation telemetry

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

* Data structure for run telemetry - job capture

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

* Add per-control and per-run feature detection

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

* CHEF-4017 Telemetry job api updations (#6965)

* Added initial changes to jobs api

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Feature flag changes for telemetry

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* move base, debug and null to its own file structure

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

* make HTTP client post requests

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

* remove old logic

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

* make backend class as `HTTP`

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

* CHEF-7258 Fetch and use licensing information for telemetry (#6964)

* Added method to fetch license ids for inspec

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Added free license check for performing telemetry api call

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* move base, debug and null to its own file structure

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

* make HTTP client post requests

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

* remove old logic

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

* make backend class as `HTTP`

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

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
Signed-off-by: Sathish <sbabu@progress.com>
Co-authored-by: Sathish <sbabu@progress.com>

* Updated control tags and desc value to be used in jobs api

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Added checks for automate run context and free license check

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* capture target mode and id

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

* profile doesn't need ID

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

* use run context to set environment data

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

* refactor `create_wrapper` to be localized

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

* change all timestamps to be UTC

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

* Null checks for response and corrected job api endpoint

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Fixed tag values to be sent as string in api call

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* make version as float

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

* add platform name

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

* Added control result data in jobs api payload

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Debug logs added for telemetry call

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Removed unwanted telemetry debug class

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Payload fix to pass features data only on per control basis

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Added class function to list all invoked features by feature sub system

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Using feature system to get all invoked features list to be used in jobs api

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Unit tests cases updated and fixed

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* License type check downcased

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Lint fix

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* CHEF-7265 Telemetry opt-in for CINC users (#6966)

* Enabled telemtry opt-in

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Removed old comments

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Unit test case added to validate the disabling telemetry behaviour for inspec user

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
Signed-off-by: Sathish <sbabu@progress.com>
Co-authored-by: Sathish <sbabu@progress.com>

* Product team review changes - only disable telemetry for commercial license users

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Connection failure handling for telemetry http call

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Testing fix - Remove usage of deleted library

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Telemetry test case fix - Issue caused because unit test are run without feature flag env set

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Fixed and replaced tightly coupled semver versioning regex matching test for telemetry data

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Telemery test fix to use license key from env or a dummy value if not set in env

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Added error logs in case the http call is not successful for telemetry

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Error handling for telemetry start and run calls

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Telemetry opt-in changes (#7055)

* Removed usage of feature system to enable telemetry - making it opt-in by default

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Telemetry disable check fix when no option is passed in args

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Fix in test to use license specs defined for testing

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* (Restoring) CHEF-10392 load default telemetry url conditionally (#7059)

* load default telemetry url conditionally

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

* remove version base path
version base path is defined in jobs path already

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

* use `CHEF_` prefix for the ENV

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

---------

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

* Typo fix in features list

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Stub added for CI license key

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* License usage telemetry correction - not track control results (#7060)

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Changes to disable telemetry for other InSpec distros (#7065)

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Lint issue fix

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Removing disable telemetry test - breaks on CI because of commercial license usage

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* CHEF-13228 Chef licensing telemetry documentation (#7056)

* WIP chef telemetry env variable usage updated

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* WIP intro added for chef telemetry - requires edit

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Correction in opt in behaviour of telemetry

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Doc update after default opt in changes

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Doc edit from product

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Doc edit

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Edits

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Co-authored-by: Ian Maddaus <ian.maddaus@progress.com>

* Updated version pinning of chef licensing to version 1 for chef telemetry

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Nik08 <nikita.mathur@progress.com>
Signed-off-by: Sathish <sbabu@progress.com>
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Co-authored-by: Nikita Mathur <Nik08@users.noreply.github.com>
Co-authored-by: Sathish <sbabu@progress.com>
Co-authored-by: Nik08 <nikita.mathur@progress.com>
Co-authored-by: Ian Maddaus <ian.maddaus@progress.com>
2024-07-22 19:26:24 +05:30
Chef Expeditor
e3312ae49b Bump version to 6.6.30 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-15 10:01:35 +00:00
Vasundhara Jagdale
e8b739154d
CHEF-12024 Adds C Shell support to sybase_session resource (#7069)
* Fixes the sybase_session resource was not working with c shell

Signed-off-by: Vasu1105 <vjagdale@progress.com>

* Adds TODO

Signed-off-by: Vasu1105 <vjagdale@progress.com>

---------

Signed-off-by: Vasu1105 <vjagdale@progress.com>
2024-07-15 15:30:22 +05:30
Chef Expeditor
3ef77179d1 Bump version to 6.6.29 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-12 08:37:21 +00:00
Sonu Saha
3f50b6a230
CHEF-12172: Incomplete string escaping or encoding (#7078)
* fix: Incomplete string escaping or encoding

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

* fix: Incomplete string escaping or encoding

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

* fix: Incomplete string escaping or encoding

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

* chore: fix lint offense for single quotes

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-07-12 14:06:14 +05:30
Chef Expeditor
dbfe947035 Bump version to 6.6.28 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-10 14:08:21 +00:00
Chef Expeditor
3b4e112a59 Bump version to 6.6.27 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-07-10 11:16:53 +00:00
Sonu Saha
8ea98d2a18
fix: Missing regular expression anchor (#7077)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-07-10 16:46:12 +05:30
Sonu Saha
0fd3714229
CHEF-12175: Remove use of Kernel.open or IO.read or similar sinks with a non-constant value (#7079)
* fix: update io reads to fix codescanning vuln

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

* fix: remove kernel#open fallback and update open method to handle local files

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

* fix: replace io.readlines to file.readlines

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

* chore: fix lint offense, unnecessary space

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

* fix: raise exception for standard errors as FetcherFailure

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

* chore: update exception message

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-07-10 16:45:50 +05:30
Chef Expeditor
e3f1642983 Bump version to 6.6.26 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-06-28 06:39:19 +00:00
Thomas Heinen
ea7e386028
Configurable backend for Chef Infra in Target Mode (#7058)
* Add configurable InSpec backend for Chef Infra

Signed-off-by: Thomas Heinen <thomasheinen@gmail.com>

* Add changing backend for Chef Infra

Signed-off-by: Thomas Heinen <thomasheinen@gmail.com>

* Add test

* Fix typo on test

Signed-off-by: Thomas Heinen <thomasheinen@gmail.com>

* Fix test

Signed-off-by: Thomas Heinen <thomasheinen@gmail.com>

---------

Signed-off-by: Thomas Heinen <thomasheinen@gmail.com>
2024-06-28 12:08:18 +05:30
Chef Expeditor
a6e85b9d83 Bump version to 6.6.25 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-06-11 15:15:05 +00:00
Chef Expeditor
c75c0805b6 Bump version to 6.6.24 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-06-06 07:20:30 +00:00
Chef Expeditor
e636d43a1c Bump version to 6.6.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-05-28 11:37:34 +00:00
Chef Expeditor
ce657ab29b Bump version to 6.6.22 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-05-27 11:24:10 +00:00
Sonu Saha
c8f020cb81
Modify url fetcher to remove --symref flag in git ls-remote command (#7043)
* fix: remove --symref options from git ls-remote
it is causing issue on ubuntu16 and rhel6

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

* spec: update test to match commit-sha.tar.gz instead of master.tar.gz

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

* spec: skip test on windows, works locally on windows

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-05-21 12:53:03 +05:30
Chef Expeditor
3bd7d5c6c8 Bump version to 6.6.21 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-05-20 09:57:23 +00:00
Chef Expeditor
6bb288a5cd Bump version to 6.6.20 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-05-08 13:27:59 +00:00
Nikita Mathur
c83733bf9e
CHEF-3833 Added delay for InSpec parallel status reporter (#6993)
* Added delay in status reporter for inspec-parallel for clear reporting

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Made chef-licensing warning silent between parallel runs

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Code review changes for setting output config

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* As a safe measure added logic to reset output stream

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-05-08 18:56:53 +05:30
Chef Expeditor
9939b0d220 Bump version to 6.6.19 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-05-02 08:47:45 +00:00
Stan Hu
c9bb58e908
Fix uninitialized constant Parser::AST::Processor::Mixin (#7030)
parser 3.3.1.0 introduced
https://github.com/whitequark/parser/pull/1000, which causes this
failure:

```
% bundle exec ruby -Itest test/unit/profiles/profile_test.rb
inspec/lib/inspec/utils/profile_ast_helpers.rb:7:in `<class:CollectorBase>': uninitialized constant Parser::AST::Processor::Mixin (NameError)

        include Parser::AST::Processor::Mixin
                                      ^^^^^^^
```

Fix this by inherting from `Parser::AST::Processor` instead.

Closes #7029

Signed-off-by: Stan Hu <stanhu@gmail.com>
2024-05-02 14:16:33 +05:30