Commit graph

4861 commits

Author SHA1 Message Date
Vasu1105
13fa3e930d Raises error for Connection error.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-17 16:28:10 +05:30
Vasu1105
b4ccc15121 Adds tls1.3 support in ssl resource.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-17 16:28:10 +05:30
Chef Expeditor
81a4516890 Bump version to 4.52.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-16 14:28:32 +00:00
Clinton Wolfe
d05140adbf
Merge pull request #5759 from inspec/vasundhara/add-option-for-ssh-config-file
Add option to set ssh config file path for ssh transport
2021-12-14 07:54:31 -05:00
Chef Expeditor
9d0689adca Bump version to 4.52.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-14 12:54:20 +00:00
Clinton Wolfe
a8170b257c
Merge pull request #5757 from inspec/vasundhara/add_proxy_parameter_to_http_resource
Add proxy parameter to http resource
2021-12-14 04:30:06 -05:00
Chef Expeditor
ea4d703d89 Bump version to 4.52.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-14 09:27:39 +00:00
Chef Expeditor
de4806a650 Bump version to 4.52.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-14 09:25:30 +00:00
Clinton Wolfe
991eea7f59
Merge pull request #5765 from inspec/nm/alpine-pkgs-fix
Fix: Alpine packages list command to only list installed packages
2021-12-14 04:24:13 -05:00
Vasu1105
304593e5c8 Add option to set ssh config file path for ssh transport
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-14 11:58:50 +05:30
Chef Expeditor
46dc7ad5b6 Bump version to 4.52.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-13 17:19:55 +00:00
Nikita Mathur
2d798c3b32 Fix: Alpine packages list command to only list installed packages
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-13 16:02:18 +05:30
Vasu1105
b19b8ba55d Fixed lint and failing test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-13 11:39:59 +05:30
Vasu1105
af5c7924b3 Add proxy parameter to http resource.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-12-13 11:39:59 +05:30
Chef Expeditor
e56de7680c Bump version to 4.52.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-13 06:08:15 +00:00
Amndeep Singh Mann
9f98ea0ecd descriptions for the profile
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2021-12-09 23:08:38 -05:00
Amndeep Singh Mann
9ecfe11344 descriptions for exec-jsonmin
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2021-12-09 19:18:06 -05:00
Amndeep Singh Mann
6598c4049e removed a future tense phrasing
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2021-12-09 19:10:29 -05:00
Amndeep Singh Mann
a50f58d155 Added descriptions to all the primitive and exec_json schema objects
Signed-off-by: Amndeep Singh Mann <amann@mitre.org>
2021-12-09 19:07:59 -05:00
Nikita Mathur
4743da84f7 Added windows platform support for timezone resource
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-07 18:16:46 +05:30
Nikita Mathur
4008af0be8 Implemented timezone resource to test timezone configuration values
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-06 14:38:15 +05:30
Chef Expeditor
bf1a2b1296 Bump version to 4.52.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-06 08:43:53 +00:00
Clinton Wolfe
e37b3c38a3
Merge pull request #5717 from inspec/nm/oracle-session-nil
Oracle session fix when nil in query output
2021-12-06 03:42:01 -05:00
Chef Expeditor
d76d49ef4a Bump version to 4.52.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-06 08:41:28 +00:00
Chef Expeditor
0264d83ae6 Bump version to 4.52.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-06 08:32:17 +00:00
Clinton Wolfe
a39de6cc6c
Merge pull request #5749 from inspec/nm/private-supermarket
Implemented CLI option for executing private supermarket profiles
2021-12-06 03:30:47 -05:00
Nikita Mathur
5203e114e6 Doc review changes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-03 17:59:56 +05:30
Chef Expeditor
aaed395571 Bump version to 4.51.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-12-01 16:29:28 +00:00
Nikita Mathur
2dad0c5cf6 Linter test fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-30 16:25:31 +05:30
Nikita Mathur
06779f02e4 Oracle session fix when nil in query output
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-30 16:25:31 +05:30
Chef Expeditor
939547b703 Bump version to 4.51.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-30 08:50:10 +00:00
Clinton Wolfe
948b274d4c
Merge pull request #5744 from inspec/nm/alpine-support
Target support for Alpine Linux
2021-11-30 03:48:33 -05:00
Chef Expeditor
e4d213dacc Bump version to 4.50.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-30 08:46:16 +00:00
Nikita Mathur
8f06362cab Test cases and documentation added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-29 19:12:30 +05:30
Nikita Mathur
e663d29e5c Implemented supermarket_url option for executing private supermarket profiles
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-26 18:11:48 +05:30
Nikita Mathur
e122d34a3d Alpine support extended for os based resources
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-11-24 17:13:54 +05:30
Chef Expeditor
8c69a93d20 Bump version to 4.50.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:33:38 +00:00
Chef Expeditor
8b5066fb60 Bump version to 4.50.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:30:38 +00:00
Chef Expeditor
6371e3e709 Bump version to 4.50.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:27:38 +00:00
Chef Expeditor
4584c2e722 Bump version to 4.50.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:24:41 +00:00
Clinton Wolfe
93fe4eda33
Merge pull request #5742 from inspec/vasundhara/fix_ibmdb2_session_resource
Fix ibmdb2_session resource : Added double quotes around the IBM db2 query
2021-11-23 22:22:28 -05:00
Chef Expeditor
5636a7c9af Bump version to 4.50.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:21:39 +00:00
Chef Expeditor
bb9979f080 Bump version to 4.50.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-24 03:19:17 +00:00
Vasu1105
f308129346 Added double quotes around the ibmdb2 query
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-11-23 12:01:16 +05:30
Chef Expeditor
f686733235 Bump version to 4.50.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 07:05:49 +00:00
Clinton Wolfe
8730e4acf0
Merge pull request #5606 from zofrex/fix-service-enable-check-freebsd
Fix FreeBSD service enabled check substring edge-case
2021-11-20 02:04:17 -05:00
Chef Expeditor
f48ceb3c1b Bump version to 4.50.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 07:01:02 +00:00
Chef Expeditor
d0e4a544e3 Bump version to 4.50.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 06:31:58 +00:00
Chef Expeditor
552ac86825 Bump version to 4.50.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 06:29:19 +00:00
Chef Expeditor
5cd85e0c20 Bump version to 4.50.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-20 06:25:12 +00:00
Chef Expeditor
f33e77287c Bump version to 4.50.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-19 04:40:43 +00:00
Chef Expeditor
df21e9951e Bump version to 4.50.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-18 04:38:31 +00:00
Chef Expeditor
221c504822 Bump version to 4.50.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-16 07:17:37 +00:00
Clinton Wolfe
6ecbc67642 Disable cookstyle integration when local system is Windows
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-11-15 23:55:22 -05:00
Clinton Wolfe
8aad4abe0c Add a simple proc to detect windows locally
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-11-15 23:55:22 -05:00
Chef Expeditor
f32b8f7983 Bump version to 4.50.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-16 01:13:20 +00:00
Kimberly Garmoe
b3b470548c
Merge pull request #5697 from inspec/vasundhara/add-http-for-windows
Add Windows support for http resource.
2021-11-15 17:12:02 -08:00
Chef Expeditor
1ebbd546fb Bump version to 4.49.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-13 06:47:12 +00:00
Chef Expeditor
65e4a34c9d Bump version to 4.49.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-11-13 04:35:03 +00:00
Chef Expeditor
9ec33a2ce0 Bump version to 4.49.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-25 23:33:52 +00:00
Clinton Wolfe
497cf9ab98
Merge pull request #5618 from inspec/nm/check-cookstyle
Integrate InSpec check with Cookstyle
2021-10-25 19:32:45 -04:00
Chef Expeditor
97b816100e Bump version to 4.48.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-25 22:35:43 +00:00
Clinton Wolfe
45d638e224
Merge pull request #5704 from inspec/vasundhara/fix-winodws-firewall-resource
Fix windows_firewall resource fails to validate more than 1 rule depending on how it's executed
2021-10-25 18:34:30 -04:00
Chef Expeditor
de0b384b2e Bump version to 4.48.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-25 22:12:27 +00:00
Clinton Wolfe
43f22cba0f
Merge pull request #5327 from inspec/ns/fully_waived
InSpec Waivers: --filter-waived-controls
2021-10-25 18:11:15 -04:00
Chef Expeditor
ea2ff64285 Bump version to 4.47.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-22 23:18:19 +00:00
Nikita Mathur
2df4f7e433 Fix oracle db session resource issue of csv comma delimiter and sudo invocation message issue
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-22 14:10:51 +05:30
Vasu1105
e78f58fa5a Remove TypeData command was causing error when its called in the same session which was resulting into windows_firewall resource was not working correctly locally when we have more than one describe block.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-10-22 12:43:02 +05:30
Clinton Wolfe
43980e438d
Merge branch 'main' into ns/fully_waived 2021-10-20 17:51:09 -04:00
Chef Expeditor
c391ca349b Bump version to 4.47.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-19 13:14:38 +00:00
Nikita Mathur
e5f2ede389 Oracle fix when invoking query using os user and db role
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-19 14:43:50 +05:30
Vasu1105
c8495965d8 Fixed indentation and lint issues
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-10-13 19:27:29 +05:30
Vasu1105
f35eef20ff Adds windows support for http resource. Adopted PR #5280. Updated the code to handle post request,
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-10-13 18:26:38 +05:30
James 'zofrex' Sanderson
c3b0310315 Fix broken regex
Signed-off-by: James 'zofrex' Sanderson <zofrex@gmail.com>
2021-10-13 08:57:51 +01:00
James 'zofrex' Sanderson
acf5a2c955 Fix Rubocop issues
Signed-off-by: James 'zofrex' Sanderson <zofrex@gmail.com>
2021-10-13 08:57:51 +01:00
James 'zofrex' Sanderson
41ea0da4a9 Fix FreeBSD service enabled check substring edge-case
* Now services named a suffix of another service don't have false positives for being enabled
* Use new 'enabled' service command on FreeBSD 10+

Signed-off-by: James 'zofrex' Sanderson <zofrex@gmail.com>
2021-10-13 08:57:51 +01:00
Chef Expeditor
648afbb6fa Bump version to 4.47.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-13 01:15:56 +00:00
Chef Expeditor
134ddfcbb5 Bump version to 4.47.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-13 01:13:30 +00:00
Chef Expeditor
8dc23ce7e1 Bump version to 4.47.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-13 01:11:03 +00:00
Chef Expeditor
d37b123bf6 Bump version to 4.47.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-13 01:07:19 +00:00
Clinton Wolfe
0bfb0bc648
Merge pull request #5667 from inspec/nm/group-user-sensitive
Group & User Resources - Resolve name case-sensitivity issue for windows
2021-10-12 21:05:57 -04:00
Nikita Mathur
09550ed7f3 User groups made case insensitive for user resource for include matcher
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-07 13:32:36 +05:30
Chef Expeditor
9a78b1dbe0 Bump version to 4.47.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 03:08:29 +00:00
Chef Expeditor
c86031c237 Bump version to 4.47.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 02:54:48 +00:00
Chef Expeditor
be800bd741 Bump version to 4.47.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 02:39:57 +00:00
Chef Expeditor
62a1e24a2c Bump version to 4.47.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 02:14:02 +00:00
Chef Expeditor
1bf5275aad Bump version to 4.46.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 01:59:23 +00:00
Clinton Wolfe
a79be0ca96
Merge pull request #5683 from inspec/nm/cassandra-resource
Add support for Cassandra DB
2021-10-05 21:55:24 -04:00
Chef Expeditor
4f4cfeb2fc Bump version to 4.46.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-10-06 00:28:33 +00:00
Nikita Mathur
62b0d211fa Windows user fetched in user resource without case sensitivity
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-05 15:36:35 +05:30
Nikita Mathur
eb7e7305f4 Members and members array made case insensitive for group resources
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-05 15:36:35 +05:30
Nikita Mathur
964fdacbee Resolve case sensitivity issues with group name in group resource for windows platform
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-05 15:36:35 +05:30
Vasu1105
9b66e2830c Merge branch 'add-http-for-windows-2' of github.com:mbaitelman/inspec into add-http-for-windows 2021-10-01 16:03:55 +05:30
Nikita Mathur
8546595f30 Review changes and build fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-10-01 14:43:37 +05:30
Nikita Mathur
b4ca1914c4 Add support for Cassandra DB resources
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-30 16:09:08 +05:30
Nikita Mathur
ced270725d Change after code review on cookstyle check
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-29 13:23:35 +05:30
Nikita Mathur
1de38f3b13 Build fix for archive and vendor tests due to cookstyle offenses
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-29 13:23:35 +05:30
Nikita Mathur
ab1d423a35 Use only inspec cops of cookstyle gem
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-29 13:23:35 +05:30
Nikita Mathur
bedde88849 Integrate inspec check with cookstyle
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-09-29 13:23:35 +05:30
Chef Expeditor
e5b7bcf4b9 Bump version to 4.46.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2021-09-28 12:19:40 +00:00