Commit graph

10613 commits

Author SHA1 Message Date
Sonu Saha
9d7c468fa5 CFINSPEC-90: Extend existing ipaddress property for windows
to include the ipv6 addresses as well

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 22:41:08 +05:30
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
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
Sonu Saha
3b03d6eb70 CFINSPEC-95: Add doc for new matchers & properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 16:30:17 +05:30
Sonu Saha
7fd4e76efb CFINSPEC-95: Extend unit test for have_purpose matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 16:21:19 +05:30
Sonu Saha
0bbea5eac5 CFINSPEC-95: Fix indentation
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 15:57:27 +05:30
Sonu Saha
82b86064d6 CFINSPEC-95: Add unit test for new matchers & properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 15:55:16 +05:30
Sonu Saha
d72933a252 CFINSPEC-95: Modify have_purpose matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 15:54:05 +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
Sonu Saha
b6f40113d5 CFINSPEC-95: Modify subject_alt_names property
to use existing code

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 12:13:29 +05:30
Sonu Saha
d759dd258c CFINSPEC-95: Add subject_alt_names property
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 11:53:22 +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
Sonu Saha
0cd343a3cc CFINSPEC-95: Alias keylength to key_length
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-05 15:37:39 +05:30
Sonu Saha
597a8d9177 CFINSPEC-95: Add exception handling for have_purpose matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-05 15:32:42 +05:30
Sonu Saha
322e057f05 CFINSPEC-95: Add have_purpose matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-05 15:26:19 +05:30
Sonu Saha
95c864092d CFINSPEC-95: Add email property
email property is an alias of subject.emailAddress property

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-05 13:10:42 +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
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
Sonu Saha
875e99099e CFINSPEC-92: Extend be_running matcher
to consider sleep state to be running

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-03 10:47:40 +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
b087b4b38f CFINSPEC-84: Fix typo in unit test comment
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-01 12:31:51 +05:30
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
Sonu Saha
c80c55299d CFINSPEC-84: Add documentation for x509_private_key
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-29 12:47:50 +05:30
Sonu Saha
b9125c3ac2 CFINSPEC-84: Fix lint offenses
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-29 10:03:42 +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