Commit graph

11344 commits

Author SHA1 Message Date
Vasundhara Jagdale
809c4d9ea7
Revert "fix: add support for curve25519 key exchange (#6989)" (#7026)
This reverts commit e1497169b9.
2024-04-24 16:53:36 +05:30
Chef Expeditor
d6296d304f Bump version to 6.6.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-04-16 09:52:32 +00:00
Sonu Saha
e1497169b9
fix: add support for curve25519 key exchange (#6989)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-04-16 15:21:32 +05:30
Nikita Mathur
61a4ee3fc2
List all invoked features by feature sub system (#6979)
* Added class function to list all invoked features by feature sub system

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

* Test cases to verify invoked features list function

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

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-04-16 14:55:33 +05:30
Chef Expeditor
7cdd45c690 Bump version to 6.6.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-04-16 07:58:58 +00:00
Sonu Saha
698df457e2
test: update test with updated failure message for gcp auth (#7010)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-04-16 13:27:55 +05:30
Chef Expeditor
fcbc04d91d Update CHANGELOG.md with details from pull request #6994
Obvious fix; these changes are the result of automation not creative thinking.
2024-03-28 06:43:30 +00:00
Ian Maddaus
55ad91a314
Update Netlify deployment (#6994)
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2024-03-28 12:12:26 +05:30
Chef Expeditor
3d0c2a1bf9 Update CHANGELOG.md with details from pull request #6998
Obvious fix; these changes are the result of automation not creative thinking.
2024-03-28 06:28:35 +00:00
Sonu Saha
f7b39fab37
ci: update ruby docker image to ruby bullseye base image (#6998)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-03-28 11:57:31 +05:30
Chef Expeditor
a187ca50a5 Bump version to 6.6.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-03-27 06:10:39 +00:00
Vasundhara Jagdale
91210f8afe
CHEF-9848 - Exclude Warning "Unrecognized feature name" for Custom InSpec plugins. (#6988)
* Adds the check for custom plugins to avoid showing "Unrecognised Feature " warnings for them.

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

* Test to verify feature validation should not show warning for custom plugins

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

* Fix the test failures

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

---------

Signed-off-by: Vasu1105 <vjagdale@progress.com>
2024-03-27 11:39:22 +05:30
Chef Expeditor
0fdfaad9d0 Bump version to 6.6.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-02-20 09:30:58 +00:00
Pg
f5fd9a75f7
Allow the negate formating for cmp (#6862)
* Allow the negate formating for cmp

The 'cmp' matcher when used with a negation as 'should_not' does
has a confusion formating when control fails:
expected: 3
     got: 3

This, because the 'format_actual' always pass 'false' to the
'format_expectation'. Thus the 'format_expectation' never reach the
'negate_str'.

Signed-off-by: Pg <pg.developper.fr@gmail.com>

* Linting

Signed-off-by: Pg <pg.developper.fr@gmail.com>
Co-authored-by: Vasundhara Jagdale <vjagdale@progress.com>

---------

Signed-off-by: Pg <pg.developper.fr@gmail.com>
Co-authored-by: Vasundhara Jagdale <vjagdale@progress.com>
2024-02-20 14:59:54 +05:30
Chef Expeditor
cb807a4ac3 Update CHANGELOG.md with details from pull request #6970
Obvious fix; these changes are the result of automation not creative thinking.
2024-02-08 10:39:02 +00:00
Vasundhara Jagdale
c4e5386656
Adds unit test for progress bar streaming reporter (#6970)
Signed-off-by: Vasu1105 <vjagdle@progress.com>
Co-authored-by: Vasu1105 <vjagdle@progress.com>
2024-02-08 16:07:59 +05:30
Chef Expeditor
258ae72010 Bump version to 6.6.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-02-02 09:42:46 +00:00
Sonu Saha
16a74f39ae
CHEF-3162: Implement unit test for inspec-sign plugin (#6959)
* test: add unit test for inspec sign #profile_verify

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

* enhance: add support for custom config dir to be used during testing

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

* test: add unit test for inspec sign #keygen and #profile_sign

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

* test: remove test for profile sign

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

* test: add test for methods in inspec sign

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-02-02 15:11:20 +05:30
Chef Expeditor
42c7f3e46b Update CHANGELOG.md with details from pull request #6953
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-29 13:26:50 +00:00
Vasundhara Jagdale
129d21be3a
Exclude test files and examples file from code coverage to (#6953)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2024-01-29 18:55:52 +05:30
Chef Expeditor
c4439215e8 Update CHANGELOG.md with details from pull request #6958
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-29 07:27:07 +00:00
Ian Maddaus
b44795efdd
Minor docs fix (#6958)
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2024-01-29 12:56:12 +05:30
Sonu Saha
d4208cb63c
CHEF-4571: Silence warning about transforming into git fetcher (#6946)
* chore: change log-level for url fetcher transformation

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

* test: remove warning logs from url fetcher test

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-01-24 18:34:21 +05:30
Chef Expeditor
712dad1278 Bump version to 6.6.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-24 13:03:19 +00:00
Vasundhara Jagdale
ebd3eeca55
CHEF-6412: Fix for virutalization resource undefined method file_read (#6947)
* Fix the undefined method file_read error which is causing virtualizaiton resource to set nil for virtualization platform check

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

* Adds unit test for virtualization resource detect podman container usind detect_container method.
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2024-01-24 18:32:06 +05:30
Vasundhara Jagdale
dc7631b8ac
Skip audit log test on Windows (#6950)
* Skip audit log test on Windows

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

* Fix the text in the audit log test

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

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2024-01-24 14:00:51 +05:30
Chef Expeditor
329eafa8f9 Bump version to 6.6.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-24 06:41:42 +00:00
Chef Expeditor
60e8a17290 Bump version to 6.6.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-24 06:39:33 +00:00
Nikita Mathur
7ac0f3d9d9
Fix to capture all the tests (it/its) within a control (#6912)
Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-01-24 12:09:20 +05:30
Nikita Mathur
7ac8ccf7c1
Unit tests added for enhanced outcomes (#6924)
Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-01-24 12:08:54 +05:30
Nikita Mathur
497fe04328
CHEF-4191 Waivers backward compatibility support with Chef Client (#6919)
* Initial commit to extend backward compatibilty support of waiver with chef client

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

* Changes in conditional checks using if instead of unless

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

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-01-24 12:08:29 +05:30
Chef Expeditor
25bbf1fad6 Update CHANGELOG.md with details from pull request #6933
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-24 06:33:28 +00:00
Nikita Mathur
75fe6a0e27
Unit tests added for iaf_file (#6933)
Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-01-24 12:02:31 +05:30
Chef Expeditor
37b2e1ded8 Update CHANGELOG.md with details from pull request #6918
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-24 06:28:20 +00:00
Ian Maddaus
0ea08b8fd8
Reorganize reusable text files (#6918)
* Reorganize reusable text files

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

* Update text

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

* update archetype

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

* Use text file

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

---------

Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2024-01-24 11:57:22 +05:30
Chef Expeditor
c968237824 Update CHANGELOG.md with details from pull request #6948
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-23 13:51:12 +00:00
Vasundhara Jagdale
e48e0c7786
Fix failing ssh_key test on Windows (#6948)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2024-01-23 19:20:13 +05:30
Chef Expeditor
5c15769f80 Update CHANGELOG.md with details from pull request #6944
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-22 15:22:31 +00:00
Vasundhara Jagdale
de83f17314
As there won't be more InSpec 4 release turning off dependabot for inspec-4 branch (#6944)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2024-01-22 20:51:29 +05:30
Chef Expeditor
a4d8d73e1f Bump version to 6.6.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-19 16:27:23 +00:00
Vasundhara Jagdale
b946f5454d
CHEF-3962: Adds ability to verify ssh keys (#6656)
* ssh_key resource file

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

* Initial commit for unit test for ssh_key resource

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

* Fix linting and added resource in resources file

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

* extend the ssh key resource to use file resource properties

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

* Updates the ssh_key resource to get length and type of key.

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

* Updates unit test for ssh_key resource.

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

* ADDS Docs for ssh_key resource

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

* Fix Review: Empty file handling

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

* Fixed review comments and few code refactoring for ssh_key resource

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

* Doc edits

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

* Updates test

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

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Co-authored-by: Ian Maddaus <ian.maddaus@progress.com>
2024-01-19 21:56:18 +05:30
Chef Expeditor
8af5834774 Update CHANGELOG.md with details from pull request #6945
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-19 09:56:30 +00:00
Vasundhara Jagdale
d1f9be7095
Temporarily turn off fetching of chef-licensing gem from artifactory to address checksum mismatch issue for mixlib-shellout gem.And make verify pipeline to work. (#6945)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2024-01-19 15:25:29 +05:30
Chef Expeditor
68ca8138bd Bump version to 6.6.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-04 17:26:33 +00:00
Nikita Mathur
565df5073d
CHEF-8990 Remove dependency on active-support function blank? (#6914)
* Removed usage of blank? to solve active-support gem issue (Issue in inspec-core)

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

* Linting fix

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

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
2024-01-04 12:25:26 -05:00
Chef Expeditor
b4d235d230 Update CHANGELOG.md with details from pull request #6922
Obvious fix; these changes are the result of automation not creative thinking.
2024-01-04 15:56:57 +00:00
Vasundhara Jagdale
0e45195d9c
Update package download url to use https (#6922)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2024-01-04 21:25:57 +05:30
Chef Expeditor
bf44ce19f2 Update CHANGELOG.md with details from pull request #6911
Obvious fix; these changes are the result of automation not creative thinking.
2023-12-19 11:10:57 +00:00
Ian Maddaus
b6c5cadb40
Set labeler action version (#6911)
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2023-12-19 16:39:55 +05:30
Chef Expeditor
070381fc69 Bump version to 6.6.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-12-19 08:18:20 +00:00