Commit graph

1510 commits

Author SHA1 Message Date
Sonu Saha
978288dd95 CFINSPEC-266: Add resource_id & unit test: inetd_conf
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:52:04 +05:30
Sonu Saha
4853077dfd CFINSPEC-266: Add resource_id & unit test: iis_site
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:51:14 +05:30
Clinton Wolfe
9e52000088
Merge pull request #6041 from inspec/ss/enhance-x509_certificate-resource
CFINSPEC-95: Enhance `x509_certificate` resource
2022-06-01 09:36:05 -04:00
Vasundhara Jagdale
566ac8ed77
Merge pull request #6040 from marijus-ravickas/unit_yaml_reporter
UNIT_TESTS: update yaml reporter test for Ruby 3+
2022-05-18 09:05:03 +00:00
Sonu Saha
b4f52dff23 CFINSPEC-81: Add unit test for php_config
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-17 12:51:42 +05:30
Vasundhara Jagdale
b1c1b1bc92
Merge pull request #5991 from inspec/ss/enhance-processes-resource
CFINSPEC-92: Enhance `processes` resource
2022-05-17 06:01:55 +00:00
Vasundhara Jagdale
0978c8c274
Merge pull request #6045 from inspec/ss/enhance-host-resource
CFINSPEC-90: Enhance `host` resource
2022-05-17 06:01:15 +00:00
Vasundhara Jagdale
a0fba6d46d
Merge pull request #6018 from inspec/ss/add-x509_private_key-resource
CFINSPEC-84: Add `x509_private_key` resource
2022-05-17 06:00:03 +00:00
Chef Expeditor
1d672feca4
UNIT_TESTS: update yaml reporter test for Ruby 3+
Signed-off-by: Marijus Ravickas <marijus.ravickas@gmail.com>
2022-05-09 10:15:15 +03:00
Sonu Saha
601df86d41 CFINSPEC-90: Add unit test for new properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-07 00:32:23 +05:30
Sonu Saha
72a986ace3 CFINSPEC-90: Correct existing unit test for windows to include ipv6 address
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-07 00:22:12 +05:30
Clinton Wolfe
e62d10fabc
Merge pull request #6004 from inspec/ss/enhance-zfs-resource
CFINSPEC-96: Add `zfs` resource
2022-05-06 09:28:01 -04:00
Sonu Saha
7fd4e76efb CFINSPEC-95: Extend unit test for have_purpose matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 16:21:19 +05:30
Sonu Saha
0bbea5eac5 CFINSPEC-95: Fix indentation
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 15:57:27 +05:30
Sonu Saha
82b86064d6 CFINSPEC-95: Add unit test for new matchers & properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 15:55:16 +05:30
Sonu Saha
b087b4b38f CFINSPEC-84: Fix typo in unit test comment
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-01 12:31:51 +05:30
Sonu Saha
8ea7a2ae41 CFINSPEC-96: Fix typo and modify classname appropriately
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-01 12:22:31 +05:30
Sonu Saha
b9125c3ac2 CFINSPEC-84: Fix lint offenses
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-29 10:03:42 +05:30
Clinton Wolfe
fa19d29bc8
Merge pull request #5998 from inspec/ss/fix-service-resource-for-amazon-linux-issue-5809
Fix for issue 5809 Service checks failing on Amazon linux 2022
2022-04-27 20:59:27 -04:00
Sonu Saha
f1e03bab3a CFINSPEC-84: Add unit test for x509_private_key
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-27 15:59:40 +05:30
Sonu Saha
038d284f32 CFINSPEC-96: Add unit test for zfs resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-21 21:06:46 +05:30
Sonu Saha
870c4b4b99 CFINSPEC-92: Add unit test for introduced matcher & property
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-20 21:18:27 +05:30
Sonu Saha
f2958b91a8 CFINSPEC-92: Add unit test for count property
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-20 21:18:27 +05:30
Sonu Saha
a8fb7bba1d 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-20 16:52:07 +05:30
Sonu Saha
e7726bf7c2 CFINSPEC-78: Complete unit test for the resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:07 +05:30
Sonu Saha
be4e6f7594 CFINSPEC-78: Add unit test for be_enabled and be_running
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:01 +05:30
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
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
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
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
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
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
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
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
Sonu Saha
c64d92f470 CFINSPEC-83: Correct comments in unit test
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-06 21:11:58 +05:30
Sonu Saha
1759912ade CFINSPEC-83: Add unit test and associated changes
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-06 21:11:48 +05:30
Clinton Wolfe
5a8e6aaccb
Merge pull request #5961 from inspec/ss/add-mail_alias-resource
CFINSPEC-80: Add mail alias resource
2022-04-06 09:31:08 -04:00
Clinton Wolfe
5b6540c563
Merge pull request #5959 from inspec/ss/enhance-user-resource
CFINSPEC-94: Enhance user resource
2022-04-06 09:28:19 -04:00
Clinton Wolfe
b1835bf9f9
Merge pull request #5945 from inspec/ss/enhance-docker-image
CFINSPEC-86: Enhance docker_image resource
2022-03-30 19:56:48 -04:00
Sonu Saha
65f4766bec CFINSPEC-80: Define aliased_to matcher and add unit test
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-30 17:26:15 +05:30
Sonu Saha
f1f0ecb631 CFINSPEC-80: Skeleton of resource, unit test and doc
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-30 16:11:12 +05:30
Sonu Saha
1a5c6c2772 CFINSPEC-94: Add unit test for introduced matchers and properties
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
f6115c7aeb CFINSPEC-86: Add comments and unit test for invalid keys
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 22:49:01 +05:30
Sonu Saha
f1073f26f5 CFINSPEC-85: Unit test for no mounted volumes and non existing container
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 22:24:27 +05:30
Sonu Saha
617f1634e3 CFINSPEC-85: Handle multiple mounts for docker container
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 10:51:06 +05:30
Sonu Saha
968537da1e CFINSPEC-86: Correct RuboCop Lint offenses
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:12:09 +05:30
Sonu Saha
2c4b8bab40 CFINSPEC-86: Add unit test for docker_image inspect attributes
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:12:09 +05:30
Sonu Saha
c43ef573b8 CFINSPEC-85: Fix lint that's offensive to RuboCop
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 22:43:02 +05:30
Sonu Saha
800bf5391a CFINSPEC-85: Add unit test to check for mounted volumes
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 22:35:08 +05:30
Clinton Wolfe
818f3dc6dc
Merge pull request #5938 from inspec/nm/oracle-empty-case
CFINSPEC-156 Oracle query fix when empty result
2022-03-23 10:13:57 -04:00