Chef Expeditor
a855c7a555
Bump version to 4.37.22 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-31 22:39:46 +00:00
Clinton Wolfe
e198120cf7
Merge pull request #5534 from inspec/nm/compliance-remove-support
...
Removed support for compliance and a1 server from InSpec compliance
2021-05-31 18:38:13 -04:00
Chef Expeditor
003bee3036
Bump version to 4.37.21 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-31 22:08:01 +00:00
Clinton Wolfe
e841b576ad
Merge pull request #5536 from inspec/vasundhara/update-inspec-init-plugin
...
Update inspec init plugin
2021-05-31 18:06:39 -04:00
Nikita Mathur
3eea2b055a
Fix related to loading dependent profiles from a profile in shell
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-31 21:38:35 +05:30
Vasu1105
849536a63a
Minor updates rename activator to activators in some places
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-26 06:21:50 +05:30
Nikita Mathur
6ce9c04232
Check added for automate server 2 for server presence
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-25 17:47:48 +05:30
Vasu1105
0d1c82dae2
Dev docs for inspec init plugin
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-25 09:55:54 +05:30
Vasu1105
6a45164e87
Updated to use Inspec.deprecate instead of log to deprecate the --hook option
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-24 18:05:18 +05:30
Vasu1105
a3feab0943
Handles string for for descripiton parsing
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-24 16:50:37 +05:30
Vasu1105
cb573e6050
Fix typo
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-24 15:45:35 +05:30
Vasu1105
14906ec1cd
Update inspec init plugin to deprecate --hook option and replace it with --activators. Make alias for backword compatibility
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-24 15:43:33 +05:30
Vasu1105
ee6fd1b158
Fix multiline descripition issue of not parsing the data correctly
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-24 14:53:48 +05:30
Vasu1105
39303635e9
Fix failing test
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-21 18:51:08 +05:30
Vasu1105
bc15deab93
Update inspec init plugin:
...
1. To use double quotes as per chefstyle
2. Template files renamed to .erb
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-21 18:04:26 +05:30
Chef Expeditor
b84d4607d6
Bump version to 4.37.20 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-20 18:57:52 +00:00
Chef Expeditor
df4f6ad375
Bump version to 4.37.19 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-20 18:54:45 +00:00
Clinton Wolfe
ceeb6c7d3d
Merge pull request #5530 from inspec/nm/detect-no-color
...
Bugfix for `inspec detect --no-color` to not return colourful output
2021-05-20 14:52:20 -04:00
Chef Expeditor
7e4e0f33fd
Bump version to 4.37.18 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-20 18:51:49 +00:00
Clinton Wolfe
a8dcc727a0
Merge pull request #5529 from inspec/nm/stale-automate-urls
...
Added new automate doc link for login tokens in `inspec automate login --help` command
2021-05-20 14:49:59 -04:00
Nikita Mathur
dcb99872ff
Removed support for compliance and a1 server from inspec compliance
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-20 17:12:22 +05:30
Nikita Mathur
3e06280f01
Replaced api doc from compliance help command with the relevant doc link
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-19 18:00:42 +05:30
Chef Expeditor
66a372d715
Bump version to 4.37.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-19 12:19:45 +00:00
Nikita Mathur
209948d3fd
no color change where no ansi code is used at all
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-19 14:39:10 +05:30
Chef Expeditor
9922dc0504
Bump version to 4.37.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-18 19:44:35 +00:00
Chef Expeditor
fb14f9d667
Bump version to 4.37.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-18 19:38:50 +00:00
Clinton Wolfe
85ecf5373d
Merge pull request #5522 from inspec/vasundhara/fix-for-port-resource
...
Fix for port resource performance: adding more specific search while using ss command
2021-05-18 15:37:01 -04:00
Chef Expeditor
a75bf41a04
Bump version to 4.37.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-18 19:30:57 +00:00
Clinton Wolfe
cab833b88f
Merge pull request #5519 from inspec/nm/file-resource-bug
...
Changes returns nil on file non-existence through matcher `more_permissive_than`
2021-05-18 15:28:32 -04:00
Chef Expeditor
470aff4b77
Bump version to 4.37.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-18 19:27:51 +00:00
Nikita Mathur
f9659bfaf0
Test cases and color code changes for no-color option in detect cmd
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-18 16:09:42 +05:30
Nikita Mathur
38fd0ef56b
inspec detect --no-color to not give colorful output
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-17 16:02:03 +05:30
Nikita Mathur
3fd2c57a5a
Added new automate doc link for login tokens
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-17 14:30:49 +05:30
Nikita Mathur
483853ab81
To return only nil when file does not exist
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-17 13:48:17 +05:30
Vasu1105
9786a467f1
Fix lint errors
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-17 11:12:27 +05:30
Vasu1105
08f2fcf4bb
Fix for port resource performance: adding more specific search while using ss command
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-17 11:12:26 +05:30
Chef Expeditor
1e96f31a0c
Bump version to 4.37.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-16 21:18:11 +00:00
Chef Expeditor
44c4bf9a86
Bump version to 4.37.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-16 21:15:09 +00:00
Chef Expeditor
d0369f5271
Bump version to 4.37.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-16 20:58:53 +00:00
Chef Expeditor
17ebbe2033
Bump version to 4.37.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-16 20:56:18 +00:00
Kannan Ramakrishnan
feb12fef77
Fixed a typo in variable name. Signed-off-by: @kannanr <kannaa.ram@gmail.com>
2021-05-15 18:53:39 +05:30
Kannan Ramakrishnan
d1831a318c
Lint errors handled. Signed-off-by: @kannanr <kannaa.ram@gmail.com>
2021-05-15 17:48:19 +05:30
Kannan Ramakrishnan
19c624cf38
Support zfs_pool and zfs_dataset resources on Linux. Handled #5075 . Signed-off-by: @kannanr <kannaa.ram@gmail.com>
2021-05-15 12:18:39 +05:30
Chef Expeditor
54763c61d7
Bump version to 4.37.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:56:05 +00:00
Chef Expeditor
b90ed7b7a3
Bump version to 4.37.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:53:43 +00:00
Clinton Wolfe
e49fa72836
Merge pull request #5506 from jwdean/master
...
Modified windows_feature to indicate enabled rather than just available
2021-05-10 16:52:26 -04:00
Chef Expeditor
86e14edb7f
Bump version to 4.37.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:50:28 +00:00
Chef Expeditor
bd687439a3
Bump version to 4.37.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:47:58 +00:00
Clinton Wolfe
af14795d22
Merge pull request #5508 from inspec/dependabot/bundler/chefstyle-tw-2.0.3
...
Update chefstyle requirement from ~> 1.7.1 to ~> 2.0.3
2021-05-10 16:46:39 -04:00
Chef Expeditor
c6b9f2438a
Bump version to 4.37.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:44:12 +00:00
Chef Expeditor
fa56c4587b
Bump version to 4.37.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:41:32 +00:00
Clinton Wolfe
26c4ad243b
Merge pull request #5509 from inspec/nm/automate-login-verify
...
Fixed `automate login` fake feedback on failure
2021-05-10 16:40:16 -04:00
Chef Expeditor
be47bcbc20
Bump version to 4.37.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:36:48 +00:00
Clinton Wolfe
9511c1aaeb
Merge pull request #5510 from inspec/nm/http-utf8
...
HTTP resource response body coerced into UTF-8
2021-05-10 16:35:24 -04:00
Chef Expeditor
0fe9c02da9
Bump version to 4.37.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-10 20:25:33 +00:00
Nikita Mathur
174a358355
Body content of http resourece - enforced utf-8
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-10 13:05:44 +05:30
Nikita Mathur
a23dd75ae7
Better test name for automate login invalid token
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-10 13:04:34 +05:30
Nikita Mathur
ca4cc26319
Automate login to validate token before storing configurations
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-10 13:04:34 +05:30
Clinton Wolfe
02e8e9cc9c
Ran chefstyle -a
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-09 23:59:04 -04:00
Chef Expeditor
76926c6c27
Bump version to 4.37.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-05 16:16:59 +00:00
Clinton Wolfe
e7cc5e94f2
Merge pull request #5490 from inspec/nm/inspec-automate
...
Added alias command `automate` for `inspec compliance`
2021-05-05 12:14:30 -04:00
Chef Expeditor
04e5f456eb
Bump version to 4.36.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-05 16:14:07 +00:00
Chef Expeditor
8b59d942aa
Bump version to 4.36.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-05 16:11:07 +00:00
Nikita Mathur
39680e7926
Chef automate product name changes in messages
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-05 17:57:31 +05:30
jwdean
6bcef24cbc
Modified windows_feature to indicate enabled rather than just available
...
There are three conditions a windows feature may be in as represented by DISM:
1. Available in the OS and enabled
dism returns 0 and dism output of state = 'Enabled'
2. Available in the OS but disabled
dism returns 0 and dism output of state != 'Enabled'
3. Not available
dism returns != 0
This change, in effect, modifies the meaning of installed == true to represent that the feature is both available and enabled.
installed == false will now indicate the feature is either unavailable or disabled.
The prior implementation indicated the feature was available, but did not recognize the it might be disabled. The most logical use for an InSpec evaluation of a Windows Feature seems to be determining if the feature is enabled or disabled rather than simply available. This updated implementation better represents that goal.
----------
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the
best of my knowledge, is covered under an appropriate open
source license and I have the right under that license to
submit that work with modifications, whether created in whole
or in part by me, under the same open source license (unless
I am permitted to submit under a different license), as
Indicated in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including
all personal information I submit with it, including my
sign-off) is maintained indefinitely and may be redistributed
consistent with this project or the open source license(s)
involved.
Signed-off-by: Jeff Dean <jwdean@scriptpro.com>
2021-05-04 15:05:52 -05:00
Nikita Mathur
6d140b89b6
Review changes related to inspec compliance to be treated as backward compatible alias
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-04 19:04:54 +05:30
Vasu1105
95656f97da
Remove TypeData command was causing error when its called in the same session which was resulting into windows_firewall_rule was not working correctly locally when we have more than one describe block for windows_firewall_rule resource
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-04 09:22:19 +00:00
Chef Expeditor
f479aa644c
Bump version to 4.36.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-04 01:05:00 +00:00
Clinton Wolfe
1e2b0e79c1
Merge pull request #5487 from inspec/vasundhara/fix_depedent_control_errors
...
Fix undefined method `+' for nil:NilClass\n\nProfile: - when using profile dependencies and require_controls
2021-05-03 21:03:27 -04:00
Chef Expeditor
c07513ebe9
Bump version to 4.36.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-04 00:55:03 +00:00
Chef Expeditor
ca0a56b1ad
Bump version to 4.36.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-04 00:52:22 +00:00
Chef Expeditor
0589d2434d
Bump version to 4.36.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-03 21:03:04 +00:00
Nikita Mathur
072a8c438f
Presenting automate command as alias in both the content and dev docs
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-03 13:45:56 +05:30
Chef Expeditor
7100701a93
Bump version to 4.36.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-03 00:40:52 +00:00
Nikita Mathur
a4d822ae43
Inspec automate command extended for compliances
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-30 17:20:03 +05:30
Vasu1105
231d562040
Using compact
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-29 13:59:17 +05:30
Chef Expeditor
4cd7a4012a
Bump version to 4.36.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-28 20:10:06 +00:00
Nikita Mathur
7693363a1a
Fix for default null values compatible for both windows and non-windows system
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-28 22:27:30 +05:30
Nikita Mathur
457e544724
Fix for non-existent member for group resource
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-28 22:26:33 +05:30
Chef Expeditor
ab401b6d64
Bump version to 4.36.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-28 16:34:51 +00:00
Clinton Wolfe
0fa00ed252
Merge pull request #5479 from inspec/nm/groups-members-fix
...
Added new property `members_array` for group & groups resources.
2021-04-28 12:33:02 -04:00
Chef Expeditor
597b33e51c
Bump version to 4.36.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-28 16:32:07 +00:00
Chef Expeditor
0fdd546c40
Bump version to 4.36.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-28 16:28:23 +00:00
Vasu1105
c56b098761
Fix for undefined method + for nil class error
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-28 14:02:16 +05:30
Chef Expeditor
cb2abf2e10
Bump version to 4.36.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-27 13:00:07 +00:00
Clinton Wolfe
3940a6374a
Merge pull request #5463 from inspec/vasundhara/add_selinux_modules
...
Add selinux resource support for modules and booleans
2021-04-27 08:58:28 -04:00
Chef Expeditor
6e73969278
Bump version to 4.35.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-27 02:40:12 +00:00
Clinton Wolfe
0aef9f11eb
Merge pull request #5480 from inspec/vasundhara/small_fix
...
Minor fix - Method expected to return boolean but it was returning nil if condition check fails
2021-04-26 22:38:39 -04:00
Vasu1105
ecf60297b2
Updated docs as per review comments
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-26 12:42:51 +05:30
Vasu1105
3725aa4598
This function was only returning boolean if profile_config_exist and was returning nil if condition was failed so updated the method to return false
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-23 14:10:42 +05:30
Nikita Mathur
b70f3166d4
New property members_array added for group and groups resources and updated documentation
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-23 13:48:29 +05:30
Vasu1105
76dca7f97c
Adds policy property, unit test and documentation for modules and booleans
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-22 11:40:32 +05:30
Vasu1105
fe0020ce50
Add selinux resource support for modules and booleans
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-22 11:28:06 +05:30
Chef Expeditor
295d074629
Bump version to 4.35.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-21 23:45:52 +00:00
Chef Expeditor
2308bad51b
Bump version to 4.35.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-21 23:35:41 +00:00
Clinton Wolfe
79aa03ae14
Merge pull request #5466 from inspec/nm/inputs-regex
...
New input option `pattern` added for DSL and metadata inputs
2021-04-21 19:34:07 -04:00
Chef Expeditor
ad41645526
Bump version to 4.34.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-21 23:32:23 +00:00
Nikita Mathur
cf8a5eb1c5
Fix to build issue in inputs unit test
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-21 12:33:54 +05:30
Nikita Mathur
ea6760c2c0
Undid changes of required validation to fix build errors
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-21 12:33:54 +05:30
Nikita Mathur
e77d5331c5
Added new pattern option, fix for input options on dsl and functional test cases for input options
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-21 12:33:54 +05:30