Commit graph

10393 commits

Author SHA1 Message Date
Clinton Wolfe
0b587a98af Add ability to export metadata and README
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
0553b7a359 Add validation options for --what and --format, add (failing) tests
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Vasu1105
81b05dfc2d CFINSPEC-191: export profile in yaml format with basic information
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
b64857358a CFINSPEC-192: Alias inspec json command to inspec export --format json
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
28f6eec56a Fix failing test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
47bc41cd2c Several small bugs and usability fixes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Vasu1105
3f22d899fb Fixed failing test and adds test for signed dependent profile
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
56b8306e34 Fix for test failure
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
913e6215d4 Fetch validation keys from GitHub if possible
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
0ec4461756 Look for signing and validation keys in user and source directories
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
29034b6b9d Fix log output, don't use temp dir
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Vasu1105
9c2fa3f012 Fixed typo
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
6da6c85e54 Refactored code to use existing archive command to archive the file.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
c937573763 Adds test to execute signed profile.
Fixes failing test.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
9ef83bfce8 Updated to generate binary format of the signed profile
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
6bb06eee5f Adds class iaf_file to validate the signed profile
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
d7b0d69e29 CFINSPEC-146: Enable direct execution of signed profiles
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
f0c868759d Renamed the method for validating header
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
9454821d7c CFINSPEC-183: Rename artifact commands to inspec sign
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
bfa781b8ec CFINSPEC-167: Adds profile version check for signed profiles
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
cd5fde279a CFINSPEC-167: Store the signed profile in binary format
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Chef Expeditor
bcd99943d7 Bump version to 5.15.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-12 14:49:54 +00:00
Clinton Wolfe
673000d64c
Merge pull request #6056 from inspec/vasundhara/fix-json-output-inputs
CFINSPEC-250: Fix for inspec json command does not populate the inputs for the profile
2022-05-12 10:48:38 -04:00
Vasu1105
e5e9bb0608 CFINSPEC-250: Fix for inspec json command does not populate the attribues/inputs for the profile
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-12 13:34:32 +05:30
Jeremiah Snapp
e1a1360bfc
Merge pull request #6049 from inspec/jsnapp/IPACK-192-use-new-windows-builders
Update omnibus and omnibus-software in Gemfile.lock
2022-05-09 20:39:09 -04:00
Jeremiah Snapp
9c4b2e1921 Update omnibus and omnibus-software in Gemfile.lock
Uses new omnibus Windows builders.

Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2022-05-09 19:58:14 -04:00
Chef Expeditor
172ab5e49a Bump version to 5.15.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-06 13:29:04 +00:00
Clinton Wolfe
e62d10fabc
Merge pull request #6004 from inspec/ss/enhance-zfs-resource
CFINSPEC-96: Add `zfs` resource
2022-05-06 09:28:01 -04:00
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
Deepa Kumaraswamy
a63f4049e3 review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-05-04 16:14:35 +05:30
Deepa Kumaraswamy
ca952c00bb review-wip
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-05-04 16:14:35 +05:30
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
Sonu Saha
8ea7a2ae41 CFINSPEC-96: Fix typo and modify classname appropriately
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-01 12:22:31 +05:30
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
Sonu Saha
96d9b2fcdb CFINSPEC-96: Add documentation for zfs resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-21 21:42:16 +05:30
Sonu Saha
ada1eaefcc CFINSPEC-96: Handle corner case and add comments
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-21 21:17:27 +05:30
Sonu Saha
038d284f32 CFINSPEC-96: Add unit test for zfs resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-21 21:06:46 +05:30