Skip to content

SUP-1602 Snyk task API migration from deprecated version to REST API version #862

SUP-1602 Snyk task API migration from deprecated version to REST API version

SUP-1602 Snyk task API migration from deprecated version to REST API version #862

Triggered via pull request May 30, 2024 14:27
Status Failure
Total duration 43s
Artifacts

nativeruby.yml

on: pull_request
Native-Ruby-Test
34s
Native-Ruby-Test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 5 warnings
Native-Ruby-Test: spec/tasks/connectors/snyk_v2/snyk_v2_task_spec.rb#L27
Kenna::Toolkit::SnykV2Task#run vulnerability creates normalized (non-duplicative) vuln_defs Failure/Error: RestClient::Request.execute( method: :get, url:, headers:, verify_ssl: ) VCR::Errors::UnhandledHTTPRequestError: ================================================================================ An HTTP request has been made that VCR does not know how to handle: GET https://api.snyk.io/rest/orgs?version=2024-04-29 There is currently no cassette in use. There are a few ways you can configure VCR to handle this request: * If you're surprised VCR is raising this error and want insight about how VCR attempted to handle the request, you can use the debug_logger configuration option to log more details [1]. * If you want VCR to record this request and play it back during future test runs, you should wrap your test (or this portion of your test) in a `VCR.use_cassette` block [2]. * If you only want VCR to handle requests made while a cassette is in use, configure `allow_http_connections_when_no_cassette = true`. VCR will ignore this request since it is made when there is no cassette [3]. * If you want VCR to ignore this request (and others like it), you can set an `ignore_request` callback [4]. [1] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/debug-logging [2] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/getting-started [3] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/allow-http-connections-when-no-cassette [4] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/ignore-request ================================================================================
Native-Ruby-Test: spec/tasks/connectors/snyk_v2/snyk_v2_task_spec.rb#L39
Kenna::Toolkit::SnykV2Task#run vulnerability creates normalized (non-duplicative) vulns on assets Failure/Error: RestClient::Request.execute( method: :get, url:, headers:, verify_ssl: ) VCR::Errors::UnhandledHTTPRequestError: ================================================================================ An HTTP request has been made that VCR does not know how to handle: GET https://api.snyk.io/rest/orgs?version=2024-04-29 There is currently no cassette in use. There are a few ways you can configure VCR to handle this request: * If you're surprised VCR is raising this error and want insight about how VCR attempted to handle the request, you can use the debug_logger configuration option to log more details [1]. * If you want VCR to record this request and play it back during future test runs, you should wrap your test (or this portion of your test) in a `VCR.use_cassette` block [2]. * If you only want VCR to handle requests made while a cassette is in use, configure `allow_http_connections_when_no_cassette = true`. VCR will ignore this request since it is made when there is no cassette [3]. * If you want VCR to ignore this request (and others like it), you can set an `ignore_request` callback [4]. [1] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/debug-logging [2] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/getting-started [3] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/allow-http-connections-when-no-cassette [4] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/ignore-request ================================================================================
Native-Ruby-Test: spec/tasks/connectors/snyk_v2/snyk_v2_task_spec.rb#L63
Kenna::Toolkit::SnykV2Task#run finding that has multiple CVEs creates duplicate vuln_defs Failure/Error: RestClient::Request.execute( method: :get, url:, headers:, verify_ssl: ) VCR::Errors::UnhandledHTTPRequestError: ================================================================================ An HTTP request has been made that VCR does not know how to handle: GET https://api.snyk.io/rest/orgs?version=2024-04-29 There is currently no cassette in use. There are a few ways you can configure VCR to handle this request: * If you're surprised VCR is raising this error and want insight about how VCR attempted to handle the request, you can use the debug_logger configuration option to log more details [1]. * If you want VCR to record this request and play it back during future test runs, you should wrap your test (or this portion of your test) in a `VCR.use_cassette` block [2]. * If you only want VCR to handle requests made while a cassette is in use, configure `allow_http_connections_when_no_cassette = true`. VCR will ignore this request since it is made when there is no cassette [3]. * If you want VCR to ignore this request (and others like it), you can set an `ignore_request` callback [4]. [1] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/debug-logging [2] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/getting-started [3] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/allow-http-connections-when-no-cassette [4] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/ignore-request ================================================================================
Native-Ruby-Test: spec/tasks/connectors/snyk_v2/snyk_v2_task_spec.rb#L82
Kenna::Toolkit::SnykV2Task#run finding that has multiple CVEs creates assets with duplicate findings Failure/Error: RestClient::Request.execute( method: :get, url:, headers:, verify_ssl: ) VCR::Errors::UnhandledHTTPRequestError: ================================================================================ An HTTP request has been made that VCR does not know how to handle: GET https://api.snyk.io/rest/orgs?version=2024-04-29 There is currently no cassette in use. There are a few ways you can configure VCR to handle this request: * If you're surprised VCR is raising this error and want insight about how VCR attempted to handle the request, you can use the debug_logger configuration option to log more details [1]. * If you want VCR to record this request and play it back during future test runs, you should wrap your test (or this portion of your test) in a `VCR.use_cassette` block [2]. * If you only want VCR to handle requests made while a cassette is in use, configure `allow_http_connections_when_no_cassette = true`. VCR will ignore this request since it is made when there is no cassette [3]. * If you want VCR to ignore this request (and others like it), you can set an `ignore_request` callback [4]. [1] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/debug-logging [2] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/getting-started [3] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/allow-http-connections-when-no-cassette [4] https://www.relishapp.com/vcr/vcr/v/6-1-0/docs/configuration/ignore-request ================================================================================
Native-Ruby-Test
Process completed with exit code 1.
Native-Ruby-Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Native-Ruby-Test: spec/tasks/connectors/digital_footprint/compare_output_spec.rb#L10
compare output bitsight output is the same output Skipped: Temporarily skipped with xdescribe
Native-Ruby-Test: spec/tasks/connectors/digital_footprint/compare_output_spec.rb#L23
compare output expanse output is the same output Skipped: Temporarily skipped with xdescribe
Native-Ruby-Test: spec/tasks/connectors/digital_footprint/compare_output_spec.rb#L39
compare output riskiq output is the same output Skipped: Temporarily skipped with xdescribe
Native-Ruby-Test: spec/tasks/connectors/digital_footprint/compare_output_spec.rb#L52
compare output security scorecard output is the same output Skipped: Temporarily skipped with xdescribe