Commit graph

11218 commits

Author SHA1 Message Date
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
dependabot[bot]
28031ae7ff
Bump omnibus from 15122f2 to 9c0643a in /omnibus (#70)
Bumps [omnibus](https://github.com/chef/omnibus) from `15122f2` to `9c0643a`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](15122f2565...9c0643a3a4)

---
updated-dependencies:
- dependency-name: omnibus
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 22:07:02 -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
dependabot[bot]
cb8d6994f1
Bump berkshelf from 8.0.2 to 8.0.7 in /omnibus (#63)
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](https://github.com/chef/berkshelf/compare/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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 22:00:37 -04:00
Sonu Saha
e6d5dc2b9a
Update rspec to 3.12 (#6523) (#65)
Update RSpec dependency. There are some fixes and no breaking changes in 3.12

Signed-off-by: Phil Pirozhkov <hello@fili.pp.ru>
Co-authored-by: Phil Pirozhkov <pirj@users.noreply.github.com>
2023-06-27 22:00:04 -04:00
Chef Expeditor
8146491a26 Update CHANGELOG.md with details from pull request #6526
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-26 12:16:34 +00:00
Clinton Wolfe
cc0ddc3e3b
Update Docker base image to be ubuntu 22.04 (#6526)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2023-06-26 08:15:40 -04: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
dependabot[bot]
58db4fccaa
Bump omnibus from cf97613 to 15122f2 in /omnibus (#62)
Bumps [omnibus](https://github.com/chef/omnibus) from `cf97613` to `15122f2`.
- [Release notes](https://github.com/chef/omnibus/releases)
- [Commits](cf97613115...15122f2565)

---
updated-dependencies:
- dependency-name: omnibus
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 11:53:37 -04: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
dependabot[bot]
c02150e246
Bump omnibus-software from 225e357 to 88169e3 in /omnibus (#61)
Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `225e357` to `88169e3`.
- [Commits](225e3576c4...88169e3905)

---
updated-dependencies:
- dependency-name: omnibus-software
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 11:50:26 -04: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
Sonu Saha
dbcde74724
CI: Remove fetching of bearer auth token from vault (#48)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-06-07 10:11:56 -04:00
Chef Expeditor
21f1c34c56 Bump version to 5.22.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-06-05 21:48:36 +00:00
Phil Pirozhkov
9cae58d02b
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 <hello@fili.pp.ru>
2023-06-05 17:47:26 -04: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
870c69937d Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 13:53:27 +00:00
Chef Expeditor
d3cebed4fb Bump version to 5.22.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-18 00:59:08 +00:00
Clinton Wolfe
3759157b07
CHEF-1631 Clarify that command timeout default was withdrawn (#6511)
* Clarify that command timeout default was withdrawn

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

* Delete reference to timeout default entirely.

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

Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>

---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
2023-05-17 20:58:10 -04:00
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
0af8ceeaa6
Bump rack from 2.2.6.2 to 2.2.6.4 in /omnibus (#6490) (#42)
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](https://github.com/rack/rack/compare/v2.2.6.2...v2.2.6.4)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 20:44:42 -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
Clinton Wolfe
cfde3f5bd8
CHEF-2438 Add train-kubernetes to inspec gemspec (#6512) (#43)
* Add train-kubernetes to inspec gemspec, fix spacing



* Fix failing test to detect system plugins



---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-05-17 20:33:27 -04:00
Clinton Wolfe
4eb7fe82ef
Clarify key_rsa docs regarding SSH keys (#6507) (#45)
* Clarify that an RSA resource can only work on RSA keypairs



* Update docs-chef-io/content/inspec/resources/key_rsa.md





---------

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
2023-05-17 20:32:52 -04:00
Alan Foster
ce5fb0fb46
Update host resource to resolve all ipaddresses (#6481)
Signed-off-by: Alan Foster <alan@alanfoster.me>
2023-05-15 21:43:22 -04:00
Chef Expeditor
3ecb812aac Bump version to 5.22.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-16 01:34:57 +00:00
Pg
869e1902a1
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 <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>
2023-05-15 21:33:47 -04:00
Chef Expeditor
30fa76a5af Bump version to 5.22.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-16 01:29:52 +00:00
amlodzianowski
4c2aa78789
fix: ensure Invoke-WebRequest headers can be configured (#6484)
* 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>
2023-05-15 21:28:48 -04:00
dependabot[bot]
4ca2058db4
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](225e3576c4...f06bbea744)

---
updated-dependencies:
- dependency-name: omnibus-software
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 20:43:51 -04:00
Chef Expeditor
000bdd163c Bump version to 5.22.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-05-16 00:24:29 +00:00