Commit graph

10380 commits

Author SHA1 Message Date
Clinton Wolfe
5592f22e78 Add ability to export metadata and README
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-09 15:08:07 -04:00
Clinton Wolfe
a83dae4a2a Add validation options for --what and --format, add (failing) tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-09 14:17:05 -04:00
Vasu1105
39375af741 CFINSPEC-191: export profile in yaml format with basic information
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-06 16:56:30 +05:30
Vasu1105
29def55515 CFINSPEC-192: Alias inspec json command to inspec export --format json
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-06 12:48:23 +05:30
Vasu1105
637f6e263f Fix failing test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-06 11:36:33 +05:30
Vasundhara Jagdale
b7db4b438e
Merge pull request #6035 from inspec/cw/sign-misc-fixes-2
InSpec Sign: Several small bugs and usability fixes
2022-05-06 02:09:18 +00:00
Clinton Wolfe
de87080987 Several small bugs and usability fixes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-05 19:33:19 -04:00
Vasu1105
cdb7cc5bdb Fixed failing test and adds test for signed dependent profile
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:52 +05:30
Vasu1105
49924f793b Fix for test failure
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:52 +05:30
Clinton Wolfe
bd60d1f2bc Fetch validation keys from GitHub if possible
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-05 22:00:52 +05:30
Clinton Wolfe
80eab84944 Look for signing and validation keys in user and source directories
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-05 22:00:52 +05:30
Clinton Wolfe
348de371f9 Fix log output, don't use temp dir
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-05 22:00:52 +05:30
Vasu1105
f908361f11 Fixed typo
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-05 22:00:52 +05:30
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