Nikita Mathur
742d21c6e2
Duplicate method removal
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:31:40 +05:30
Nikita Mathur
84c14a505a
Added impact setting option in only_if
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:31:40 +05:30
Nikita Mathur
b26506b741
Enhanced outcomes changes in json based and yaml reporter
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:59 +05:30
Nikita Mathur
a9fae7cfe2
Added enhanced outcomes option to schema subcommand and updated schema
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:59 +05:30
Nikita Mathur
a96e226bef
Exit code logic to consider error count and build fixes
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:59 +05:30
Nikita Mathur
82ab13dbe4
Html reporter changes for enhanced outcomes and refactoring changes
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:59 +05:30
Nikita Mathur
1fc0076f1a
Enhanced outcomes changes for streaming progress bar reporter
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Nikita Mathur
2b9f4d4bbf
Enhanced outcomes changes in cli reporter
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Clinton Wolfe
2ebd890533
Linting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-07-29 14:30:58 +05:30
Nikita Mathur
9d531b68de
Added failure and passed conditions in enhanced_outcomes
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Nikita Mathur
4e83f395c8
enhanced outcome fix in streaming reporter - collected test based on control_id
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Nikita Mathur
6d4729c437
Progress bar streaming reporter fix for unique control counts
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Nikita Mathur
f56f5ec844
enhanced outcomes logic in streaming reporter base class
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Nikita Mathur
e7aa37dc24
Added logic for error in run_data
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Nikita Mathur
8c2d78161a
N/A and N/R logic integration with base formatter run_data
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Nikita Mathur
29cd28f6ac
Added plumbing logic to integrate enhanced outcomes in run_data
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Nikita Mathur
4b7543d109
Added enhanced_outcomes option for exec and shell
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-07-29 14:30:58 +05:30
Chef Expeditor
bb802f8dc9
Bump version to 5.18.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-07-27 14:00:17 +00:00
Chef Expeditor
a3beccfa43
Bump version to 5.18.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-07-21 05:50:37 +00:00
Chef Expeditor
833bfd8766
Bump version to 5.18.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-07-13 20:39:00 +00:00
Chef Expeditor
de7931d0c2
Bump version to 5.18.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-07-11 13:52:19 +00:00
Chef Expeditor
ddc7cfb56c
Bump version to 5.18.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-07-09 16:50:46 +00:00
Chef Expeditor
8c72cf239d
Bump version to 5.18.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-07-09 08:41:59 +00:00
Chef Expeditor
136f01c0f5
Bump version to 5.18.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-07-05 09:43:53 +00:00
Vasundhara Jagdale
5b0b39fee5
Merge pull request #6173 from inspec/nm/windows-fix-for-dependent-profiles
...
Merging this to make all other PR feel the happiness of green :)
2022-07-05 09:42:52 +00:00
Chef Expeditor
63835f42bc
Bump version to 5.18.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-07-01 12:54:30 +00:00
Nikita Mathur
5617ed819c
Added inheritance test for windows
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-29 17:10:55 +05:30
Nikita Mathur
8bcfc38fe0
Windows fix for dependent profiles
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-29 17:05:59 +05:30
Clinton Wolfe
9e32fec9b5
Merge pull request #6159 from inspec/vasundhara/adds_podman_inspec_support
...
CFINSPEC-236 Adds Podman support
2022-06-28 00:35:53 -04:00
Chef Expeditor
de9d8780f9
Bump version to 5.18.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-27 23:39:30 +00:00
Clinton Wolfe
54c175ca36
Merge pull request #6074 from inspec/nm/aws-profile-version-fix
...
CFINSPEC-249 Fix for dependent profiles with same name but different version
2022-06-27 17:34:43 -04:00
Chef Expeditor
81f89d5b31
Bump version to 5.18.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-27 20:15:03 +00:00
Nikita Mathur
e7ee813ec7
Reverted fake version change and added comments for more clarity
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-24 14:20:48 +05:30
Chef Expeditor
b203ca099b
Bump version to 5.18.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-23 15:21:39 +00:00
Nikita Mathur
b2e3bb342b
using fake version 0.0.0 in case no source version available from a dep profile
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-23 19:57:38 +05:30
Vasu1105
ad6c7f2c8f
Adds --podman-url option accepts path to Podman API endpoint
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-23 14:03:25 +05:30
Chef Expeditor
1d05d080c6
Bump version to 5.18.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-22 16:34:30 +00:00
Nikita Mathur
70a4857611
New profile id usage instead of profile_id in dsl
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Nikita Mathur
8e32d90349
Fix build issue
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Nikita Mathur
58d4a816f3
Fix related to new profile id generation for fetching dependencies in dsl logic
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Nikita Mathur
d43b1c2f43
Dsl using dependency with version to fetch dependency
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Nikita Mathur
8527d213cb
Fix for dependent profiles with same name but different version to run and display
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:21:27 +05:30
Chef Expeditor
19c23979e0
Bump version to 5.18.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-13 18:25:48 +00:00
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
Chef Expeditor
87ca2b0aa7
Bump version to 5.18.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-13 17:55:39 +00:00
Chef Expeditor
79d3a6e342
Bump version to 5.18.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-10 20:43:59 +00:00
Chef Expeditor
07107cdcd1
Bump version to 5.18.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-09 11:40:22 +00:00
Vasu1105
62405e261d
Fixed Lint/DuplicateMethods: Method Inspec::Resources::Service#resource_id is defined at both
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-09 16:19:59 +05:30
Chef Expeditor
7da11de098
Bump version to 5.18.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 21:33:00 +00: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
Chef Expeditor
406636f22a
Bump version to 5.18.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 21:08:29 +00: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
Chef Expeditor
625bb9b0e0
Bump version to 5.17.18 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 20:19:21 +00:00
Chef Expeditor
293d8e76de
Bump version to 5.17.17 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 20:16:48 +00:00
Chef Expeditor
980fabf35c
Bump version to 5.17.16 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 20:14:48 +00:00
Clinton Wolfe
6385ea9f74
Merge pull request #6126 from inspec/vasundhara/group_2_resource_id
...
Adds resource_id to group 2 resources
2022-06-08 16:14:45 -04:00
Clinton Wolfe
b0c1373d64
Merge pull request #6119 from inspec/vasundhara/group_1_resource_id_fix
...
CFINSPEC-262 - Handle resource_id in error situation
2022-06-08 16:13:38 -04:00
Clinton Wolfe
1d0118df86
Merge pull request #6118 from inspec/ss/fix-resource_id-nil-case
...
Handle resource_id in error situations
2022-06-08 16:12:41 -04:00
Chef Expeditor
27ec207255
Bump version to 5.17.15 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 20:12:31 +00:00
Clinton Wolfe
dd258e3926
Merge pull request #6115 from inspec/nm/add-resource-id-group-10
...
CFINSPEC 271 Group10 - Added resource_id in resources
2022-06-08 16:11:42 -04:00
Clinton Wolfe
37eee62150
Merge pull request #6112 from inspec/vasundhara/group12_add_resource_id
...
CFINSPEC-273 Adds resource_id group 12
2022-06-08 16:10:41 -04:00
Chef Expeditor
19900b7be5
Bump version to 5.17.14 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 20:10:26 +00:00
Clinton Wolfe
00b396b8fe
Merge pull request #6111 from inspec/vasundhara/group9_resource_ids
...
CFINSPEC-270 Adds resource_id group9
2022-06-08 16:09:15 -04:00
Chef Expeditor
83d58dddae
Bump version to 5.17.13 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 20:08:04 +00:00
Clinton Wolfe
0ae8f52c19
Merge pull request #6110 from inspec/ss/add-resource-ids-group-11
...
CFINSPEC-272: resource_ids group 11
2022-06-08 16:07:42 -04:00
Clinton Wolfe
092cf8090f
Merge pull request #6109 from inspec/nm/add-resource-id-group-4
...
CFINSPEC-265 Group 4 - Added resource_id in resources
2022-06-08 16:06:50 -04:00
Chef Expeditor
a5695c7d21
Bump version to 5.17.12 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 20:05:12 +00:00
Clinton Wolfe
3f9b234160
Merge pull request #6108 from inspec/nm/add-resource-id-group-3
...
CFINSPEC-264 Group 3 - Added resource_id in resources
2022-06-08 16:05:09 -04:00
Clinton Wolfe
9076dd6626
Merge pull request #6107 from inspec/vasundhara/group8_resource_ids
...
CFINSPEC-269 Adds resource_id group 8
2022-06-08 16:03:56 -04:00
Clinton Wolfe
39744335c5
Merge pull request #6106 from inspec/ss/add-resource-ids-group-13
...
CFINSPEC-274: resource_ids group 13
2022-06-08 16:02:16 -04:00
Chef Expeditor
b0070eaa0d
Bump version to 5.17.11 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 20:02:02 +00:00
Vasu1105
24f1fb18b6
CFINSPEC-263 Adds resource_id for cron resource and unit test for the same
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 14:58:46 +05:30
Vasu1105
78d1eb61be
CFINSPEC-263 Adds resource_id to chocolatey_package, chrony_conf, command, cpan, cran, csv, dh_params resource and unit test for the same.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 14:58:24 +05:30
Vasu1105
55ecbc4f21
CFINSPEC-262 - Handle resource_id in error situation
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 13:54:47 +05:30
Vasu1105
7f581f083d
CFINSPEC-273 Adds resource_id to user, vbscript, virtualization, windows_feature, windows_firewall, windows_firewall_rule, windows_hotfix, windows_task and unit test for the same.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 13:53:25 +05:30
Vasu1105
1b0eaf765f
CFINSPEC-270 Adds resource_id to os, os_env, package, parse_config, parse_config_file, pip, platform, postfix_conf, postgres_conf, postgres_session resource and unit test for the same
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 13:52:40 +05:30
Vasu1105
5d47334735
CFINSPEC-269 Adds resource_id for npm, ntp_conf, oneget, opa_api, opa_cli resource and unit test for the same
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 13:52:16 +05:30
Vasu1105
14d5be2d20
CFINSPEC-268 Adds resource_id for ibmdb2_conf, ibmdb2_session, nginx, nginx_conf, noop and unit test for the same. Updated resource_id generation for mount and mysql_conf resource.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 13:46:54 +05:30
Vasu1105
d2ebb270f4
CFINSPEC-268 Adds resource_id to mongodb_conf, mongodb_session, mount, mssql_session, mysql_conf resource and unit test for the same.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 13:46:54 +05:30
Vasu1105
1b546526c3
Fix linting error
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 12:27:43 +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
Vasu1105
5bdc877951
Fix the other database resource for the argument errpr
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 10:43:41 +05:30
Vasu1105
c91d1e858d
Fix for error in the verify pipeline for Windows test
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 10:43:41 +05:30
Vasu1105
04d93db068
CFINSPEC-340 Adds usage header line in the signed profile
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-08 10:35:16 +05:30
Chef Expeditor
a136554c97
Bump version to 5.17.10 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-08 04:57:19 +00:00
Sonu Saha
868e3b3528
CFINSPEC-272: Handle case of nil or error resource_id
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-06 13:03:20 +05:30
Sonu Saha
51d3717885
CFINSPEC-274: Handle case of nil or error resource_id
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-06 11:58:43 +05:30
Sonu Saha
94a2c10cff
Handle case of nil resource_id
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-06 11:49:33 +05:30
Sonu Saha
97d34e9d1c
CFINSPEC-272: Handle case of nil resource_id: sybase_conf
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-06 10:22:57 +05:30
Sonu Saha
98c66ad838
CFINSPEC-272: Enhance resource_id: sybase_session
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-03 18:41:37 +05:30
Chef Expeditor
e89a9b6f5c
Bump version to 5.17.9 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-03 13:01:02 +00:00
Clinton Wolfe
0d26fd2811
Merge pull request #6103 from inspec/ss/add-resource-ids-group-5
...
CFINSPEC-266: resource_ids group 5
2022-06-03 09:00:00 -04:00
Chef Expeditor
3aa68bd024
Bump version to 5.17.8 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-03 12:57:57 +00:00
Clinton Wolfe
47105e7f79
Merge pull request #6102 from inspec/vasundhara/group1_resource_ids
...
CFINSPEC-262 Adds resource_id group 1
2022-06-03 08:56:51 -04:00
Chef Expeditor
d84c66cfb1
Bump version to 5.17.7 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-03 12:52:57 +00:00
Nikita Mathur
fc925afaa4
Added resource id for rabbitmq and windows resources
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-03 17:07:45 +05:30
Vasu1105
1c66679e46
CFINSPEC-262 Adds resource_id to aide_conf, apache_conf, apt, audit_policy, auditd_conf, bash, bond, bridge, cassandradb_conf, cassandradb_session resources and unit test for the same
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-03 13:53:57 +05:30
Nikita Mathur
a57843b8e7
Added resource id for iis and other db resources
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-03 01:32:49 +05:30
Sonu Saha
d306ceca9a
CFINSPEC-272: Add resource_id & unit test: timezone
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 19:16:03 +05:30
Sonu Saha
26293d656e
CFINSPEC-272: Add resource_id: sys_info
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 19:09:27 +05:30