inspec/lib/plugins/inspec-sign
Sonu Saha 0fd3714229
CHEF-12175: Remove use of Kernel.open or IO.read or similar sinks with a non-constant value (#7079)
* fix: update io reads to fix codescanning vuln

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* fix: remove kernel#open fallback and update open method to handle local files

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* fix: replace io.readlines to file.readlines

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* chore: fix lint offense, unnecessary space

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* fix: raise exception for standard errors as FetcherFailure

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

* chore: update exception message

Signed-off-by: Sonu Saha <sonu.saha@progress.com>

---------

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
2024-07-10 16:45:50 +05:30
..
lib CHEF-12175: Remove use of Kernel.open or IO.read or similar sinks with a non-constant value (#7079) 2024-07-10 16:45:50 +05:30
test/functional CHEF-6439 Mandatory Profile Signing (Preview) (#6705) 2023-11-09 08:20:43 -05:00
inspec-sign.gemspec CFINSPEC-183: Rename artifact commands to inspec sign 2022-05-13 00:31:32 +05:30