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
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
Vasu1105
2b9bef28cb
test fixturs files for opa_api and opa_cli resource
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-09-22 16:27:15 +05:30
Clinton Wolfe
ceaef891bb
Merge branch 'main' into nm/oracle-conf
2021-09-13 14:33:51 -04:00
Vasu1105
12e3ee9aca
Fix the command to query on the database
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-09-01 18:06:16 +05:30
Vasu1105
30ea9cfe57
Add ibmdb2_conf and ibmdb2_session resource
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-09-01 18:06:16 +05:30
Mendy Baitelman
7abebdf80b
Merge remote-tracking branch 'upstream/main' into add-http-for-windows-2
2021-08-31 17:08:28 -07:00
Clinton Wolfe
83fcc7fec4
Merge pull request #5629 from inspec/vasundhara/fix_for_security_policy_resource
...
Fix for security_policy resource does not return array for local groups
2021-08-30 17:17:16 -04:00
Vasu1105
2100a66bef
Removed use of wmic from security_identifier resource as it will be deprecated soon
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-08-30 12:47:03 +05:30
Vasu1105
8487da327f
Fix for security_policy resource does not return array for local groups
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-08-27 18:34:25 +05:30
Vasu1105
f0ca02a1c5
Adds unit test for opa_api and opa_cli resource
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-07-19 14:44:47 +05:30
Nikita Mathur
89b0f95c75
Using os_env resource to read ORACLE_HOME env in oracle listener conf resource
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-07-09 16:31:45 +05:30
Nikita Mathur
cb31cefaa2
Review changes - Fetching listener file using env variable
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-06-29 14:43:56 +05:30
Nikita Mathur
f921c25efc
Oracle_db_conf and oracle_listener_conf changes, test cases and doc added
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-06-29 12:25:48 +05:30
Clinton Wolfe
61c83d28b3
Merge pull request #5567 from inspec/nm/oracle-session-exception
...
Oracle Session Exception Handling
2021-06-29 00:47:23 -04:00
Nikita Mathur
7ec66a0ca9
Missing oracle-error file added for testing
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-06-24 00:13:04 +05:30
Vasu1105
da00e359aa
Add mongodb_conf resource to InSpec
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-06-14 18:17:05 +05:30
Clinton Wolfe
442c89d45e
Merge pull request #5523 from kannanr/master
...
Support zfs_pool and zfs_dataset resources on Linux. Handled #5075
2021-05-16 16:56:07 -04:00
Vasu1105
0d83a44f44
Fix the lint and failing test for windows_feature resource
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-05-15 16:56:53 +05:30
Kannan Ramakrishnan
19c624cf38
Support zfs_pool and zfs_dataset resources on Linux. Handled #5075 . Signed-off-by: @kannanr <kannaa.ram@gmail.com>
2021-05-15 12:18:39 +05:30
Vasu1105
76dca7f97c
Adds policy property, unit test and documentation for modules and booleans
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-22 11:40:32 +05:30
Vasu1105
cbe7e8c03f
Add selinux resource with basic features support
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:02 +05:30
mbaitelman
974d78af76
Add head test
...
Signed-off-by: mbaitelman <mendy@baitelman.com>
2021-03-09 21:42:50 -08:00
mbaitelman
4ad11e8103
fixed tests
...
Signed-off-by: mbaitelman <mendy@baitelman.com>
2021-03-07 23:58:50 -08:00
mbaitelman
58fd1311c5
Add test fixture
...
Signed-off-by: GitHub <noreply@github.com>
2020-10-16 18:02:31 +00:00
Udyrfrykte
fe74f4fd5b
Improve apt.rb's read_debs
...
Make it better at handling whitespace in bracketed options
Signed-off-by: Benoît Gastinne <Udyrfrykte@users.noreply.github.com>
2020-08-17 11:38:40 +02:00
Felipe Zipitria
d2ae7a7fbf
fix(osfamily): use corresponding family or name for bsd/freebsd
...
Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>
2020-07-22 08:43:25 -03:00
Jon Beilke
bedef776a6
skip apt-cdrom repos in apt resource when parsing lists
...
Signed-off-by: Jon Beilke <Jonathan.Beilke@windlogics.com>
2020-07-08 14:19:09 -05:00
Clinton Wolfe
d9007588a6
Add an heuristic-based IP lookup property
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 15:37:19 -04:00
Clinton Wolfe
52468e470e
Barebones plural interfaces resource
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 15:37:19 -04:00
Clinton Wolfe
a4000d6912
Adds support for interface on BSD and MacOS
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2020-06-18 15:37:19 -04:00
Ross Moles
e7f01151f0
Merge branch 'master' into oracledb_session_resource
2020-02-14 10:50:10 +00:00
Clinton Wolfe
03d394a51b
Fix auditd resource processing of action and list ( #4665 )
...
Fix auditd resource processing of action and list
2020-02-13 15:12:47 -05:00
Ross Moles
351c4e3651
update unit test
...
Signed-off-by: Ross Moles <rmoles@chef.io>
2020-02-12 18:17:04 +00:00
Raimar Sandner
fa2f2c2caa
make command.exist? POSIX conform
...
With the current implementation, on a Linux system without bash
command.exist? always returns false. 'sh -c' is guaranteed to exist on a
POSIX-conform system [1] whereas 'bash -c' only works if bash is
actually installed.
[1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html
Obvious fix.
2020-01-19 00:05:33 +01:00
Felipe Zipitria
bff3fa960d
Add suport for freebsd package resource
...
Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com>
2019-12-17 08:39:43 -03:00
Trevor Vaughan
21edc712bd
Fix auditd resource processing of action and list
...
Per auditctl(8), the -a option can have either list,action or
action,list. This PR matches against valid actions for the action field
and passed the remainder off to the list field.
Closes #4664
Signed-off-by: Trevor Vaughan <tvaughan@onyxpoint.com>
2019-12-12 17:38:47 -05:00
Mendy Baitelman
6baf0f8a1c
Fix tests
...
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-11-14 21:22:07 -08:00
Mendy Baitelman
4ba95a0236
Fix syntax, start tests
...
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-11-13 23:08:23 -08:00
Ryan Davis
4e818faeb4
Fixes parsing of apt config files with arch specifier.
...
Fixes #4683 .
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-12 15:08:06 -08:00
Ryan Davis
db8e6e7415
Moved test/unit/mock/* to test/fixtures
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 16:29:03 -08:00