Commit graph

5336 commits

Author SHA1 Message Date
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
Clinton Wolfe
948b274d4c
Merge pull request #5744 from inspec/nm/alpine-support
Target support for Alpine Linux
2021-11-30 03:48:33 -05:00
Chef Expeditor
e4d213dacc Bump version to 4.50.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-30 08:46:16 +00:00
Nikita Mathur
8f06362cab Test cases and documentation added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-29 19:12:30 +05:30
Nikita Mathur
e663d29e5c Implemented supermarket_url option for executing private supermarket profiles
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-26 18:11:48 +05:30
Nikita Mathur
e122d34a3d Alpine support extended for os based resources
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-24 17:13:54 +05:30
Chef Expeditor
8c69a93d20 Bump version to 4.50.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:33:38 +00:00
Chef Expeditor
8b5066fb60 Bump version to 4.50.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:30:38 +00:00
Chef Expeditor
6371e3e709 Bump version to 4.50.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:27:38 +00:00
Chef Expeditor
4584c2e722 Bump version to 4.50.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:24:41 +00:00
Clinton Wolfe
93fe4eda33
Merge pull request #5742 from inspec/vasundhara/fix_ibmdb2_session_resource
Fix ibmdb2_session resource : Added double quotes around the IBM db2 query
2021-11-23 22:22:28 -05:00
Chef Expeditor
5636a7c9af Bump version to 4.50.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:21:39 +00:00
Chef Expeditor
bb9979f080 Bump version to 4.50.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:19:17 +00:00
Vasu1105
f308129346 Added double quotes around the ibmdb2 query
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-11-23 12:01:16 +05:30
Chef Expeditor
f686733235 Bump version to 4.50.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 07:05:49 +00:00
Clinton Wolfe
8730e4acf0
Merge pull request #5606 from zofrex/fix-service-enable-check-freebsd
Fix FreeBSD service enabled check substring edge-case
2021-11-20 02:04:17 -05:00
Chef Expeditor
f48ceb3c1b Bump version to 4.50.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 07:01:02 +00:00
Chef Expeditor
d0e4a544e3 Bump version to 4.50.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 06:31:58 +00:00
Chef Expeditor
552ac86825 Bump version to 4.50.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 06:29:19 +00:00
Chef Expeditor
5cd85e0c20 Bump version to 4.50.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 06:25:12 +00:00
Chef Expeditor
f33e77287c Bump version to 4.50.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-19 04:40:43 +00:00
Chef Expeditor
df21e9951e Bump version to 4.50.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-18 04:38:31 +00:00
Chef Expeditor
221c504822 Bump version to 4.50.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-16 07:17:37 +00:00
Clinton Wolfe
6ecbc67642 Disable cookstyle integration when local system is Windows
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-11-15 23:55:22 -05:00
Clinton Wolfe
8aad4abe0c Add a simple proc to detect windows locally
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-11-15 23:55:22 -05:00
Chef Expeditor
f32b8f7983 Bump version to 4.50.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-16 01:13:20 +00:00
Kimberly Garmoe
b3b470548c
Merge pull request #5697 from inspec/vasundhara/add-http-for-windows
Add Windows support for http resource.
2021-11-15 17:12:02 -08:00
Chef Expeditor
1ebbd546fb Bump version to 4.49.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-13 06:47:12 +00:00
Chef Expeditor
65e4a34c9d Bump version to 4.49.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-13 04:35:03 +00:00
Chef Expeditor
9ec33a2ce0 Bump version to 4.49.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-25 23:33:52 +00:00
Clinton Wolfe
497cf9ab98
Merge pull request #5618 from inspec/nm/check-cookstyle
Integrate InSpec check with Cookstyle
2021-10-25 19:32:45 -04:00
Chef Expeditor
97b816100e Bump version to 4.48.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-25 22:35:43 +00:00
Clinton Wolfe
45d638e224
Merge pull request #5704 from inspec/vasundhara/fix-winodws-firewall-resource
Fix windows_firewall resource fails to validate more than 1 rule depending on how it's executed
2021-10-25 18:34:30 -04:00
Chef Expeditor
de0b384b2e Bump version to 4.48.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-25 22:12:27 +00:00
Clinton Wolfe
43f22cba0f
Merge pull request #5327 from inspec/ns/fully_waived
InSpec Waivers: --filter-waived-controls
2021-10-25 18:11:15 -04:00
Chef Expeditor
ea2ff64285 Bump version to 4.47.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-22 23:18:19 +00:00
Nikita Mathur
2df4f7e433 Fix oracle db session resource issue of csv comma delimiter and sudo invocation message issue
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-22 14:10:51 +05:30
Vasu1105
e78f58fa5a Remove TypeData command was causing error when its called in the same session which was resulting into windows_firewall resource was not working correctly locally when we have more than one describe block.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-10-22 12:43:02 +05:30
Clinton Wolfe
43980e438d
Merge branch 'main' into ns/fully_waived 2021-10-20 17:51:09 -04:00
Chef Expeditor
c391ca349b Bump version to 4.47.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-19 13:14:38 +00:00
Nikita Mathur
e5f2ede389 Oracle fix when invoking query using os user and db role
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-19 14:43:50 +05:30
Vasu1105
c8495965d8 Fixed indentation and lint issues
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-10-13 19:27:29 +05:30
Vasu1105
f35eef20ff Adds windows support for http resource. Adopted PR #5280. Updated the code to handle post request,
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-10-13 18:26:38 +05:30
James 'zofrex' Sanderson
c3b0310315 Fix broken regex
Signed-off-by: James 'zofrex' Sanderson <zofrex@gmail.com>
2021-10-13 08:57:51 +01:00
James 'zofrex' Sanderson
acf5a2c955 Fix Rubocop issues
Signed-off-by: James 'zofrex' Sanderson <zofrex@gmail.com>
2021-10-13 08:57:51 +01:00
James 'zofrex' Sanderson
41ea0da4a9 Fix FreeBSD service enabled check substring edge-case
* Now services named a suffix of another service don't have false positives for being enabled
* Use new 'enabled' service command on FreeBSD 10+

Signed-off-by: James 'zofrex' Sanderson <zofrex@gmail.com>
2021-10-13 08:57:51 +01:00
Chef Expeditor
648afbb6fa Bump version to 4.47.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-13 01:15:56 +00:00
Chef Expeditor
134ddfcbb5 Bump version to 4.47.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-13 01:13:30 +00:00
Chef Expeditor
8dc23ce7e1 Bump version to 4.47.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-13 01:11:03 +00:00
Chef Expeditor
d37b123bf6 Bump version to 4.47.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-13 01:07:19 +00:00
Clinton Wolfe
0bfb0bc648
Merge pull request #5667 from inspec/nm/group-user-sensitive
Group & User Resources - Resolve name case-sensitivity issue for windows
2021-10-12 21:05:57 -04:00
Nikita Mathur
09550ed7f3 User groups made case insensitive for user resource for include matcher
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-07 13:32:36 +05:30
Chef Expeditor
9a78b1dbe0 Bump version to 4.47.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 03:08:29 +00:00
Chef Expeditor
c86031c237 Bump version to 4.47.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 02:54:48 +00:00
Chef Expeditor
be800bd741 Bump version to 4.47.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 02:39:57 +00:00
Chef Expeditor
62a1e24a2c Bump version to 4.47.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 02:14:02 +00:00
Chef Expeditor
1bf5275aad Bump version to 4.46.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 01:59:23 +00:00
Clinton Wolfe
a79be0ca96
Merge pull request #5683 from inspec/nm/cassandra-resource
Add support for Cassandra DB
2021-10-05 21:55:24 -04:00
Chef Expeditor
4f4cfeb2fc Bump version to 4.46.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 00:28:33 +00:00
Nikita Mathur
62b0d211fa Windows user fetched in user resource without case sensitivity
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-05 15:36:35 +05:30
Nikita Mathur
eb7e7305f4 Members and members array made case insensitive for group resources
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-05 15:36:35 +05:30
Nikita Mathur
964fdacbee Resolve case sensitivity issues with group name in group resource for windows platform
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-05 15:36:35 +05:30
Vasu1105
9b66e2830c Merge branch 'add-http-for-windows-2' of github.com:mbaitelman/inspec into add-http-for-windows 2021-10-01 16:03:55 +05:30
Nikita Mathur
8546595f30 Review changes and build fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-01 14:43:37 +05:30
Nikita Mathur
b4ca1914c4 Add support for Cassandra DB resources
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-30 16:09:08 +05:30
Nikita Mathur
ced270725d Change after code review on cookstyle check
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-29 13:23:35 +05:30
Nikita Mathur
1de38f3b13 Build fix for archive and vendor tests due to cookstyle offenses
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-29 13:23:35 +05:30
Nikita Mathur
ab1d423a35 Use only inspec cops of cookstyle gem
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-29 13:23:35 +05:30
Nikita Mathur
bedde88849 Integrate inspec check with cookstyle
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-29 13:23:35 +05:30
Chef Expeditor
e5b7bcf4b9 Bump version to 4.46.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-28 12:19:40 +00:00
Clinton Wolfe
baf653282a
Merge pull request #5671 from inspec/vasundhara/fix-opa-resources
Fix opa_cli and opa_api resource unable to verify empty result {}
2021-09-28 08:18:09 -04:00
Chef Expeditor
37a7889407 Bump version to 4.46.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-28 12:15:35 +00:00
Vasu1105
04c1af6a24 Fixed lint
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-09-28 12:13:18 +05:30
Vasu1105
3e9223d603 Fixed lint and failing test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-09-28 11:57:21 +05:30
Vasu1105
761fa4338e Fix - controls option was not working for depedent profile
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-09-28 11:19:04 +05:30
Chef Expeditor
ac07060c12 Bump version to 4.46.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-28 04:40:30 +00:00
Chef Expeditor
7493e26e47 Bump version to 4.46.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-28 04:37:02 +00:00
Clinton Wolfe
993c9d9225
Merge pull request #5657 from inspec/nm/tags-dependent
Fix --tags filter for dependent profiles
2021-09-28 00:35:32 -04:00
Chef Expeditor
2e23f13d11 Bump version to 4.46.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-28 04:32:22 +00:00
Clinton Wolfe
86e7da02a1
Merge pull request #5664 from inspec/nm/postgres-socket
Add option in `postgres_session` resource to establish socket connection
2021-09-28 00:30:49 -04:00
Chef Expeditor
b6076e0649 Bump version to 4.46.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-28 04:27:18 +00:00
Clinton Wolfe
f65b8375d8
Merge pull request #5665 from inspec/vasundhara/csv-resource-without-headers-support
Add csv without headers support in csv resource
2021-09-28 00:25:43 -04:00
Chef Expeditor
28ad8ed4d0 Bump version to 4.46.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-22 16:04:53 +00:00
Chef Expeditor
079de2a49a Bump version to 4.46.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-22 14:34:24 +00:00
Chef Expeditor
5b7f023368 Bump version to 4.46.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-22 14:16:35 +00:00
Vasu1105
63e7eb5395 Fix opa_api and opa_cli resource to handle empty result
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-09-22 16:23:12 +05:30
sspans-sbp
b8677ac51f Add rocky and almalinux to service resource
Signed-off-by: Sten Spans <sspans@schubergphilis.com>
2021-09-22 12:18:08 +02:00
Vasu1105
cc0d86a185 Add csv without headers support in csv resource
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-09-16 15:56:07 +05:30
Nikita Mathur
bdde8ffc3b Add optional parameter to establish socket based connection with postgres
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-16 13:06:07 +05:30
Nikita Mathur
a43f646c14 Code review changes - Improvisation on setting conf value of control eval context from dsl
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-14 14:03:38 +05:30
Chef Expeditor
f09d49da66 Bump version to 4.46.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-13 23:14:10 +00:00
Chef Expeditor
c6150f24cb Bump version to 4.46.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-13 18:59:33 +00:00
Chef Expeditor
a350803137 Bump version to 4.46.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-13 18:56:45 +00:00
Clinton Wolfe
19c1e39155
Merge pull request #5645 from inspec/vasundhara/update-code-to-remove-2.4
Update code to remove ruby 2.4 support
2021-09-13 14:54:54 -04:00
Chef Expeditor
d84f4e746e Bump version to 4.46.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-13 18:51:49 +00:00
Chef Expeditor
f49a2bcfd9 Bump version to 4.46.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-13 18:41:11 +00:00
Clinton Wolfe
49cd6883b9
Merge pull request #5589 from collinmcneese/cmcneese/chrony_conf
adds chrony_conf InSpec resource
2021-09-13 14:39:34 -04:00
Chef Expeditor
1e61237657 Bump version to 4.45.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-13 18:36:28 +00:00
Clinton Wolfe
ceaef891bb
Merge branch 'main' into nm/oracle-conf 2021-09-13 14:33:51 -04:00
Chef Expeditor
99a6d185a0 Bump version to 4.44.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-13 18:29:38 +00:00
Clinton Wolfe
dfbba4eeab
Merge pull request #5614 from inspec/vasundhara/add_ibmdb2_support
Add ibmdb2_conf and ibmdb2_session resource
2021-09-13 14:27:57 -04:00