Commit graph

9203 commits

Author SHA1 Message Date
Vasu1105
38206d80e8 Fixed review comments
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-06-04 11:21:01 +05:30
Vasu1105
53df45a923 Removed redundant self
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-06-03 19:31:11 +05:30
Vasu1105
3d31bbf09b Fixed typo
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-06-03 19:02:43 +05:30
Vasu1105
0cf4d3dcf4 Fix linter
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-06-02 16:01:06 +05:30
Vasu1105
7d91371d9f Fix mysql_session resource to handle the exceptions if the mysql session is not established. Currently it does not raise any exception due to which the inspec test gives false result
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-06-02 15:35:23 +05:30
Chef Expeditor
99116a12a3 Bump version to 4.37.23 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-31 22:49:25 +00:00
Clinton Wolfe
2812f18438
Merge pull request #5533 from inspec/cw/add-ubuntu-to-fips
Add Ubuntu to list of FIPS platforms
2021-05-31 18:48:02 -04:00
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
Chef Expeditor
b7d765584a Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-26 22:09:42 +00:00
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
Clinton Wolfe
38be7d9a2d
Merge pull request #5532 from inspec/cw/drop-ubuntu-16
Drop EOL Ubuntu 16.04, build on 18.04
2021-05-20 14:55:03 -04: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
Chef Expeditor
f3d96aba56 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2021-05-20 18:37:01 +00: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
Clinton Wolfe
23e1bd2de0 Add Ubunutu to list of FIPS platforms
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-19 20:59:08 -04:00
Clinton Wolfe
d79cec41a9 Drop EOL Ubuntu 16.04, build on 18.04
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-19 20:55:19 -04:00
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
Clinton Wolfe
e6c8fa4496
Merge pull request #5517 from inspec/nm/errors-doc
Added Common Errors page doc
2021-05-19 08:17:59 -04: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
Clinton Wolfe
ed5c71fea0
Merge pull request #5516 from inspec/vasundhara/updated_control_eval_docs
Update control-eval Readme docs.
2021-05-18 15:42:47 -04: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
Clinton Wolfe
b2ff51b917
Merge pull request #5527 from inspec/cw/add-rhel8-builder
Add explicit RHEL8 builders to omnibus build
2021-05-18 15:26:01 -04: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
8403780995 test case added for file resource when it does not exist
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-17 14:02:27 +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
Nikita Mathur
122293b213 Removed common errors page since trouble shooting page was introduced by docs team
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-17 13:26:56 +05:30