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
62662d5ae0
Comment to add info for silent super class
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-30 13:46:58 +05:30
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
Nikita Mathur
c5b03be490
Enabled silent run by adding silent superreporter
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-29 13:43:10 +05:30
Vasu1105
6d3689d483
Adds --podman-url option accepts path to Podman API endpoint
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-28 00:40:23 -04:00
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
Nikita Mathur
bfc18f9bea
Reverted fake version change and added comments for more clarity
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
c461719331
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-27 17:45:02 -04:00
Nikita Mathur
28efa42ddf
New profile id usage instead of profile_id in dsl
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
4f7d508fcc
Fix build issue
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
b86ed1343d
Fix related to new profile id generation for fetching dependencies in dsl logic
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
e9e830d3d4
Dsl using dependency with version to fetch dependency
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-27 17:45:02 -04:00
Nikita Mathur
c79c89836c
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-27 17:45:02 -04: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
jayashrig158
542b9cc246
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-14 16:07:08 +05:30
Nikita Mathur
6eb5df2e49
Skip parallel exec tests on windows
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 15:17:02 +05:30
Nikita Mathur
d8fd959af5
Fix test cases in inspec parallel tests
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-14 13:46:34 +05:30
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
Nikita Mathur
f04a31d822
CFINSPEC-120 inspec parallel
feature ( #5975 )
...
* Initial commit - Inspec parallel setup
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Added dry run option functionality and renamed subcommand
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Runner logic parsing options file and executing cmds
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Validation logic changes for dry run and run commands
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Validator bug fix when using options like --sudo with no value
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* initial commit for using default options
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Logic to not parse empty lines and comments and some cleanup
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Functional test cases added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Test cases fix and bug fix in validator
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Add logic to append default options passed from cli
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* Add test for default options and extend options-file-1.txt
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* Add comments in options-file-2 and 3
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
* Bug fix and some refactoring
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Changes from pair programming
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Fixed incorrect line no used in dry run validation & added verbose option
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Initial code with parallel gem setup
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Error handling and some changes in parallel running result
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Working spawn and fork implementation; no pipes or error handling
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* CFINSPEC-143 Child status reporter plugin
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Read status from children using pipes; Windows implementation is likely broken
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Removed parallel gem and it's code usage
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Erb templating and option file as shell/powershell option added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Added missing raise error in content reading logic
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Adding for the sake of keeping bash file syntax correct
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Switch to select() polling, enabling Windows support; also add a terrible hack to the child-status reporter
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Move child-status reporter into inspec-parallel plugin to reduce pollution
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Rename a bunch of things, remove some instance variables, always validate, and use Inspec::UI exit codes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Rework validation to be Thor-based; add logic to inject child-status reporter
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Refactor parent UI to make it object oriented
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Add a prototype 'status' super-reporter
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Improve status UI edge cases, add info to output, make default
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Error handling added when running bash instead of system check
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Daemon run for background process in unix system for parallel runs
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Added logic to cleanup daemon process'
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Review changes for background command name and windows handling
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Error raised with error handling class for options file
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Fix to not intialise ui when background run is opted
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* typo fix in child reporter append logic in validator
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Changes to trap control c and exit gracefully
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Moved ctl c handling code to command class
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Linter fixes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Error and runner logging added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* ERB pid option to use child process id for generating result output
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Renamed 38125 to Process.pid for clear notation
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Log path option added for inspec parallel
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Adjust ERB eval
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* STDERR logging added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Fix of --bg with ui
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Deleting log files if empty and status super reporter to show done
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Docs for InSpec Parallel
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Doc Review
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
* Grammar corrections
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Sonu Saha <sonu.saha@progress.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-06-13 13:58:41 -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
Clinton Wolfe
873b2e1bcf
Manual version bump
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-06-13 13:47:17 -04: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
Sonu Saha
d48811ded2
CFINSPEC-272: Add resource_id: sybase_session
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 19:08:16 +05:30
Sonu Saha
0bec2ea979
CFINSPEC-272: Add resource_id: sybase_conf
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 19:06:04 +05:30
Sonu Saha
5fd5e21181
CFINSPEC-272: Add resource_id: ssh_config, sshd_config
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 19:04:36 +05:30
Nikita Mathur
cac93ee152
added name to be used as resource id for docker resource - loosely unique
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-02 17:14:36 +05:30
Nikita Mathur
7b0b98edac
Resource id added for filesystem, grub, group, gem and other resources
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-02 17:11:00 +05:30
Sonu Saha
d012aec0b8
CFINSPEC-266: Add resource_id & unit test: iptables
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:55:55 +05:30
Sonu Saha
a2c9597335
CFINSPEC-266: Add resource_id & unit test: ipnat
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:55:41 +05:30
Sonu Saha
389495793f
CFINSPEC-266: Add resource_id & unit test: ipfilter
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:55:18 +05:30
Sonu Saha
56e5a67f97
CFINSPEC-266: Add resource_id & unit test: ip6tables
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:54:50 +05:30
Sonu Saha
3c1c28f3ec
CFINSPEC-266: Add resource_id & unit test: interface
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:54:18 +05:30
Sonu Saha
67081c00d4
CFINSPEC-266: Add resource_id & unit test: ini, json, xml, yaml
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:53:37 +05:30
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
Sonu Saha
60f80b9f97
CFINSPEC-274: Add resource_id & unit test: zfs_pool
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:46:45 +05:30
Sonu Saha
84a68668dd
CFINSPEC-274: Add resource_id & unit test: zfs_dataset
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:46:36 +05:30
Sonu Saha
c9181db3bc
CFINSPEC-274: Add resource_id & unit test: yum
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:46:12 +05:30
Sonu Saha
8e13fb1f36
CFINSPEC-274: Add resource_id & unit test: x509_certificate
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:45:24 +05:30
Sonu Saha
1fb530e739
CFINSPEC-274: Add resource_id & unit test: wmi
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 16:44:41 +05:30
Nikita Mathur
298c83a550
Resource id added for etc, docker and file resources
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-06-02 16:32:06 +05:30
Sonu Saha
86a96f34f7
CFINSPEC-267: Add resource_id & unit test: mongodb
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 11:55:50 +05:30
Sonu Saha
b39ab1e5e1
CFINSPEC-267: Add resource_id & unit test: login_defs
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 11:52:26 +05:30
Sonu Saha
eac4e11b34
CFINSPEC-267: Add resource_id & unit test: limits_conf
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 11:50:49 +05:30
Sonu Saha
06029220b4
CFINSPEC-267: Add resource_id & unit test: service, launchd_service
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 11:48:29 +05:30
Sonu Saha
ee8d263b74
CFINSPEC-267: Add resource_id & unit test: ksh
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 11:31:22 +05:30
Sonu Saha
fb76150b3b
CFINSPEC-267: Add resource_id: key_rsa
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 11:27:02 +05:30
Sonu Saha
c6d6ab334a
CFINSPEC-267: Add resource_id: kernel_parameter
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 11:12:14 +05:30
Sonu Saha
aaca074141
CFINSPEC-267: Add resource_id to kernel_module
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-02 10:54:58 +05:30
Vasu1105
078d1ce898
Updated sign and verify command to directly accept the path of the profile instead of additional option to provide those. Updated docs for the same.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-02 10:36:50 +05:30
Clinton Wolfe
6d4211ccaf
Merge pull request #6060 from inspec/vasundhara/profile-content-id-option
...
CFINSPEC-255 Add --profile-content-id option to inspec sign profile command
2022-06-01 13:16:54 -04:00
Vasu1105
fdb4d5c3ca
Fix the --profile-content-id option not to overwrite the existing profile_content_id value in the metadata file
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-06-01 22:14:53 +05:30
Chef Expeditor
f2943b7bc8
Bump version to 5.17.6 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-01 13:37:06 +00:00
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
4d538f57c2
CFINSPEC-291: Remove byebugs and noise
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-01 13:30:28 +05:30
Sonu Saha
39b4f0a7a5
CFINSPEC-291: Initial fix to consider processes without path on Windows
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-06-01 13:09:30 +05:30
Chef Expeditor
32ce41a438
Bump version to 5.17.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-06-01 00:57:01 +00:00
Vasu1105
12b73a6609
Only adds or updates the profile_content_id without modifying the existing contents of the metadata file.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-30 14:37:39 +05:30
Vasu1105
16353af6e3
Fixed the profile content id option description.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-30 12:11:23 +05:30
Chef Expeditor
96036f947d
Bump version to 5.17.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-24 14:16:15 +00:00
Chef Expeditor
07fd5253ef
Bump version to 5.17.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-23 03:58:23 +00:00
Chef Expeditor
7c91ab87b0
Bump version to 5.17.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-23 03:55:07 +00:00
Chef Expeditor
ed171586eb
Bump version to 5.17.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-18 09:06:04 +00:00
Chef Expeditor
d60f7a8c86
Bump version to 5.17.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-17 11:08:12 +00:00
Sonu Saha
a0a6a39bb0
CFINSPEC-81: Add supports platform check
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-17 12:51:42 +05:30
Sonu Saha
f16b948bdc
CFINSPEC-81: Handle situation for integer config values
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-17 12:51:42 +05:30
Sonu Saha
7c3cddbc84
CFINSPEC-81: Add php_config resource with value property
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-17 12:51:42 +05:30
Chef Expeditor
bf06bebdff
Bump version to 5.16.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-17 06:05:50 +00:00
Chef Expeditor
8cbab96ae7
Bump version to 5.16.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-17 06:03:51 +00:00
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
Chef Expeditor
dcdf9c99c9
Bump version to 5.16.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-17 06:01:41 +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
Vasu1105
f8ea910f32
Fixed lint errors
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-17 11:25:13 +05:30
Chef Expeditor
c953ca6f9a
Bump version to 5.15.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-17 03:23:03 +00:00
Clinton Wolfe
1d4e70ede5
Merge pull request #6057 from inspec/vasundhara/gem-dependency-version-issue
...
CFINSPEC-252: Fix profile gem dependency installation is failing when gem version is not specified
2022-05-16 23:21:52 -04:00
Vasu1105
4893472322
Handle the exception in case the keyname is not in proper format for signed profile.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-16 15:33:38 +05:30
Vasu1105
bee69410ca
CFINSPEC-255: Add --profile-content-id option to inspec sign profile command
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 16:34:48 +05:30
Vasu1105
a78164927f
Fixes lint failure and test failures which was causing as it's enable to modify the Frozen String literal.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
0b587a98af
Add ability to export metadata and README
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
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
81b05dfc2d
CFINSPEC-191: export profile in yaml format with basic information
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
b64857358a
CFINSPEC-192: Alias inspec json command to inspec export --format json
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
28f6eec56a
Fix failing test
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
47bc41cd2c
Several small bugs and usability fixes
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Vasu1105
3f22d899fb
Fixed failing test and adds test for signed dependent profile
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
56b8306e34
Fix for test failure
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
913e6215d4
Fetch validation keys from GitHub if possible
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
0ec4461756
Look for signing and validation keys in user and source directories
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Clinton Wolfe
29034b6b9d
Fix log output, don't use temp dir
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-05-13 00:31:32 +05:30
Vasu1105
9c2fa3f012
Fixed typo
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
6da6c85e54
Refactored code to use existing archive command to archive the file.
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
c937573763
Adds test to execute signed profile.
...
Fixes failing test.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
9ef83bfce8
Updated to generate binary format of the signed profile
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
6bb06eee5f
Adds class iaf_file to validate the signed profile
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
d7b0d69e29
CFINSPEC-146: Enable direct execution of signed profiles
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
f0c868759d
Renamed the method for validating header
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
9454821d7c
CFINSPEC-183: Rename artifact commands to inspec sign
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
bfa781b8ec
CFINSPEC-167: Adds profile version check for signed profiles
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-13 00:31:32 +05:30
Vasu1105
cd5fde279a
CFINSPEC-167: Store the signed profile in binary format
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
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
Sonu Saha
e879ef89a5
CFINSPEC-95: Remove redundant code
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-13 00:00:44 +05:30
Chef Expeditor
bcd99943d7
Bump version to 5.15.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-12 14:49:54 +00:00
Clinton Wolfe
673000d64c
Merge pull request #6056 from inspec/vasundhara/fix-json-output-inputs
...
CFINSPEC-250: Fix for inspec json command does not populate the inputs for the profile
2022-05-12 10:48:38 -04:00
Vasu1105
e5e9bb0608
CFINSPEC-250: Fix for inspec json command does not populate the attribues/inputs for the profile
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-05-12 13:34:32 +05:30
Sonu Saha
1200638c84
CFINSPEC-90: Handle scenario when ipaddress is array of hashes in windows
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-07 00:21:04 +05:30
Sonu Saha
205a96abd1
CFINSPEC-90: Add ipv4_address and ipv6_address properties
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 23:13:05 +05:30
Sonu Saha
9d7c468fa5
CFINSPEC-90: Extend existing ipaddress property for windows
...
to include the ipv6 addresses as well
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 22:41:08 +05:30
Chef Expeditor
172ab5e49a
Bump version to 5.15.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-06 13:29:04 +00:00
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
0bbea5eac5
CFINSPEC-95: Fix indentation
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 15:57:27 +05:30
Sonu Saha
d72933a252
CFINSPEC-95: Modify have_purpose matcher
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 15:54:05 +05:30
Sonu Saha
b6f40113d5
CFINSPEC-95: Modify subject_alt_names property
...
to use existing code
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 12:13:29 +05:30
Sonu Saha
d759dd258c
CFINSPEC-95: Add subject_alt_names property
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-06 11:53:22 +05:30
Sonu Saha
0cd343a3cc
CFINSPEC-95: Alias keylength to key_length
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-05 15:37:39 +05:30
Sonu Saha
597a8d9177
CFINSPEC-95: Add exception handling for have_purpose matcher
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-05 15:32:42 +05:30
Sonu Saha
322e057f05
CFINSPEC-95: Add have_purpose matcher
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-05 15:26:19 +05:30
Sonu Saha
95c864092d
CFINSPEC-95: Add email property
...
email property is an alias of subject.emailAddress property
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-05 13:10:42 +05:30
Chef Expeditor
79f11561fb
Bump version to 5.14.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-05 00:17:10 +00:00
Sonu Saha
875e99099e
CFINSPEC-92: Extend be_running matcher
...
to consider sleep state to be running
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-05-03 10:47:40 +05:30
Chef Expeditor
709372bac2
Bump version to 5.14.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-05-03 00:42:33 +00:00
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
c80c55299d
CFINSPEC-84: Add documentation for x509_private_key
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-29 12:47:50 +05:30
Chef Expeditor
f32cd8ee4c
Bump version to 5.14.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-28 01:00:50 +00:00
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
Chef Expeditor
9f8a6282cc
Bump version to 5.14.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-28 00:49:45 +00:00
Chef Expeditor
be0e7ad233
Bump version to 5.14.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-28 00:46:47 +00:00
Sonu Saha
55eeef75bb
CFINSPEC-84: Add exception handling for has_matching_certificate
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-27 14:58:56 +05:30
Sonu Saha
13f30b2f63
CFINSPEC-84: Clean code and add comments
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-26 14:33:38 +05:30
Sonu Saha
24fa858ca5
CFINSPEC-84: Add have_matching_certificate matcher.
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-26 14:29:55 +05:30
Sonu Saha
2a28a6379e
CFINSPEC-84: Add be_encrypted matcher for x509_private_key
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-26 11:55:20 +05:30
Sonu Saha
21bed51bc7
CFINSPEC-84: Add be_valid matcher for x509_private_key
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-25 20:34:46 +05:30
Sonu Saha
96d9b2fcdb
CFINSPEC-96: Add documentation for zfs resource
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-21 21:42:16 +05:30
Sonu Saha
ada1eaefcc
CFINSPEC-96: Handle corner case and add comments
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-21 21:17:27 +05:30
Sonu Saha
3449285273
CFINSPEC-96: Add zfs resource with new matcher
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-21 20:36:46 +05:30
Sonu Saha
93236e364f
CFINSPEC-92: Add be_running matcher for processes
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-20 21:18:27 +05:30
Chef Expeditor
b98a802be3
Bump version to 5.14.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-20 13:24:55 +00:00
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
d9b527201b
Issue-5809: Initial fix for service resource on amazon linux
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-20 15:26:22 +05:30
Sonu Saha
6d8fbbb543
CFINSPEC-78: Add comments for new matchers & property
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:07 +05:30
Sonu Saha
2e243617a5
CFINSPEC-78: Add rules property for the resource
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:33:07 +05:30
Sonu Saha
117c9230e9
CFINSPEC-78: Add be_running matcher for the resource
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:29:15 +05:30
Sonu Saha
bef163f75b
CFINSPEC-78: Add be_enabled matcher for the resource
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-19 09:29:15 +05:30
Chef Expeditor
1e911232f1
Bump version to 5.13.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 22:07:20 +00:00
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
Chef Expeditor
bb14bfd5f5
Bump version to 5.13.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 22:05:14 +00: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
Chef Expeditor
f3346506a0
Bump version to 5.13.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 22:00:19 +00: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
Chef Expeditor
3ce59700e3
Bump version to 5.13.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-18 21:47:27 +00:00
Vasu1105
07f6793533
CFINSPEC-181: Fix unable to upload inspec compliance profile using to Chef Automate.
...
Add --with-cookstyle option to inspec check command to disable cookstyle check as default
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-04-14 21:47:10 +05:30
Sonu Saha
598df4a3a8
CFINSPEC-93: Remove redundant methods from child class of MonitoringTool
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-14 10:31:43 +05:30
Sonu Saha
fde99cb651
CFINSPEC-87: Remove redundant methods from child class of ImmutableFlagCheck
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-14 10:24:10 +05:30
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
Chef Expeditor
7d1ad0acc3
Bump version to 5.13.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-13 22:00:56 +00:00
Clinton Wolfe
b1d113e986
Merge pull request #5979 from inspec/ss/add-default_gateway-resource
...
CFINSPEC-75: Add default_gateway resource
2022-04-13 17:59:52 -04:00
Sonu Saha
d4655f5ee4
CFINSPEC-87: Fix typos in error message
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-14 02:03:33 +05:30
Sonu Saha
2f7c65d1a4
CFINSPEC-89: Add have_gid matcher
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 16:50:10 +05:30
Sonu Saha
048f0019ae
CFINSPEC-87: Extend file resource with content_as_yaml property
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 11:49:00 +05:30
Sonu Saha
02c1bcb3f5
CFINSPEC-87: Extend file resource with content_as_json property
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-13 11:28:11 +05:30
Sonu Saha
babf21466c
CFINSPEC-87: Extend file resource with be_immutable matcher
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 16:49:58 +05:30
Sonu Saha
50f3026578
CFINSPEC-93: Correct exception message
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 12:40:08 +05:30
Sonu Saha
f5afe10017
CFINSPEC-93: Add comments and exception guard clause for new matcher
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 10:07:25 +05:30
Sonu Saha
f55c3e8190
CFINSPEC-93: Add monitored_by matcher;
...
Supported monitoring tool: monit & god
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 09:52:47 +05:30
Sonu Saha
ab3fd0bc3e
CFINSPEC-93: Add have_start_mode matcher
...
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-04-12 09:52:47 +05:30
Chef Expeditor
f00b3341dd
Bump version to 5.12.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-12 00:34:25 +00:00
Chef Expeditor
aa32588d1b
Bump version to 5.12.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2022-04-08 14:01:34 +00:00