Commit graph

10367 commits

Author SHA1 Message Date
Vasu1105
f028ebf88d Refactored code to use existing archive command to archive the file.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:52 +05:30
Vasu1105
d2f41d2ba3 Adds test to execute signed profile.
Fixes failing test.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:52 +05:30
Vasu1105
07c21c53c9 Updated to generate binary format of the signed profile
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:52 +05:30
Vasu1105
6b7041376a Adds class iaf_file to validate the signed profile
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:52 +05:30
Vasu1105
89aaa621d4 CFINSPEC-146: Enable direct execution of signed profiles
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:52 +05:30
Vasu1105
e46a0af425 Renamed the method for validating header
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:51 +05:30
Vasu1105
c7d902875a CFINSPEC-183: Rename artifact commands to inspec sign
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:51 +05:30
Vasu1105
967dbfca56 CFINSPEC-167: Adds profile version check for signed profiles
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:51 +05:30
Vasu1105
46c497eaa1 CFINSPEC-167: Store the signed profile in binary format
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:51 +05:30
Chef Expeditor
79f11561fb Bump version to 5.14.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-05 00:17:10 +00:00
Clinton Wolfe
175370818a
Merge pull request #6030 from inspec/cw/add-source-keys
Add a sample validation key, to be used in testing key fetching
2022-05-04 20:15:18 -04:00
Clinton Wolfe
f584fbef9e Add a sample validation key, to be used in testing key fetching
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-04 20:14:03 -04:00
Chef Expeditor
709372bac2 Bump version to 5.14.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-03 00:42:33 +00:00
Clinton Wolfe
ecf60dd52c
Merge pull request #6020 from inspec/dependabot/bundler/omnibus/main/berkshelf-8.0.0
Bump berkshelf from 7.2.2 to 8.0.0 in /omnibus
2022-05-02 20:41:19 -04:00
dependabot[bot]
87fccdcc6c
Bump berkshelf from 7.2.2 to 8.0.0 in /omnibus
Bumps [berkshelf](https://github.com/RiotGames/berkshelf) from 7.2.2 to 8.0.0.
- [Release notes](https://github.com/RiotGames/berkshelf/releases)
- [Changelog](https://github.com/berkshelf/berkshelf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/RiotGames/berkshelf/commits)

---
updated-dependencies:
- dependency-name: berkshelf
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 04:32:15 +00:00
Chef Expeditor
f32cd8ee4c Bump version to 5.14.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-28 01:00:50 +00:00
Clinton Wolfe
fa19d29bc8
Merge pull request #5998 from inspec/ss/fix-service-resource-for-amazon-linux-issue-5809
Fix for issue 5809 Service checks failing on Amazon linux 2022
2022-04-27 20:59:27 -04:00
Chef Expeditor
9f8a6282cc Bump version to 5.14.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-28 00:49:45 +00:00
Clinton Wolfe
f2a6f73b56
Merge pull request #6000 from inspec/vasundhara/update-docs-for-inspec-check
CFINSPEC-185: Updates inspec check cli docs to include --with-cookstyle option
2022-04-27 20:48:43 -04:00
Chef Expeditor
be0e7ad233 Bump version to 5.14.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-28 00:46:47 +00:00
Clinton Wolfe
1d26b3906f
Merge pull request #5999 from inspec/ss/enhance-directory-resource
CFINSPEC-88: Extend `file` resource documentation with be_mounted matcher
2022-04-27 20:45:47 -04:00
Chef Expeditor
a50ab3d14e Update CHANGELOG.md with details from pull request #5990
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-28 00:42:46 +00:00
Clinton Wolfe
cb0a6c8197
Merge pull request #5990 from turrisxyz/setup-permissions
chore: Set permissions for GitHub actions
2022-04-27 20:41:50 -04:00
Deepa Kumaraswamy
6424181b7e doc review
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-04-25 18:24:46 +05:30
Chef Expeditor
6de4a02a60 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-21 22:06:28 +00:00
Deepa Kumaraswamy
0f41e5777f doc review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-04-21 18:01:00 +05:30
Vasu1105
f38068183c CFINSPEC-185: Updates inspec check cli docs to include --with-cookstyle option
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-04-21 05:01:19 +05:30
Sonu Saha
9b3900350a CFINSPEC-88: Extend documentation with be_mounted matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-20 21:45:07 +05:30
Chef Expeditor
b98a802be3 Bump version to 5.14.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-20 13:24:55 +00:00
Clinton Wolfe
d27b70ac23
Merge pull request #5988 from inspec/ss/add-linuxauditsystem-resource
CFINSPEC-78: Add `linux_audit_system` resource
2022-04-20 09:23:42 -04:00
Sonu Saha
a8fb7bba1d Issue-5809: Fix for service resource on amazon linux
Commented out unit test for Amazon 1 Linux

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-20 16:52:07 +05:30
Sonu Saha
d9b527201b Issue-5809: Initial fix for service resource on amazon linux
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-20 15:26:22 +05:30
Deepa Kumaraswamy
2429469876 doc review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-04-19 17:44:07 +05:30
Sonu Saha
238e445ad4 CFINSPEC-78: Fix errors in documentation
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:07 +05:30
Sonu Saha
75170c94ba CFINSPEC-78: Add documentation for the resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:07 +05:30
Sonu Saha
e7726bf7c2 CFINSPEC-78: Complete unit test for the resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:07 +05:30
Sonu Saha
6d8fbbb543 CFINSPEC-78: Add comments for new matchers & property
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:07 +05:30
Sonu Saha
2e243617a5 CFINSPEC-78: Add rules property for the resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:07 +05:30
Sonu Saha
be4e6f7594 CFINSPEC-78: Add unit test for be_enabled and be_running
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:01 +05:30
Sonu Saha
117c9230e9 CFINSPEC-78: Add be_running matcher for the resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:29:15 +05:30
Sonu Saha
bef163f75b CFINSPEC-78: Add be_enabled matcher for the resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:29:15 +05:30
Chef Expeditor
1e911232f1 Bump version to 5.13.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 22:07:20 +00:00
Clinton Wolfe
bfb02ce8a2
Merge pull request #5987 from inspec/ss/enhance-group-resource
CFINSPEC-89: Enhance `group` resource
2022-04-18 18:06:20 -04:00
Chef Expeditor
bb14bfd5f5 Bump version to 5.13.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 22:05:14 +00:00
Clinton Wolfe
7fddb8c772
Merge pull request #5981 from inspec/ss/enhance-service-resource
CFINSPEC-93: Enhance `service` resource
2022-04-18 18:04:16 -04:00
Chef Expeditor
f3346506a0 Bump version to 5.13.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 22:00:19 +00:00
Clinton Wolfe
387e3d25c8
Merge pull request #5986 from inspec/ss/enhance-file-resource
CFINSPEC-87: Enhance `file` resource
2022-04-18 17:59:19 -04:00
Chef Expeditor
3ce59700e3 Bump version to 5.13.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 21:47:27 +00:00
Clinton Wolfe
984ebc4075
Merge pull request #5989 from inspec/vasundhara/fix-compliance-profile-upload
CFINSPEC-181: Fix unable to upload inspec compliance profile using to…
2022-04-18 17:46:25 -04:00
Deepa Kumaraswamy
762b1a4ae6 doc review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-04-18 18:35:31 +05:30