Commit graph

10732 commits

Author SHA1 Message Date
Deepa Kumaraswamy
e507443c77 Review Doc
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-05-17 12:51:42 +05:30
Sonu Saha
a0a6a39bb0 CFINSPEC-81: Add supports platform check
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-17 12:51:42 +05:30
Sonu Saha
f16b948bdc CFINSPEC-81: Handle situation for integer config values
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-17 12:51:42 +05:30
Sonu Saha
120bf0ab9a CFINSPEC-81: Add documentation for php_config
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-17 12:51:42 +05:30
Sonu Saha
b4f52dff23 CFINSPEC-81: Add unit test for php_config
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-17 12:51:42 +05:30
Sonu Saha
7c3cddbc84 CFINSPEC-81: Add php_config resource with value property
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-17 12:51:42 +05:30
Chef Expeditor
bf06bebdff Bump version to 5.16.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-17 06:05:50 +00:00
Chef Expeditor
8cbab96ae7 Bump version to 5.16.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-17 06:03:51 +00:00
Vasundhara Jagdale
b1c1b1bc92
Merge pull request #5991 from inspec/ss/enhance-processes-resource
CFINSPEC-92: Enhance `processes` resource
2022-05-17 06:01:55 +00:00
Chef Expeditor
dcdf9c99c9 Bump version to 5.16.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-17 06:01:41 +00:00
Vasundhara Jagdale
0978c8c274
Merge pull request #6045 from inspec/ss/enhance-host-resource
CFINSPEC-90: Enhance `host` resource
2022-05-17 06:01:15 +00:00
Vasundhara Jagdale
a0fba6d46d
Merge pull request #6018 from inspec/ss/add-x509_private_key-resource
CFINSPEC-84: Add `x509_private_key` resource
2022-05-17 06:00:03 +00:00
Vasu1105
f8ea910f32 Fixed lint errors
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-17 11:25:13 +05:30
Clinton Wolfe
bcdf0c735e
Merge pull request #6061 from inspec/cw/sign-docs-2
CFINSPEC-153 InSpec Sign - Docs take 2
2022-05-17 00:02:05 -04:00
Clinton Wolfe
ef0ec3a245 Fix some grammar issues
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-17 00:01:00 -04:00
Chef Expeditor
c953ca6f9a Bump version to 5.15.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-17 03:23:03 +00:00
Clinton Wolfe
1d4e70ede5
Merge pull request #6057 from inspec/vasundhara/gem-dependency-version-issue
CFINSPEC-252: Fix profile gem dependency installation is failing when  gem version is not specified
2022-05-16 23:21:52 -04:00
Jeremiah Snapp
b4a5f54517
Merge pull request #6062 from inspec/jsnapp/fix-omnibus-test.ps1
Fix omnibus-test.ps1
2022-05-16 22:32:35 -04:00
Jeremiah Snapp
b04760b7f9 Fix omnibus-test.ps1
Use Throw instead of Exit to ensure the CI job fails when a command has
a non-zero exit code.

Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2022-05-16 16:55:16 -04:00
Deepa Kumaraswamy
461c992808 edits
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-05-16 17:58:29 +05:30
Vasu1105
4893472322 Handle the exception in case the keyname is not in proper format for signed profile.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-16 15:33:38 +05:30
Deepa Kumaraswamy
c66cb3406a Doc Review
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-05-13 20:46:52 +05:30
Deepa Kumaraswamy
d49f3c5f45 doc review
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-05-13 20:26:58 +05:30
Deepa Kumaraswamy
6ef2eae488 doc review
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-05-13 19:55:49 +05:30
Deepa Kumaraswamy
833a437e92 Doc review
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-05-13 19:15:25 +05:30
Clinton Wolfe
3cfbd83974 Add YAML export example
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 08:28:06 -04:00
Clinton Wolfe
19b63c6b82 Rough draft of inspec sign documentation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 08:27:53 -04:00
Clinton Wolfe
fca941fdab Merge branch 'vasundhara/sign-profile-binary-format' of github.com:inspec/inspec into vasundhara/sign-profile-binary-format 2022-05-13 08:27:13 -04:00
Vasu1105
bee69410ca CFINSPEC-255: Add --profile-content-id option to inspec sign profile command
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 16:34:48 +05:30
Vasu1105
a78164927f Fixes lint failure and test failures which was causing as it's enable to modify the Frozen String literal.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
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