Commit graph

9390 commits

Author SHA1 Message Date
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
Ian Maddaus
e9258cf1be Move to troubleshooting and edits
Signed-off-by: Ian Maddaus <Ian.Maddaus@progress.com>
2021-05-17 13:25:40 +05:30
Nikita Mathur
e4ab99e97a undefined error added in a generic manner for all the cloud resources
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-17 12:54:37 +05:30
Nikita Mathur
24376113f5 Doc review changes on common errors doc page
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-17 12:54:37 +05:30
Nikita Mathur
9b5c6a45b9 Updated correct weight of common errors doc
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-17 12:54:37 +05:30
Nikita Mathur
80be8e0625 Added common errors page for inspec with only one error to get started
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-05-17 12:54:37 +05:30
Vasu1105
1ea3697197 Removed fixture file which was not needed
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-17 11:32:06 +05:30
Vasu1105
da75f0ce33 Removed old ubuntu version from mock_loader file as it's not getting used and added new version of Ubuntu in mock_loader file.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-17 11:28:39 +05:30
Vasu1105
7990b31f5f Updated test to mock the newly added command
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-17 11:12:27 +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
Clinton Wolfe
25f0099ca0 Add explicit RHEL8 builders
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-16 18:05:31 -04:00
Clinton Wolfe
aa8afc8c82 Add liense infor about Chef EULA
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-16 17:53:59 -04:00
Clinton Wolfe
6ca4330855 Update copyright
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-16 17:45:42 -04:00
Clinton Wolfe
4360927437 Add Christoph and Dom to Kudos section
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-16 17:42:50 -04:00
Clinton Wolfe
5d080a9d28 Remove outdated SSHD example
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-16 17:37:39 -04:00
Clinton Wolfe
822d0fadd1 Add info about inspec-core
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-05-16 17:37:10 -04:00
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
Clinton Wolfe
b5af744d24
Merge pull request #5489 from inspec/cw/add-ci-docs
Add CI-CD docs
2021-05-16 17:16:16 -04:00