Commit graph

10377 commits

Author SHA1 Message Date
Sonu Saha
bef163f75b CFINSPEC-78: Add be_enabled matcher for the resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:29:15 +05:30
Chef Expeditor
1e911232f1 Bump version to 5.13.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 22:07:20 +00:00
Clinton Wolfe
bfb02ce8a2
Merge pull request #5987 from inspec/ss/enhance-group-resource
CFINSPEC-89: Enhance `group` resource
2022-04-18 18:06:20 -04:00
Chef Expeditor
bb14bfd5f5 Bump version to 5.13.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 22:05:14 +00:00
Clinton Wolfe
7fddb8c772
Merge pull request #5981 from inspec/ss/enhance-service-resource
CFINSPEC-93: Enhance `service` resource
2022-04-18 18:04:16 -04:00
Chef Expeditor
f3346506a0 Bump version to 5.13.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 22:00:19 +00:00
Clinton Wolfe
387e3d25c8
Merge pull request #5986 from inspec/ss/enhance-file-resource
CFINSPEC-87: Enhance `file` resource
2022-04-18 17:59:19 -04:00
Chef Expeditor
3ce59700e3 Bump version to 5.13.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 21:47:27 +00:00
Clinton Wolfe
984ebc4075
Merge pull request #5989 from inspec/vasundhara/fix-compliance-profile-upload
CFINSPEC-181: Fix unable to upload inspec compliance profile using to…
2022-04-18 17:46:25 -04:00
Deepa Kumaraswamy
762b1a4ae6 doc review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-04-18 18:35:31 +05:30
Deepa Kumaraswamy
46024551c8 doc review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-04-18 18:26:08 +05:30
Deepa Kumaraswamy
b87f4bbf64 review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-04-18 17:58:28 +05:30
neilnaveen
257ea55158 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-04-17 15:51:20 +00:00
Vasu1105
07f6793533 CFINSPEC-181: Fix unable to upload inspec compliance profile using to Chef Automate.
Add --with-cookstyle option to inspec check command to disable cookstyle check as default

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-04-14 21:47:10 +05:30
Sonu Saha
598df4a3a8 CFINSPEC-93: Remove redundant methods from child class of MonitoringTool
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-14 10:31:43 +05:30
Sonu Saha
fde99cb651 CFINSPEC-87: Remove redundant methods from child class of ImmutableFlagCheck
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-14 10:24:10 +05:30
Sonu Saha
c4d7b24d25 CFINSPEC-87: Fix typos in exception message
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-14 10:11:26 +05:30
Chef Expeditor
7d1ad0acc3 Bump version to 5.13.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-13 22:00:56 +00:00
Clinton Wolfe
b1d113e986
Merge pull request #5979 from inspec/ss/add-default_gateway-resource
CFINSPEC-75: Add default_gateway resource
2022-04-13 17:59:52 -04:00
Sonu Saha
d4655f5ee4 CFINSPEC-87: Fix typos in error message
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-14 02:03:33 +05:30
Deepa Kumaraswamy
288b0996b9 doc review change
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-04-13 17:20:24 +05:30
Sonu Saha
c463151ef5 CFINSPEC-89: Add documentation for have_gid matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 16:57:04 +05:30
Sonu Saha
a8aa8f4b29 CFINSPEC-89: Add unit test for have_gid matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 16:53:42 +05:30
Sonu Saha
2f7c65d1a4 CFINSPEC-89: Add have_gid matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 16:50:10 +05:30
Sonu Saha
5720ee563d CFINSPEC-87: Add documentation for new matcher & properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 15:17:31 +05:30
Sonu Saha
c83f146687 CFINSPEC-87: Add unit test for new matcher & properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 13:24:58 +05:30
Sonu Saha
048f0019ae CFINSPEC-87: Extend file resource with content_as_yaml property
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 11:49:00 +05:30
Sonu Saha
02c1bcb3f5 CFINSPEC-87: Extend file resource with content_as_json property
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 11:28:11 +05:30
Sonu Saha
babf21466c CFINSPEC-87: Extend file resource with be_immutable matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 16:49:58 +05:30
Sonu Saha
50f3026578 CFINSPEC-93: Correct exception message
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 12:40:08 +05:30
Sonu Saha
bb47d7fe21 CFINSPEC-93: Extend unit test for introduced matchers
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 10:51:58 +05:30
Sonu Saha
f5afe10017 CFINSPEC-93: Add comments and exception guard clause for new matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 10:07:25 +05:30
Sonu Saha
989d4c5869 CFINSPEC-93: Extend documentation for introduced matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 09:52:47 +05:30
Sonu Saha
f55c3e8190 CFINSPEC-93: Add monitored_by matcher;
Supported monitoring tool: monit & god

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 09:52:47 +05:30
Sonu Saha
ab3fd0bc3e CFINSPEC-93: Add have_start_mode matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 09:52:47 +05:30
Sonu Saha
3101999ad0 CFINSPEC-75: Fix typos in the resource doc
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 09:49:51 +05:30
Chef Expeditor
f00b3341dd Bump version to 5.12.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-12 00:34:25 +00:00
Clinton Wolfe
e22cf6c0bb
Merge pull request #5980 from inspec/ss/fix-service-unit-test
Fix unit test for service resource
2022-04-11 20:33:25 -04:00
Sonu Saha
606049abf9 Add service -l mock called in FreeBSD10Init info
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-11 19:37:02 +05:30
Sonu Saha
88fc2c3e38 Revert changes made in service_test
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-11 19:33:04 +05:30
Sonu Saha
3d5d6086ae Fix unit test for service resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-11 18:21:21 +05:30
Chef Expeditor
0b02d4e749 Executed '.expeditor/update_dockerfile.sh'
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-08 15:39:12 +00:00
Chef Expeditor
aa32588d1b Bump version to 5.12.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-08 14:01:34 +00:00
Clinton Wolfe
1c5716f5c0
Merge pull request #5969 from inspec/im/move_shortcodes
Move shortcodes from chef-web-docs to inspec repo
2022-04-08 10:00:25 -04:00
Chef Expeditor
74064a93c6 Bump version to 5.12.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-08 13:58:34 +00:00
Clinton Wolfe
5fb24598a0
Merge pull request #5973 from inspec/dependabot/bundler/omnibus/main/omnibus-software-960cb6e
Bump omnibus-software from `82b14e3` to `960cb6e` in /omnibus
2022-04-08 09:57:35 -04:00
Sonu Saha
25e33fab7f CFINSPEC-75 Add default_gateway documentation
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-07 09:14:05 +05:30
Sonu Saha
e21445cc4c CFINSPEC-75 Add default_gateway resource logic
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-07 09:12:12 +05:30
Sonu Saha
3500d962e6 CFINSPEC-75 Add default_gateway unit test
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-07 09:09:03 +05:30
Chef Expeditor
d72125401e Bump version to 5.12.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-06 22:41:21 +00:00