Nikita Mathur
a214c3fdc4
YAML reporter test fix ( #6563 ) ( #6715 )
...
* Fix for yaml reporter data, not matching empty values with spaces
* Additional comment to document affecting fields
---------
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2023-09-29 14:21:59 +05:30
Sonu Saha
265e2a5db6
Fix Windows CI by not installing html-proofer for Ruby < 3.0 ( #6496 )
...
* Resolve html-proofer issue for Ruby 2.7
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* Update test to pass on windows
the tests are taken care on main
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* LINT: Add newline after guard clause
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
---------
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2023-04-04 09:59:43 -04:00
Vasundhara Jagdale
9ffca7b353
Backport #6257 inspec-4 ( #6281 )
...
* Oracle DB session resource compatibility with AIX-Cshell
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Fixes in oracledb session unit test using oracle_query_string
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
Co-authored-by: Nikita Mathur <nikita.mathur@chef.io>
2022-10-20 14:09:55 -04:00
Sathish Babu
0aa626bb27
resolves inspec/inspec#6042 ( #6043 ) ( #6282 )
...
Signed-off-by: Marijus Ravickas <marijus.ravickas@gmail.com>
Signed-off-by: Marijus Ravickas <marijus.ravickas@gmail.com>
Signed-off-by: Marijus Ravickas <marijus.ravickas@gmail.com>
Co-authored-by: Marijus Ravickas <marijus.ravickas@gmail.com>
2022-10-20 14:09:31 -04:00
Sonu Saha
07626cb5c0
CFINSPEC-291: Add windows test for process without path
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-08 17:34:52 -04:00
Sonu Saha
4b0cf9003f
CFINSPEC-291: Fix test according to changes introduced in processes
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-08 17:34:52 -04:00
Sonu Saha
91dbc80061
Issue-5809: Fix for service resource on amazon linux
...
Commented out unit test for Amazon 1 Linux
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-27 21:03:53 -04:00
Clinton Wolfe
814259f3a4
Merge pull request #5943 from inspec/cw/backport-oracle-empty-query-fix-inspec-4
...
Backport Oracle session resource fix when empty results and zero rows
2022-03-23 14:03:23 -04:00
Nikita Mathur
f5950f1e5e
Oracle session resource fix when empty results and zero rows
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-23 10:59:34 -04:00
Vasu1105
fe344e98ea
CFINSPEC-154: Updates postgres_session resource to raise exception only in case of connection and authentication error and allow any errors in query to be fetched using output property(keeping earlier behaviour).
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-23 10:53:04 -04:00
Will Dower
d0e13b48f7
changed array style at chefstyle's request
...
Signed-off-by: Will Dower <wdower@mitre.org>
2022-03-10 15:50:21 -05:00
Will Dower
d00ce2c194
updated docs for resource
...
Signed-off-by: Will Dower <wdower@mitre.org>
2022-03-10 15:49:39 -05:00
Will Dower
513b743ce6
add
...
Signed-off-by: Will Dower <wdower@mitre.org>
2022-03-10 15:48:54 -05:00
Daniel Tingstrom
ebea7f9771
Fix boolean methods to include a '?'
...
Signed-off-by: Daniel Tingstrom <dtingstrom@mitre.org>
2022-03-10 15:45:12 -05:00
Daniel Tingstrom
3b1c85076c
Update firewalld resource to include more properties
...
Signed-off-by: Daniel Tingstrom <dtingstrom@mitre.org>
2022-03-10 15:45:12 -05:00
Nikita Mathur
f609a3b7a9
cassandra unit test fix for windows
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-03 09:39:53 -05:00
Clinton Wolfe
6d04576331
Merge pull request #5828 from inspec/vasundhara/fix_sestatus_command_for_amazon_linux
...
CFINSPEC-30 Fix sestatus command not found error on Amazon Linux 2
2022-02-09 04:10:31 -05:00
Clinton Wolfe
c065e923c3
Merge pull request #5782 from inspec/nm/kernel-params
...
CFINSPEC-3 Added kernel_parameters resource
2022-02-09 03:52:01 -05:00
Vasu1105
0d7f2c11fd
Updated the condition to only verify the amazon linux os.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-02-08 14:04:22 +05:30
Clinton Wolfe
cd4f0b59a0
Merge pull request #5816 from inspec/vasundhara/allow-core-resource-inheritance
...
CFINSPEC-15 Allows inheritance of core resource into the custom resource.
2022-02-01 16:11:44 -05:00
Vasu1105
d8798eca83
add custom resource in the registry at the reloading of dsl
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-31 19:10:27 +05:30
Nikita Mathur
ec35c6042a
Fix to capture non indented grub conf values
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-01-24 19:19:43 +05:30
Clinton Wolfe
34f4ffa19f
Merge pull request #5777 from inspec/nm/ip-table-rule
...
IP Table resource: Added option to ignore rule comments
2022-01-20 10:08:29 -05:00
Clinton Wolfe
19fb98f00f
Merge pull request #5775 from inspec/vasundhara/add_new_property_file_resource
...
Adds user_permissions property and be_inherited matcher to the file resource for Windows.
2022-01-20 09:54:20 -05:00
Vasu1105
56c388f099
Renamed the matcher to be_inherited.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
96249f24af
Renamed users_permissions to user_permissions and added docs.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
4bfef5281f
Renamed the file_permissions property to users_permission
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
53ef84c8dd
Adds property file_permissions and be_inherit matcher to the file resource for Windows.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:26:40 +05:30
Vasu1105
bc9cdc1219
Renamed the matcher to be_inherited.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:25:45 +05:30
Vasu1105
084bf70392
Adds user_permissions property to list user or group permissions on registry key and adds be_inherit matcher to check whether inheritance is enabled on the registry key
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-01-12 15:25:44 +05:30
Clinton Wolfe
3664b0c47d
Merge pull request #5758 from inspec/nm/timezone-resource
...
Added Timezone Resource
2022-01-09 20:45:15 -05:00
Clinton Wolfe
97c4002e82
Merge pull request #5771 from inspec/nm/package-latest
...
Check for latest - package resource
2022-01-09 20:28:55 -05:00
Nikita Mathur
4b9692c6fd
Added kernel parameters resource
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-31 14:57:57 +05:30
Nikita Mathur
13b8eceff8
Ip tables ignore rules comments option added for the resource
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-27 18:19:08 +05:30
Nikita Mathur
5a3c73b521
Fix for parsing faulty multiline results
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-24 16:41:53 +05:30
Nikita Mathur
d1cee33462
Test fixes
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-22 13:48:07 +05:30
Nikita Mathur
b0794c2262
Latest package info test cases for resource
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-12-21 16:40:58 +05:30
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
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
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
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
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
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
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
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
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
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