Commit graph

5189 commits

Author SHA1 Message Date
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