Commit graph

11334 commits

Author SHA1 Message Date
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
Nikita Mathur
18847ac69d
Fix CI test for windows (#6913)
* Skip functional tests to match exit code for mandatory profile signing error in windows

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

* Addded comment to clarify skipping exit code matching test in windows

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

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
2023-12-19 13:47:10 +05:30
Sonu Saha
b79ad46e5a
Fix examples for file resource provided in docs (#6899)
* Update docs and introduce test for file content

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

* TEST: Fix broken test due to changes in fixture

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

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-12-13 18:38:52 +05:30
Chef Expeditor
325c647826 Bump version to 6.6.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-12-13 09:39:22 +00:00
Vasundhara Jagdale
17bd3115b2
Reduce version pinning (#6873)
* Remove pinning of version for dependencies in test environment

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

* Remove version pinning of minitest and html-proofer

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

* html-proofer still breaks the 3.0 ruby verify pipeline so reverting the removal of version pinning for html-proofer

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

* Revert "Remove version pinning of minitest and html-proofer"

This reverts commit f816289f39.

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

* Remove the dependency on html-proofer gem as it's only used in single test.

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

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-12-13 15:07:57 +05:30
Chef Expeditor
b7aea02452 Update CHANGELOG.md with details from pull request #6872
Obvious fix; these changes are the result of automation not creative thinking.
2023-12-13 08:29:46 +00:00
Vasundhara Jagdale
bfb6a34ba7
Upgrades openssl version to 3.0.11 (#6872)
Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-12-13 13:58:30 +05:30
Chef Expeditor
cb5cbd4f20 Update CHANGELOG.md with details from pull request #6910
Obvious fix; these changes are the result of automation not creative thinking.
2023-12-13 08:24:44 +00:00
Sonu Saha
d5a5813f1f
ci: increase timeout for buildkite (#6910)
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-12-13 13:53:28 +05:30
Chef Expeditor
79330432ba Bump version to 6.6.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2023-12-12 15:25:49 +00:00
Vasundhara Jagdale
f7f35594bc
Upgrade declared minimum ruby version in gemspec from 2.4.0 to 3.0.3 (#6790)
* Upgrade ruby version in gempsec file

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

* Update to support ruby >= 3.0.3

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

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2023-12-12 20:54:28 +05:30