Commit graph

5203 commits

Author SHA1 Message Date
Sonu Saha
6d46e5ab71 CFINSPEC-94: Add has_authorized_key for basic unix case
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
112e8cc061 CFINSPEC-94: Add new matchers belong_to_group/primary_group
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
978e6ea798 CFINSPEC-94: Remove deprecation of minimum_days_between_password_change and maximum_days_between_password_change
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
a0d40a5d9c CFINSPEC-94: Remove deprecation of has_uid? matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
3f294bfbe1 CFINSPEC-94: Remove deprecation of has_login_shell? matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Sonu Saha
50fc284a43 CFINSPEC-94: Remove deprecation of has_home_directory? matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-29 04:53:24 +05:30
Chef Expeditor
4ed3d4bcc7 Bump version to 5.10.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-25 18:18:02 +00:00
Aaron Lippold
4eccdc1b5a removed excessive use of instance variables
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-03-25 13:01:14 -04:00
Aaron Lippold
ffd4706608 refactored to remove repeated code.
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-03-25 12:54:31 -04:00
Aaron Lippold
1150ef2d30 updates to reporting detail on progress bar
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2022-03-25 12:02:29 -04:00
Chef Expeditor
5492ba69dc Bump version to 5.10.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-24 23:07:36 +00:00
Imran Iqbal
17084b4ad7
fix(service): ensure installed: true isn't always returned on FreeBSD
Fix regression introduced in 41ea0da4a9.

Close #5947.

Signed-off-by: Imran Iqbal <iqbalmy@hotmail.com>
2022-03-24 23:02:21 +00:00
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
e5a79c17d6 CFINSPEC-85: Add comments for the introduced matcher and method
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 22:36:44 +05:30
Sonu Saha
3eba207bcf CFINSPEC-86: Use method_missing and dig to achieve the goal
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 22:05:59 +05:30
Sonu Saha
9a9a5acb7a CFINSPEC-86: Replace def[] and override method_missing of json resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 15:31:58 +05:30
Sonu Saha
bfb78a2d23 CFINSPEC-86: Factorize def[] method
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-24 12:25:36 +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
Chef Expeditor
26e197a3a5 Bump version to 5.10.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 18:41:51 +00:00
Sonu Saha
d66fcd039a CFINSPEC-86: Allow container id to test inspect attributes
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:21:22 +05:30
Sonu Saha
fbe78d0c93 CFINSPEC-86: Enhance docker_image with image inspect information
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:12:09 +05:30
Sonu Saha
20895030fa CFINSPEC-85: Allow have_volume to test with container id
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 23:08:29 +05:30
Sonu Saha
327d193a06 CFINSPEC-85: Handle exception for no mounted volumes
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 22:35:08 +05:30
Sonu Saha
e3295743f1 CFINSPEC-85: Extend docker_container with have_volume? matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 22:35:08 +05:30
Chef Expeditor
4f691564e4 Bump version to 5.10.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 14:25:15 +00:00
Chef Expeditor
0d2f6760eb Bump version to 5.10.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 14:15:34 +00:00
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
Chef Expeditor
9a77b1d5e5 Bump version to 5.10.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 13:50:19 +00:00
Clinton Wolfe
22f8e1a6e7
Merge pull request #5936 from inspec/nm/plugin-search-list-description
CFINSPEC-118 Description added in plugin list and search command
2022-03-23 09:48:36 -04:00
Chef Expeditor
b681a6e9aa Bump version to 5.10.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 13:45:22 +00: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
Chef Expeditor
829b9acf45 Bump version to 5.10.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 13:40:48 +00:00
Clinton Wolfe
03d0f2374b
Merge pull request #5935 from inspec/ss/resource-cgroup
CFINSPEC-73: Add cgroup resource
2022-03-23 09:39:32 -04:00
Chef Expeditor
1a75dcdcdd Bump version to 5.9.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-23 13:38:02 +00:00
Clinton Wolfe
4c351b00c8
Merge pull request #5931 from inspec/ss/resource-ppa
CFINSPEC-82: Add ppa resource
2022-03-23 09:36:48 -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
Sonu Saha
023f4275da CFINSPEC-73: Implement param match logic on dynamic valid queries
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 07:54:11 +05:30
Clinton Wolfe
d4aa361a83 Make cgroup work by using a static list. Also adjust cmd processing.
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-23 07:54:11 +05:30
Sonu Saha
c5a66f58a6 CFINSPEC-73: Initial draft of cgroup resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-23 07:54:11 +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
Nikita Mathur
a8716f8dda More build fixes and pr review changes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-22 15:52:45 +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
Nikita Mathur
7442ef1941 Description fetch logic added for user plugin listing and test cases
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-21 15:04:33 +05:30
Nikita Mathur
e2d8ee1167 Text case fixes for plugin list/search
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-21 14:01:43 +05:30
Chef Expeditor
14203c6243 Bump version to 5.8.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-19 20:37:25 +00:00
Clinton Wolfe
aaad62e362
Merge pull request #5921 from inspec/ss/resource-lxc
CFINSPEC-79: Add linux container resource
2022-03-19 16:36:16 -04:00
Chef Expeditor
44c1d524e4 Bump version to 5.7.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-19 20:28:04 +00:00
Clinton Wolfe
55fe4b21f4
Merge pull request #5796 from inspec/vasundhara/virtualization_resource
CFINSPEC-1 Adds the ability to detect the Kubernetes container and Podman container.
2022-03-19 16:26:47 -04:00
Nikita Mathur
0cf44d324e Comment added for description in inspec status
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:37:01 +05:30
Nikita Mathur
bcc71df9dd Test cases for plugin listing and search added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:27:45 +05:30
Nikita Mathur
9ecfad0122 Added gemspec file to core plugins to be used in plugin listing for description
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:27:11 +05:30
Nikita Mathur
9ae93eef34 Logic to add description in plugin listing and search
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:25:49 +05:30
Sonu Saha
def72decc2 CFINSPEC-82: RuboCup lint check
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-17 22:59:16 +05:30
Sonu Saha
dfb1ef817e CFINSPEC-82: Remove ppa resource deprecation for backward compatibility
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-17 22:59:16 +05:30
Chef Expeditor
273a081247 Bump version to 5.7.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-17 15:53:29 +00:00
Chef Expeditor
d6c0c3b76b Bump version to 5.7.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-16 16:33:51 +00:00
Sonu Saha
73920f76bc CFINSPEC-79: Raise exceptions and add relevant unit test for unsupported os
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-16 16:47:55 +05:30
Deepa Kumaraswamy
fe8a8b0016 doc review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-16 16:46:14 +05:30
Deepa Kumaraswamy
e473693690 doc review changes
Signed-off-by: Deepa Kumaraswamy <dkumaras@progress.com>
2022-03-16 16:44:06 +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
Sonu Saha
41ddceaa85 CFINSPEC-79: RuboCop linting for lxc.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-16 15:34:47 +05:30
Sonu Saha
24b8f13708 CFINSPEC-79: Initial draft for lxc resource
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-16 15:34:47 +05:30
Chef Expeditor
be0b8fd109 Bump version to 5.7.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-11 19:41:06 +00:00
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
Chef Expeditor
04758a5fd2 Bump version to 5.7.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-11 19:37:48 +00:00
Clinton Wolfe
2241f49cca Default node_uuid to target_id like we did in 2018
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-11 11:29:28 -05:00
Clinton Wolfe
6f74a8ccfc Stylin
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-11 11:09:36 -05:00
Vasu1105
6e930303a4 Fix test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 17:31:08 +05:30
Vasu1105
adfe38c161 CFINSPEC-137: Set the target_id to blank string if unable to fetch it from train
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 15:47:50 +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
Vasu1105
8e85e2005b CFINSPEC-137: Deprecate --target-id option
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-11 15:47:50 +05:30
Chef Expeditor
a658bac10d Bump version to 5.7.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-11 09:56:06 +00:00
Sonu Saha
e070d0cbf3 Rename methods for cli_resource due to ambiguity with cli_plugin leading to test failure for plugin
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-11 13:08:58 +05:30
Sonu Saha
dc46fe9a73 Remove file.exists? deprecation in favor of file.exist?
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-11 13:07:55 +05:30
Chef Expeditor
dc99737283 Bump version to 5.7.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 20:41:28 +00:00
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
Chef Expeditor
56f81ee53c Bump version to 5.7.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 20:26:10 +00:00
Clinton Wolfe
b6b2fd385b
Merge pull request #5915 from inspec/nm/remove-cloud-resources
CFINSPEC-129 Removed cloud resources ( AWS & Azure ) from inspec-core
2022-03-10 15:24:59 -05:00
Chef Expeditor
b1f06ea35f Bump version to 5.7.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 19:17:00 +00:00
Clinton Wolfe
17c6010092
Merge pull request #5895 from inspec/vasundhara/support-generating-target-id
CFINSPEC-68 Adds target_id in the reporter.
2022-03-10 14:15:45 -05:00
Clinton Wolfe
9b78625b2f Fix some bugs found in lazy_instance implementation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 13:51:39 -05:00
Chef Expeditor
a7903574a2 Bump version to 5.7.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 17:23:47 +00:00
Clinton Wolfe
06c30ac536
Merge pull request #5913 from inspec/ss/feature-resource-generator
CFINSPEC-128 : Create a resource generator
2022-03-10 12:22:21 -05:00
Vasu1105
72ba700669 CFINSPEC-68 Fix test
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-10 20:45:23 +05:30
Vasu1105
2561fd3b43 CFINSPEC-68 Adds target_id in the reporter under platform data.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-10 20:45:23 +05:30
Chef Expeditor
9fe26f4bc9 Bump version to 5.7.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 14:42:42 +00:00
Clinton Wolfe
571d84fabd
Merge pull request #5914 from inspec/vasundhara/add-entitlement-id-to-profile-metadata-file
CFINSPEC-26: Adds entitlement_id field in metadata file
2022-03-10 09:41:18 -05:00
Chef Expeditor
118a032b84 Bump version to 5.7.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 14:39:00 +00:00
Sonu Saha
2c4ea72a36 CFINSPEC-128 : Modify warning message for existing directory case
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
d78acc03ba Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
bbdbc5c6b7 Remove old TODO message
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
c39329b82f Add a plural resource template
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
ed4fffe8d3 Add template option to control which template set to use
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
22f7e7c222 Add a layout option to control core vs resource pack layout
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
1160716a12 Cleanup - remove DS_Store files, unused functional test template
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
638522f0e0 Working unit tests, holey moley
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
6a39ed74a1 Enable overwrite mode
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
d54c52a932 Noninteractive mode works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
3061d48fc2 Add path option
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
c4a98e6a6d Update doc template with property and matcher
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
f013e29eb0 Add properties and matchers to resource template; add wishlist
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-10 20:07:32 +05:30
Sonu Saha
81a04aacd5 CFINSPEC-128 Initial draft of resource generator
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-10 20:07:32 +05:30
Clinton Wolfe
e3108aabf0
Merge pull request #5891 from inspec/vasundhara/add-cron-resource
CFINSPEC-74 Adds the cron resource.
2022-03-10 09:37:23 -05:00
Chef Expeditor
270ad5fa4b Bump version to 5.6.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 14:36:30 +00:00
Sathish
07545a8058
assume lazy caller always resonds to resource instance
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 20:04:57 +05:30
Nikita Mathur
9e1ef742f8 Test cases fixed and new test cases added
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-10 19:24:52 +05:30
Nikita Mathur
39081c51ba Docs removed of inspec-core and some changes
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-10 19:24:52 +05:30
Nikita Mathur
41ba05f901 Removed aws and azure resources, unit and integration tests
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-10 19:24:52 +05:30
Nikita Mathur
7f4271e216 Error handling for deprecated aws and azure resources
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-10 19:24:52 +05:30
Sathish
b082a5cabf
Merge branch 'main' of github.com:inspec/inspec into RESOURCE-312-extend-filter-table 2022-03-10 19:24:28 +05:30
Sathish
ec47508fbd
execute lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:18:27 +05:30
Sathish
77de4644c5
execute filter table for populate lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:17:43 +05:30
Sathish
33d54348dc
populate lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:16:48 +05:30
Sathish
047d54994a
find lazy instance callbacks
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:16:19 +05:30
Sathish
d2bdac6ff4
find lazy instance fields
Signed-off-by: Sathish <sbabu@progress.com>
2022-03-10 19:15:51 +05:30
Vasu1105
195de004e1 CFINSPEC-26: Adds entitlement_id field in metadata file
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-10 13:26:13 +05:30
Chef Expeditor
438daafb4b Bump version to 5.6.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 00:45:31 +00:00
Clinton Wolfe
4a63319840
Merge pull request #5871 from inspec/vasundhara/support-profile-gem-dependency
CFINSPEC-13:  Adds support for specifying gem dependencies in the metadata file of InSpec Profile.
2022-03-09 19:44:05 -05:00
Chef Expeditor
c72ddefbf3 Bump version to 5.5.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-10 00:40:37 +00:00
Chef Expeditor
2042299520 Bump version to 5.5.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-09 23:03:47 +00:00
Clinton Wolfe
a7fc842255 Doc edits
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-09 15:36:32 -05:00
Chef Expeditor
d9db9df4d7 Bump version to 5.5.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-09 17:51:34 +00:00
Will Dower
23d1749ee8 merging in master
Signed-off-by: Will Dower <wdower@mitre.org>
2022-03-07 15:53:10 -05:00
Chef Expeditor
4fef4dc950 Bump version to 5.5.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-07 15:30:01 +00:00
Clinton Wolfe
32c9f567f4
Merge pull request #5863 from inspec/nm/progress-bar
CFINSPEC-10 Added Progress Bar streaming reporter plugin
2022-03-07 10:28:39 -05:00
Vasu1105
28143592d2 Fixed minor docs typos.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-07 12:10:38 +05:30
Chef Expeditor
5874c19900 Bump version to 5.4.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-06 16:09:12 +00:00
Clinton Wolfe
924c0a24c8
Merge pull request #5903 from inspec/nm/resource_id-3
CFINSPEC-70 resource_id support take 3
2022-03-06 11:07:52 -05:00
Chef Expeditor
4bb6423886 Bump version to 5.4.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 22:16:38 +00:00
Chef Expeditor
88d5a6a92e Bump version to 5.4.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 22:00:47 +00:00
Vasu1105
c73dec70a7 CFINSPEC-13 Added exception handling for Gem BadRequirement error.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 21:16:18 +05:30
Clinton Wolfe
4594719be5 Fix for broken resource_id fetch when resource_title turns out, horrifyingly, to be a string
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 09:16:32 -05:00
Clinton Wolfe
3d8f5f9553 Revert "Revert "CFINSPEC-70 Added resource_id attribute for the custom resources in the base class""
This reverts commit 302bccf732.
2022-03-04 09:15:52 -05:00
Clinton Wolfe
c32f48ca88 Linting, sigh
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00
Clinton Wolfe
524aa15af0 Add validation and testing for the same
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00
Clinton Wolfe
84e25c2dbe Issue warning for inspec archive when profiles contain gem deps
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2022-03-04 00:34:46 -05:00
Vasu1105
9e15ebac1a CFINSPEC-13: Added option --auto-install-gems to work with both inspec exec and inspec check command.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
30f44b0462 CFINSPEC-13: Resolved the Unable to resolve gem dependency error on linux, Adds code to handle the loading of gems in the inspec check and fixed the test.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
9a561bce54 CFINSPEC-13: Adds code to handle all kinds of version constraint and improved installed gem search logic for the version constraint.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
b3f4c9c70a CFINSPEC-13 Added check so that the adding gem to vendor set block will get called on Windows. Renamed the metadata file parameter name to provide gem dependencies.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
dbdc1223c4 CFINSPEC-13: Adds venendor gem in the managed gem set which partially fix the issue of resolving dependecies on Windows.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
fa1d08c792 Updated the default version string.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
b1ce116ebb CFINSPEC-13: Adds the support to load the gem dependencies from dependent profiles.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Vasu1105
e3ef2cb912 CFINSPEC-13: Adds the ability to install and load the gem depedencies specified in the metadata file of profile/resource pack.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2022-03-04 00:34:46 -05:00
Chef Expeditor
c5ac267ab4 Bump version to 5.4.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-04 05:34:14 +00:00
Clinton Wolfe
302bccf732
Revert "CFINSPEC-70 Added resource_id attribute for the custom resources in the base class" 2022-03-03 23:48:32 -05:00
Chef Expeditor
f769b7019d Bump version to 5.4.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2022-03-03 18:55:37 +00:00
Sonu Saha
f4f70f55ed CFINSPEC-66 : Add condition to skip ipfilter resource for darwin instead of failure
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:38:22 -05:00
Sonu Saha
7c0ff452b1 CFINSPEC-66 : Add ipfilter to resources.rb
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:38:22 -05:00
Sonu Saha
a854374b66 CFINSPEC-66 : Correct supports platform for ipfilter
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2022-03-03 13:37:35 -05:00