jayashrig158
ffbf2ff554
add ruby test 3.1 in verify pipeline ( #5892 )
...
* add ruby test 3.1 in verify pipeline
Signed-off-by: jayashri garud <jgarud@msystechnologies.com>
* updating rubygem to 3.3.3
Signed-off-by: jayashri garud <jgarud@msystechnologies.com>
* Test fixture plugin files for ABI 3.1.0
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Use kwargs to match new calling style for ERB in ruby 2.7 and 3.0
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Allow Date and Time data types, needed for waivers, since safe load is now the default for YAML
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Use Time.parse, not Time.new since the rules tightened for what you can pass the constructor for waiver dates
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Add ruby platform debug message to test parallel output
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Conditionalize permitted_classes in inputs yaml_load for <= 3.1.x only
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* In ruby 3.1.0 net/pop3 is no more a default gem and that will require us to add it in Gemfile so trying with the byebug gem which we are bundling already
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* CFINSPEC-166 Updated url fetcher to handle Net::OpenTimeout Exception on Windows
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-13 14:24:33 -04:00
Clinton Wolfe
29ef063833
Merge pull request #6100 from inspec/ss/fix-processes-on-windows
...
CFINSPEC-291: Fix `processes` resource to consider processes without `path` on Windows
2022-06-08 17:32:00 -04:00
Clinton Wolfe
610e7aacea
Merge pull request #5995 from inspec/vasundhara/sign-profile-binary-format
...
CFINSPEC-167: Profile Signing Rollup
2022-06-08 17:07:27 -04:00
Sonu Saha
8ffca97e27
CFINSPEC-291: Add windows test for process without path
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-08 18:28:02 +05:30
Vasu1105
8f995a3c8f
CFINSPEC-340 Handle inspec exec to work with change in the headers and fixes the failing test
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 11:10:34 +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
Sonu Saha
c3b1ce3e9e
CFINSPEC-291: Fix test according to changes introduced in processes
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-01 13:10:07 +05:30
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
Clinton Wolfe
0553b7a359
Add validation options for --what and --format, add (failing) tests
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Vasu1105
163095859d
CFINSPEC-252: Fix profile gem dependency installation is failing when gem version is not specified.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:18:03 +05:30
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
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
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
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
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
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
7fddb8c772
Merge pull request #5981 from inspec/ss/enhance-service-resource
...
CFINSPEC-93: Enhance `service` resource
2022-04-18 18:04:16 -04:00
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
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
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
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
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
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
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
Clinton Wolfe
a15280fcc5
Merge pull request #5937 from inspec/vasundhara/fix-postgres-session-resource
...
CFINSPEC-154: postgres_session resource allow query errors to be treat as failures.
2022-03-23 09:44:06 -04:00
Sonu Saha
4f151bd72c
CFINSPEC-73: Add unit test and relevant files for cgroup
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 08:40:34 +05:30
Nikita Mathur
0f4ccee07e
Oracle session resource fix when empty results and zero rows
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-22 17:05:31 +05:30
Vasu1105
2d0d972d65
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-22 15:12:44 +05:30
Sonu Saha
36bf43f350
CFINSPEC-79: Add unit test and its related changes for lxc resource
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-16 15:34:47 +05:30
Clinton Wolfe
02f97ac845
Merge pull request #5916 from inspec/RESOURCE-312-extend-filter-table
...
RESOURCE-312 extend filter table to lazy loading for resource instances
2022-03-11 14:39:54 -05:00
Sathish
27099d6052
fix style
...
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-11 19:28:34 +05:30
Vasu1105
a491b2a0d7
CFINSPEC-137 Fix Windows test failures
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 18:35:14 +05:30
Sathish
d65365cb83
remove unused args
...
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-11 18:28:28 +05:30
Sathish
2a9750bd08
add self to the local instance method
...
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-11 18:28:00 +05:30
Vasu1105
6e930303a4
Fix test
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 17:31:08 +05:30
Vasu1105
ab01652ee2
CFINSPEC-137: Fix the failing test and lint for the --target-option deprication changes
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 15:47:50 +05:30
Clinton Wolfe
63a5fd26a6
Merge pull request #5597 from mitre/firewalld_update
...
Firewalld update -- exposed more fields, updated docs, added custom matchers
2022-03-10 15:40:17 -05:00
Clinton Wolfe
db1b5abaa3
Add tests for lazy_instance
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 13:51:04 -05:00