Commit graph

5336 commits

Author SHA1 Message Date
Sonu Saha
617f1634e3 CFINSPEC-85: Handle multiple mounts for docker container
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 10:51:06 +05:30
Chef Expeditor
26e197a3a5 Bump version to 5.10.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 18:41:51 +00:00
Sonu Saha
d66fcd039a CFINSPEC-86: Allow container id to test inspect attributes
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:21:22 +05:30
Sonu Saha
fbe78d0c93 CFINSPEC-86: Enhance docker_image with image inspect information
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:12:09 +05:30
Sonu Saha
20895030fa CFINSPEC-85: Allow have_volume to test with container id
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:08:29 +05:30
Sonu Saha
327d193a06 CFINSPEC-85: Handle exception for no mounted volumes
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 22:35:08 +05:30
Sonu Saha
e3295743f1 CFINSPEC-85: Extend docker_container with have_volume? matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 22:35:08 +05:30
Chef Expeditor
4f691564e4 Bump version to 5.10.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 14:25:15 +00:00
Chef Expeditor
0d2f6760eb Bump version to 5.10.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 14:15:34 +00:00
Clinton Wolfe
818f3dc6dc
Merge pull request #5938 from inspec/nm/oracle-empty-case
CFINSPEC-156 Oracle query fix when empty result
2022-03-23 10:13:57 -04:00
Chef Expeditor
9a77b1d5e5 Bump version to 5.10.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 13:50:19 +00:00
Clinton Wolfe
22f8e1a6e7
Merge pull request #5936 from inspec/nm/plugin-search-list-description
CFINSPEC-118 Description added in plugin list and search command
2022-03-23 09:48:36 -04:00
Chef Expeditor
b681a6e9aa Bump version to 5.10.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 13:45:22 +00:00
Clinton Wolfe
a15280fcc5
Merge pull request #5937 from inspec/vasundhara/fix-postgres-session-resource
CFINSPEC-154: postgres_session resource allow query errors to be treat as failures.
2022-03-23 09:44:06 -04:00
Chef Expeditor
829b9acf45 Bump version to 5.10.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 13:40:48 +00:00
Clinton Wolfe
03d0f2374b
Merge pull request #5935 from inspec/ss/resource-cgroup
CFINSPEC-73: Add cgroup resource
2022-03-23 09:39:32 -04:00
Chef Expeditor
1a75dcdcdd Bump version to 5.9.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 13:38:02 +00:00
Clinton Wolfe
4c351b00c8
Merge pull request #5931 from inspec/ss/resource-ppa
CFINSPEC-82: Add ppa resource
2022-03-23 09:36:48 -04:00
Sonu Saha
4f151bd72c CFINSPEC-73: Add unit test and relevant files for cgroup
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 08:40:34 +05:30
Sonu Saha
023f4275da CFINSPEC-73: Implement param match logic on dynamic valid queries
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 07:54:11 +05:30
Clinton Wolfe
d4aa361a83 Make cgroup work by using a static list. Also adjust cmd processing.
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-23 07:54:11 +05:30
Sonu Saha
c5a66f58a6 CFINSPEC-73: Initial draft of cgroup resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 07:54:11 +05:30
Nikita Mathur
0f4ccee07e Oracle session resource fix when empty results and zero rows
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-22 17:05:31 +05:30
Nikita Mathur
a8716f8dda More build fixes and pr review changes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-22 15:52:45 +05:30
Vasu1105
2d0d972d65 CFINSPEC-154: Updates postgres_session resource to raise exception only in case of connection and authentication error and allow any errors in query to be fetched using output property(keeping earlier behaviour).
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-22 15:12:44 +05:30
Nikita Mathur
7442ef1941 Description fetch logic added for user plugin listing and test cases
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-21 15:04:33 +05:30
Nikita Mathur
e2d8ee1167 Text case fixes for plugin list/search
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-21 14:01:43 +05:30
Chef Expeditor
14203c6243 Bump version to 5.8.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-19 20:37:25 +00:00
Clinton Wolfe
aaad62e362
Merge pull request #5921 from inspec/ss/resource-lxc
CFINSPEC-79: Add linux container resource
2022-03-19 16:36:16 -04:00
Chef Expeditor
44c1d524e4 Bump version to 5.7.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-19 20:28:04 +00:00
Clinton Wolfe
55fe4b21f4
Merge pull request #5796 from inspec/vasundhara/virtualization_resource
CFINSPEC-1 Adds the ability to detect the Kubernetes container and Podman container.
2022-03-19 16:26:47 -04:00
Nikita Mathur
0cf44d324e Comment added for description in inspec status
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:37:01 +05:30
Nikita Mathur
bcc71df9dd Test cases for plugin listing and search added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:27:45 +05:30
Nikita Mathur
9ecfad0122 Added gemspec file to core plugins to be used in plugin listing for description
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:27:11 +05:30
Nikita Mathur
9ae93eef34 Logic to add description in plugin listing and search
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:25:49 +05:30
Sonu Saha
def72decc2 CFINSPEC-82: RuboCup lint check
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-17 22:59:16 +05:30
Sonu Saha
dfb1ef817e CFINSPEC-82: Remove ppa resource deprecation for backward compatibility
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-17 22:59:16 +05:30
Chef Expeditor
273a081247 Bump version to 5.7.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-17 15:53:29 +00:00
Chef Expeditor
d6c0c3b76b Bump version to 5.7.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-16 16:33:51 +00:00
Sonu Saha
73920f76bc CFINSPEC-79: Raise exceptions and add relevant unit test for unsupported os
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-16 16:47:55 +05:30
Deepa Kumaraswamy
fe8a8b0016 doc review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-16 16:46:14 +05:30
Deepa Kumaraswamy
e473693690 doc review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-16 16:44:06 +05:30
Sonu Saha
36bf43f350 CFINSPEC-79: Add unit test and its related changes for lxc resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-16 15:34:47 +05:30
Sonu Saha
41ddceaa85 CFINSPEC-79: RuboCop linting for lxc.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-16 15:34:47 +05:30
Sonu Saha
24b8f13708 CFINSPEC-79: Initial draft for lxc resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-16 15:34:47 +05:30
Chef Expeditor
be0b8fd109 Bump version to 5.7.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-11 19:41:06 +00:00
Clinton Wolfe
02f97ac845
Merge pull request #5916 from inspec/RESOURCE-312-extend-filter-table
RESOURCE-312 extend filter table to lazy loading for resource instances
2022-03-11 14:39:54 -05:00
Chef Expeditor
04758a5fd2 Bump version to 5.7.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-11 19:37:48 +00:00
Clinton Wolfe
2241f49cca Default node_uuid to target_id like we did in 2018
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-11 11:29:28 -05:00
Clinton Wolfe
6f74a8ccfc Stylin
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-11 11:09:36 -05:00
Vasu1105
6e930303a4 Fix test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 17:31:08 +05:30
Vasu1105
adfe38c161 CFINSPEC-137: Set the target_id to blank string if unable to fetch it from train
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 15:47:50 +05:30
Vasu1105
ab01652ee2 CFINSPEC-137: Fix the failing test and lint for the --target-option deprication changes
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 15:47:50 +05:30
Vasu1105
8e85e2005b CFINSPEC-137: Deprecate --target-id option
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 15:47:50 +05:30
Chef Expeditor
a658bac10d Bump version to 5.7.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-11 09:56:06 +00:00
Sonu Saha
e070d0cbf3 Rename methods for cli_resource due to ambiguity with cli_plugin leading to test failure for plugin
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-11 13:08:58 +05:30
Sonu Saha
dc46fe9a73 Remove file.exists? deprecation in favor of file.exist?
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-11 13:07:55 +05:30
Chef Expeditor
dc99737283 Bump version to 5.7.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 20:41:28 +00:00
Clinton Wolfe
63a5fd26a6
Merge pull request #5597 from mitre/firewalld_update
Firewalld update -- exposed more fields, updated docs, added custom matchers
2022-03-10 15:40:17 -05:00
Chef Expeditor
56f81ee53c Bump version to 5.7.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 20:26:10 +00:00
Clinton Wolfe
b6b2fd385b
Merge pull request #5915 from inspec/nm/remove-cloud-resources
CFINSPEC-129 Removed cloud resources ( AWS & Azure ) from inspec-core
2022-03-10 15:24:59 -05:00
Chef Expeditor
b1f06ea35f Bump version to 5.7.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 19:17:00 +00:00
Clinton Wolfe
17c6010092
Merge pull request #5895 from inspec/vasundhara/support-generating-target-id
CFINSPEC-68 Adds target_id in the reporter.
2022-03-10 14:15:45 -05:00
Clinton Wolfe
9b78625b2f Fix some bugs found in lazy_instance implementation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 13:51:39 -05:00
Chef Expeditor
a7903574a2 Bump version to 5.7.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 17:23:47 +00:00
Clinton Wolfe
06c30ac536
Merge pull request #5913 from inspec/ss/feature-resource-generator
CFINSPEC-128 : Create a resource generator
2022-03-10 12:22:21 -05:00
Vasu1105
72ba700669 CFINSPEC-68 Fix test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-10 20:45:23 +05:30
Vasu1105
2561fd3b43 CFINSPEC-68 Adds target_id in the reporter under platform data.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-10 20:45:23 +05:30
Chef Expeditor
9fe26f4bc9 Bump version to 5.7.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 14:42:42 +00:00
Clinton Wolfe
571d84fabd
Merge pull request #5914 from inspec/vasundhara/add-entitlement-id-to-profile-metadata-file
CFINSPEC-26: Adds entitlement_id field in metadata file
2022-03-10 09:41:18 -05:00
Chef Expeditor
118a032b84 Bump version to 5.7.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 14:39:00 +00:00
Sonu Saha
2c4ea72a36 CFINSPEC-128 : Modify warning message for existing directory case
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
d78acc03ba Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
bbdbc5c6b7 Remove old TODO message
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
c39329b82f Add a plural resource template
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
ed4fffe8d3 Add template option to control which template set to use
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
22f7e7c222 Add a layout option to control core vs resource pack layout
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
1160716a12 Cleanup - remove DS_Store files, unused functional test template
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
638522f0e0 Working unit tests, holey moley
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
6a39ed74a1 Enable overwrite mode
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
d54c52a932 Noninteractive mode works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
3061d48fc2 Add path option
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
c4a98e6a6d Update doc template with property and matcher
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
f013e29eb0 Add properties and matchers to resource template; add wishlist
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Sonu Saha
81a04aacd5 CFINSPEC-128 Initial draft of resource generator
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
e3108aabf0
Merge pull request #5891 from inspec/vasundhara/add-cron-resource
CFINSPEC-74 Adds the cron resource.
2022-03-10 09:37:23 -05:00
Chef Expeditor
270ad5fa4b Bump version to 5.6.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 14:36:30 +00:00
Sathish
07545a8058
assume lazy caller always resonds to resource instance
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 20:04:57 +05:30
Nikita Mathur
9e1ef742f8 Test cases fixed and new test cases added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-10 19:24:52 +05:30
Nikita Mathur
39081c51ba Docs removed of inspec-core and some changes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-10 19:24:52 +05:30
Nikita Mathur
41ba05f901 Removed aws and azure resources, unit and integration tests
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-10 19:24:52 +05:30
Nikita Mathur
7f4271e216 Error handling for deprecated aws and azure resources
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-10 19:24:52 +05:30
Sathish
b082a5cabf
Merge branch 'main' of github.com:inspec/inspec into RESOURCE-312-extend-filter-table 2022-03-10 19:24:28 +05:30
Sathish
ec47508fbd
execute lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:18:27 +05:30
Sathish
77de4644c5
execute filter table for populate lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:17:43 +05:30
Sathish
33d54348dc
populate lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:16:48 +05:30
Sathish
047d54994a
find lazy instance callbacks
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:16:19 +05:30
Sathish
d2bdac6ff4
find lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:15:51 +05:30
Vasu1105
195de004e1 CFINSPEC-26: Adds entitlement_id field in metadata file
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-10 13:26:13 +05:30
Chef Expeditor
438daafb4b Bump version to 5.6.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 00:45:31 +00:00
Clinton Wolfe
4a63319840
Merge pull request #5871 from inspec/vasundhara/support-profile-gem-dependency
CFINSPEC-13:  Adds support for specifying gem dependencies in the metadata file of InSpec Profile.
2022-03-09 19:44:05 -05:00
Chef Expeditor
c72ddefbf3 Bump version to 5.5.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 00:40:37 +00:00
Chef Expeditor
2042299520 Bump version to 5.5.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-09 23:03:47 +00:00
Clinton Wolfe
a7fc842255 Doc edits
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-09 15:36:32 -05:00
Chef Expeditor
d9db9df4d7 Bump version to 5.5.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-09 17:51:34 +00:00
Will Dower
23d1749ee8 merging in master
Signed-off-by: Will Dower <wdower@mitre.org>
2022-03-07 15:53:10 -05:00
Chef Expeditor
4fef4dc950 Bump version to 5.5.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-07 15:30:01 +00:00
Clinton Wolfe
32c9f567f4
Merge pull request #5863 from inspec/nm/progress-bar
CFINSPEC-10 Added Progress Bar streaming reporter plugin
2022-03-07 10:28:39 -05:00
Vasu1105
28143592d2 Fixed minor docs typos.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-07 12:10:38 +05:30
Chef Expeditor
5874c19900 Bump version to 5.4.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-06 16:09:12 +00:00
Clinton Wolfe
924c0a24c8
Merge pull request #5903 from inspec/nm/resource_id-3
CFINSPEC-70 resource_id support take 3
2022-03-06 11:07:52 -05:00
Chef Expeditor
4bb6423886 Bump version to 5.4.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 22:16:38 +00:00
Chef Expeditor
88d5a6a92e Bump version to 5.4.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 22:00:47 +00:00
Vasu1105
c73dec70a7 CFINSPEC-13 Added exception handling for Gem BadRequirement error.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 21:16:18 +05:30
Clinton Wolfe
4594719be5 Fix for broken resource_id fetch when resource_title turns out, horrifyingly, to be a string
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 09:16:32 -05:00
Clinton Wolfe
3d8f5f9553 Revert "Revert "CFINSPEC-70 Added resource_id attribute for the custom resources in the base class""
This reverts commit 302bccf732.
2022-03-04 09:15:52 -05:00
Clinton Wolfe
c32f48ca88 Linting, sigh
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00
Clinton Wolfe
524aa15af0 Add validation and testing for the same
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00
Clinton Wolfe
84e25c2dbe Issue warning for inspec archive when profiles contain gem deps
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00
Vasu1105
9e15ebac1a CFINSPEC-13: Added option --auto-install-gems to work with both inspec exec and inspec check command.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
30f44b0462 CFINSPEC-13: Resolved the Unable to resolve gem dependency error on linux, Adds code to handle the loading of gems in the inspec check and fixed the test.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
9a561bce54 CFINSPEC-13: Adds code to handle all kinds of version constraint and improved installed gem search logic for the version constraint.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
b3f4c9c70a CFINSPEC-13 Added check so that the adding gem to vendor set block will get called on Windows. Renamed the metadata file parameter name to provide gem dependencies.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
dbdc1223c4 CFINSPEC-13: Adds venendor gem in the managed gem set which partially fix the issue of resolving dependecies on Windows.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
fa1d08c792 Updated the default version string.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
b1ce116ebb CFINSPEC-13: Adds the support to load the gem dependencies from dependent profiles.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
e3ef2cb912 CFINSPEC-13: Adds the ability to install and load the gem depedencies specified in the metadata file of profile/resource pack.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Chef Expeditor
c5ac267ab4 Bump version to 5.4.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 05:34:14 +00:00
Clinton Wolfe
302bccf732
Revert "CFINSPEC-70 Added resource_id attribute for the custom resources in the base class" 2022-03-03 23:48:32 -05:00
Chef Expeditor
f769b7019d Bump version to 5.4.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 18:55:37 +00:00
Sonu Saha
f4f70f55ed CFINSPEC-66 : Add condition to skip ipfilter resource for darwin instead of failure
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:38:22 -05:00
Sonu Saha
7c0ff452b1 CFINSPEC-66 : Add ipfilter to resources.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:38:22 -05:00
Sonu Saha
a854374b66 CFINSPEC-66 : Correct supports platform for ipfilter
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:35 -05:00
Sonu Saha
da875f7083 CFINSPEC-66 : Fix to_s method for ipfilter
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:35 -05:00
Sonu Saha
d07773f742 CFINSPEC-66 : Fix variable name for ipfilter
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:34 -05:00
Sonu Saha
f4efe5d0c3 CFINSPEC-66 : Fix RuboCop lint for ipfilter.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:34 -05:00
Sonu Saha
7c874e67df CFINSPEC-66 : Add Ipfilter resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:34 -05:00
Chef Expeditor
136a805c1e Bump version to 5.3.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 18:31:27 +00:00
Sonu Saha
f7bff9b1b5 CFINSPEC-77 : Add condition to skip ipnat resource for darwin instead of failure
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
832cb3582b CFINSPEC-77 : Add ipnat to resources.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
36f6206424 CFINSPEC-77 : Correct supports platform for ipnat
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
7b2d076899 CFINSPEC-77 : Add Ipnat resource-cleanup
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
dbfb5418fc CFINSPEC-77 : Fix RuboCop lint for ipnat.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Sonu Saha
437abc866c CFINSPEC-77 : Add ipnat resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:16:28 -05:00
Chef Expeditor
96832435ae Bump version to 5.2.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 17:33:29 +00:00
Nikita Mathur
bb410b812c resource_id key added in json-automate/json reporter and exec-json schema
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 12:30:14 -05:00
Nikita Mathur
607d765d16 Subtle fix in resource_id definition and documentation updated
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 12:26:13 -05:00
Nikita Mathur
1e292900bd Resource id method changed to instance method and documentation added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 12:26:13 -05:00
Nikita Mathur
8b8b4db2b2 Resource id attribute added for the resources in the base class
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 12:26:13 -05:00
Chef Expeditor
f9914628dc Bump version to 5.1.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 16:36:54 +00:00
Chef Expeditor
808e90d38a Bump version to 5.1.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 15:04:45 +00:00
Clinton Wolfe
8ec9bd040c
Merge pull request #5893 from inspec/nm/automate-version-fix
CFINSPEC-123 Automate version command fix
2022-03-03 10:03:19 -05:00
Chef Expeditor
433f37198f Bump version to 5.1.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 14:39:38 +00:00
Nikita Mathur
0fbc556cd6 Buildkite fixes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 13:56:33 +05:30
Nikita Mathur
d11e5dd1af Automate version command fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-02 17:04:23 +05:30
Vasu1105
993211c9b4 CFINSPEC-74 Adds the cron resource.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-28 19:42:33 +05:30
Chef Expeditor
2fd78531d5 Bump version to 5.1.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-28 00:59:38 +00:00
Chef Expeditor
39e80084df Bump version to 5.1.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-28 00:51:10 +00:00
Clinton Wolfe
2844453d38
Merge pull request #5884 from mitre/no-diff-fix
No diff fix
2022-02-27 19:49:40 -05:00
Chef Expeditor
acbe8b4a42 Bump version to 5.1.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-28 00:44:47 +00:00
Aaron Lippold
abe27392e9 linting
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-02-25 21:34:01 -05:00
Aaron Lippold
5e20a170da signed the commit
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-02-25 19:45:05 -05:00
Aaron Lippold
feb727920b Merge remote-tracking branch 'origin' into no-diff-fix 2022-02-25 19:25:04 -05:00
Will Dower
1af5764659 removed pry statement
Signed-off-by: Will Dower <wdower@mitre.org>
2022-02-25 16:16:56 -05:00
Will Dower
22944c33b8 fixed bug in --no-diff behavior
Signed-off-by: Will Dower <wdower@mitre.org>
2022-02-25 16:06:15 -05:00
Chef Expeditor
37b585ad37 Bump version to 5.1.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-24 15:04:48 +00:00
Clinton Wolfe
b63907a374
Merge pull request #5793 from inspec/nm/ssl-cert-winrm
CFINSPEC-2 Added options to allow winrm SSL connection with certificates
2022-02-24 10:03:18 -05:00
Nikita Mathur
5a3c964b7d Changed underscore options of cli with hyphen and added 2 options that can be additionally used for ssl auth winrm
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-24 15:08:20 +05:30
Nikita Mathur
29d6c112f3 Initial commit for winrm ssl auth - options added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-24 14:21:43 +05:30
Chef Expeditor
1cb8f61d4b Bump version to 5.0.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-24 02:43:39 +00:00
Clinton Wolfe
7595d2b815
Merge pull request #5790 from mitre/descriptions
Descriptions for all the schema attributes
2022-02-23 21:42:07 -05:00
Amndeep Singh Mann
042d586ce4 Merge branch 'descriptions' of https://github.com/mitre/inspec into descriptions 2022-02-22 23:43:15 -05:00
Amndeep Singh Mann
5ea67ef7d2 fixed linting
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2022-02-22 23:42:59 -05:00
Chef Expeditor
14db8ff057 Bump version to 5.0.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-21 18:19:59 +00:00
Nikita Mathur
bf116e9517 Test cases added for streaming progress bar reporter
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-21 17:58:21 +05:30
Chef Expeditor
4a1e7131b4 Bump version to 5.0.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-21 00:32:55 +00:00
Chef Expeditor
b44ddb7666 Bump version to 5.0.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-20 22:08:36 +00:00
Nikita Mathur
a9ff421ea0 Documentation added for progress-bar reporter option
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-18 19:23:40 +05:30
Nikita Mathur
479f21d4da Exception handling in progress bar streaming reporter
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-18 18:47:48 +05:30
Nikita Mathur
2a51cb3604 Streaming reporter with progress bar functionality added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-18 18:11:16 +05:30
Vasu1105
87f5da5912 CFINSPEC-38: Fix test failing after release branch update.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-18 11:54:59 +05:30
Chef Expeditor
4d28aa484c Bump version to 5.0.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-17 21:33:14 +00:00
Chef Expeditor
4c80bd346c Bump version to 5.0.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-17 20:20:37 +00:00
Chef Expeditor
3ce1a3f450 Bump version to 5.0.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-17 16:03:34 +00:00
Chef Expeditor
1664769758 Bump version to 4.56.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-16 14:57:49 +00:00
Clinton Wolfe
f8eb07c6f0
Merge pull request #5822 from inspec/vasundhara/ruby-3-support
CFINSPEC-17 Ruby 3 support
2022-02-16 09:56:21 -05:00
Chef Expeditor
03cd3f295d Bump version to 4.56.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-16 14:53:45 +00:00
Chef Expeditor
23608622a2 Bump version to 4.56.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-16 14:51:13 +00:00
Chef Expeditor
b688576adc Bump version to 4.56.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-16 14:48:47 +00:00
Chef Expeditor
ba380b27c6 Bump version to 4.56.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-16 14:46:15 +00:00
Clinton Wolfe
adccec55ad
Merge pull request #5845 from inspec/ss/resolve-sonar-cloud-bugs
Resolve bugs detected on SonarCloud
2022-02-16 09:45:56 -05:00
Chef Expeditor
b3a5977792 Bump version to 4.56.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-16 14:43:48 +00:00
Clinton Wolfe
ac4d3fad6e
Merge pull request #5836 from inspec/nm/init-plugin-streaming-reporter
CFINSPEC-43 Init plugin functionality extended for streaming_reporter
2022-02-16 09:43:38 -05:00
Sonu Saha
44c1cada99 CFINSPEC-44 : Add missing description to result info table in result.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:51:49 +05:30
Sonu Saha
13dfe5b29a CFINSPEC-44 : Add missing description to profile info table in profile.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:47:41 +05:30
Sonu Saha
e8c6bbdbfb CFINSPEC-44 : Add missing description to Tag table in control.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:32:52 +05:30
Sonu Saha
06f5ccc4e9 CFINSPEC-44 : Add missing header to table displaying tags in control.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:29:56 +05:30
Sonu Saha
6e9fa3dbd0 CFINSPEC-44 : Add missing description to Control table in control.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:20:12 +05:30
Sonu Saha
a71986d86e CFINSPEC-44 : Add missing description to Control Statistics table in body.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:14:23 +05:30
Sonu Saha
93fb41b3c2 CFINSPEC-44 : Add missing description to Platform Information table in body.html.erb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-02-15 20:12:33 +05:30
Chef Expeditor
e5a194dd86 Bump version to 4.56.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-11 14:39:43 +00:00
Nikita Mathur
c17a4eca92 Streaming reporter plugin functional test added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-11 15:54:30 +05:30
Nikita Mathur
ef99fd6114 Init plugin functionality extended for new activator type streaming_reporter
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-10 18:52:21 +05:30
Vasu1105
7e23f0993a Fix the uninitialized constant error on Windows for Set.new
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-10 11:22:32 +05:30
Chef Expeditor
4da2fc0d10 Bump version to 4.56.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 09:38:01 +00:00
Chef Expeditor
bafa65c453 Bump version to 4.56.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 09:23:55 +00:00
Clinton Wolfe
a9960f9b81
Merge pull request #5829 from inspec/nm/streaming-reporters
CFINSPEC-9 Added support for streaming reporters
2022-02-09 04:19:39 -05:00
Chef Expeditor
6cccdf9687 Bump version to 4.56.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 09:11:48 +00:00
Clinton Wolfe
6d04576331
Merge pull request #5828 from inspec/vasundhara/fix_sestatus_command_for_amazon_linux
CFINSPEC-30 Fix sestatus command not found error on Amazon Linux 2
2022-02-09 04:10:31 -05:00
Chef Expeditor
e82a4270cc Bump version to 4.56.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 08:54:37 +00:00
Chef Expeditor
fc0c534e80 Bump version to 4.55.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-09 08:52:18 +00:00
Clinton Wolfe
c065e923c3
Merge pull request #5782 from inspec/nm/kernel-params
CFINSPEC-3 Added kernel_parameters resource
2022-02-09 03:52:01 -05:00
Nikita Mathur
006f68beb9 Comment cleanup in streaming reporter implementation class
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-08 19:21:16 +05:30
Vasu1105
0d7f2c11fd Updated the condition to only verify the amazon linux os.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-08 14:04:22 +05:30
Amndeep Singh Mann
94352776b2
Merge branch 'inspec:main' into descriptions 2022-02-04 19:30:34 -05:00
Nikita Mathur
edddb92f76 Basic test case added for streaming reporter plugin type
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-02-04 17:28:09 +05:30
Clinton Wolfe
062172dde9 Add a streming reporter plugin type, with a silly example
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-03 11:34:53 -05:00
Clinton Wolfe
88733fc100 Untested bootstrapping of streaming reporter plugin, which does not exist yet
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-02-03 10:39:29 -05:00
Vasu1105
c989e512ca Fixes CFINSPEC-30: Fix for sestatus command not found error on Amazon Linux 2
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-02 14:46:48 +05:30
Chef Expeditor
bc6e62aa4d Bump version to 4.55.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-01 21:13:10 +00:00
Clinton Wolfe
cd4f0b59a0
Merge pull request #5816 from inspec/vasundhara/allow-core-resource-inheritance
CFINSPEC-15 Allows inheritance of core resource into the custom resource.
2022-02-01 16:11:44 -05:00
Chef Expeditor
8fdce7c2ea Bump version to 4.55.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-01 20:55:54 +00:00
Chef Expeditor
1918681d93 Bump version to 4.55.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-02-01 20:53:22 +00:00
Vasu1105
d8798eca83 add custom resource in the registry at the reloading of dsl
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-31 19:10:27 +05:30
Nikita Mathur
ec35c6042a Fix to capture non indented grub conf values
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-01-24 19:19:43 +05:30
Chef Expeditor
4cf83b2995 Bump version to 4.55.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-21 13:34:04 +00:00
Chef Expeditor
7470362b61 Bump version to 4.55.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-21 13:31:29 +00:00
Chef Expeditor
8d165bd015 Bump version to 4.55.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 15:10:18 +00:00
Clinton Wolfe
34f4ffa19f
Merge pull request #5777 from inspec/nm/ip-table-rule
IP Table resource: Added option to ignore rule comments
2022-01-20 10:08:29 -05:00
Chef Expeditor
b80621594c Bump version to 4.55.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 15:07:44 +00:00
Clinton Wolfe
004b9a10e3
Merge pull request #5799 from inspec/nm/insecure-dependent
Fix for dependent profiles to run with --insecure
2022-01-20 10:05:24 -05:00
Chef Expeditor
be54e9e6e8 Bump version to 4.55.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 15:05:04 +00:00
Chef Expeditor
652845b10d Bump version to 4.55.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 15:02:24 +00:00
Clinton Wolfe
7c5d41c91d
Merge pull request #5797 from inspec/nm/pkg-version-fix
Latest package version fetching regex fix - Package resource
2022-01-20 10:00:51 -05:00
Chef Expeditor
0e8c71ec0c Bump version to 4.55.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 14:55:52 +00:00
Clinton Wolfe
19fb98f00f
Merge pull request #5775 from inspec/vasundhara/add_new_property_file_resource
Adds user_permissions property and be_inherited matcher to the file resource for Windows.
2022-01-20 09:54:20 -05:00
Chef Expeditor
7fc38281b0 Bump version to 4.54.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-20 14:53:15 +00:00
Nikita Mathur
7c76555b32 Fix to pass insecure flag to dependent profiles using runner conf
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-01-17 18:42:33 +05:30
Nikita Mathur
9b6637fe73 Package version fetch regex fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-01-12 18:08:13 +05:30
Vasu1105
56c388f099 Renamed the matcher to be_inherited.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
96249f24af Renamed users_permissions to user_permissions and added docs.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
4bfef5281f Renamed the file_permissions property to users_permission
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
53ef84c8dd Adds property file_permissions and be_inherit matcher to the file resource for Windows.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
bc9cdc1219 Renamed the matcher to be_inherited.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:25:45 +05:30
Vasu1105
084bf70392 Adds user_permissions property to list user or group permissions on registry key and adds be_inherit matcher to check whether inheritance is enabled on the registry key
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:25:44 +05:30
Vasu1105
cd893ce1eb Adds the check to detect the kubepods and podman container.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 12:59:45 +05:30
Chef Expeditor
01bc7afc7a Bump version to 4.53.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:46:58 +00:00
Clinton Wolfe
3664b0c47d
Merge pull request #5758 from inspec/nm/timezone-resource
Added Timezone Resource
2022-01-09 20:45:15 -05:00
Chef Expeditor
830f57785a Bump version to 4.52.17 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:30:41 +00:00
Clinton Wolfe
97c4002e82
Merge pull request #5771 from inspec/nm/package-latest
Check for latest - package resource
2022-01-09 20:28:55 -05:00
Chef Expeditor
1f3aab9ee1 Bump version to 4.52.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:26:53 +00:00
Clinton Wolfe
07c8036efb
Merge pull request #5776 from inspec/nm/msssql-newlines-fields-fix
Mssql session fix : Parsing multiline results
2022-01-09 20:25:07 -05:00
Chef Expeditor
d4ccbb80b9 Bump version to 4.52.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:21:25 +00:00
Chef Expeditor
ec4fd3584e Bump version to 4.52.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:18:29 +00:00
Chef Expeditor
bf40836295 Bump version to 4.52.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:15:15 +00:00
Chef Expeditor
5b308c2a7d Bump version to 4.52.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:12:17 +00:00
Clinton Wolfe
2bedb1a669
Merge pull request #5783 from inspec/eol_ruby25
Remove support for EOL Ruby 2.5
2022-01-09 20:12:00 -05:00
Chef Expeditor
c77469592a Bump version to 4.52.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-01-10 01:04:21 +00:00
Vasu1105
ee9b167fb0 Adds esx platform support for bash resource
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-05 20:08:32 +05:30
Nikita Mathur
1956744fd6 Class name fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-01-04 14:29:12 +05:30
Tim Smith
48ff852289 Remove support for EOL Ruby 2.5
With the release of Ruby 3.1, Ruby 2.5 is now EOL. We should not be supporting an EOL release of Ruby.

Signed-off-by: Tim Smith <tsmith@chef.io>
2021-12-31 22:54:53 -05:00
Nikita Mathur
4b9692c6fd Added kernel parameters resource
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-31 14:57:57 +05:30
Chef Expeditor
69e07bf93b Bump version to 4.52.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-29 00:35:39 +00:00
Nikita Mathur
13b8eceff8 Ip tables ignore rules comments option added for the resource
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-27 18:19:08 +05:30
Nikita Mathur
5a3c73b521 Fix for parsing faulty multiline results
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-24 16:41:53 +05:30
Nikita Mathur
b0794c2262 Latest package info test cases for resource
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-21 16:40:58 +05:30
Amndeep Singh Mann
2c01ffb754 provided a different example status for a profile in an exec_json since 'loaded' is different from the other usual possibilities and also is going to be the presumably most common status
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2021-12-20 12:31:26 -05:00
Nikita Mathur
ff2f7f4b7b Matcher be_latest added for package resource and documentation
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-20 18:07:23 +05:30
Chef Expeditor
b3d7bfa0cc Bump version to 4.52.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-20 02:31:49 +00:00
Vasu1105
13fa3e930d Raises error for Connection error.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-17 16:28:10 +05:30
Vasu1105
b4ccc15121 Adds tls1.3 support in ssl resource.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-17 16:28:10 +05:30
Chef Expeditor
81a4516890 Bump version to 4.52.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-16 14:28:32 +00:00
Clinton Wolfe
d05140adbf
Merge pull request #5759 from inspec/vasundhara/add-option-for-ssh-config-file
Add option to set ssh config file path for ssh transport
2021-12-14 07:54:31 -05:00
Chef Expeditor
9d0689adca Bump version to 4.52.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-14 12:54:20 +00:00
Clinton Wolfe
a8170b257c
Merge pull request #5757 from inspec/vasundhara/add_proxy_parameter_to_http_resource
Add proxy parameter to http resource
2021-12-14 04:30:06 -05:00
Chef Expeditor
ea4d703d89 Bump version to 4.52.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-14 09:27:39 +00:00
Chef Expeditor
de4806a650 Bump version to 4.52.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-14 09:25:30 +00:00
Clinton Wolfe
991eea7f59
Merge pull request #5765 from inspec/nm/alpine-pkgs-fix
Fix: Alpine packages list command to only list installed packages
2021-12-14 04:24:13 -05:00
Vasu1105
304593e5c8 Add option to set ssh config file path for ssh transport
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-14 11:58:50 +05:30
Chef Expeditor
46dc7ad5b6 Bump version to 4.52.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-13 17:19:55 +00:00
Nikita Mathur
2d798c3b32 Fix: Alpine packages list command to only list installed packages
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-13 16:02:18 +05:30
Vasu1105
b19b8ba55d Fixed lint and failing test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-13 11:39:59 +05:30
Vasu1105
af5c7924b3 Add proxy parameter to http resource.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-13 11:39:59 +05:30
Chef Expeditor
e56de7680c Bump version to 4.52.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-13 06:08:15 +00:00
Amndeep Singh Mann
9f98ea0ecd descriptions for the profile
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2021-12-09 23:08:38 -05:00
Amndeep Singh Mann
9ecfe11344 descriptions for exec-jsonmin
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2021-12-09 19:18:06 -05:00
Amndeep Singh Mann
6598c4049e removed a future tense phrasing
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2021-12-09 19:10:29 -05:00
Amndeep Singh Mann
a50f58d155 Added descriptions to all the primitive and exec_json schema objects
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2021-12-09 19:07:59 -05:00
Nikita Mathur
4743da84f7 Added windows platform support for timezone resource
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-07 18:16:46 +05:30
Nikita Mathur
4008af0be8 Implemented timezone resource to test timezone configuration values
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-06 14:38:15 +05:30
Chef Expeditor
bf1a2b1296 Bump version to 4.52.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-06 08:43:53 +00:00
Clinton Wolfe
e37b3c38a3
Merge pull request #5717 from inspec/nm/oracle-session-nil
Oracle session fix when nil in query output
2021-12-06 03:42:01 -05:00
Chef Expeditor
d76d49ef4a Bump version to 4.52.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-06 08:41:28 +00:00
Chef Expeditor
0264d83ae6 Bump version to 4.52.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-06 08:32:17 +00:00
Clinton Wolfe
a39de6cc6c
Merge pull request #5749 from inspec/nm/private-supermarket
Implemented CLI option for executing private supermarket profiles
2021-12-06 03:30:47 -05:00
Nikita Mathur
5203e114e6 Doc review changes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-03 17:59:56 +05:30
Chef Expeditor
aaed395571 Bump version to 4.51.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-01 16:29:28 +00:00
Nikita Mathur
2dad0c5cf6 Linter test fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-30 16:25:31 +05:30
Nikita Mathur
06779f02e4 Oracle session fix when nil in query output
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-30 16:25:31 +05:30
Chef Expeditor
939547b703 Bump version to 4.51.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-30 08:50:10 +00:00