Skip to content

fix: resolve Snyk false-positive hardcoded credential findings #326

fix: resolve Snyk false-positive hardcoded credential findings

fix: resolve Snyk false-positive hardcoded credential findings #326

Triggered via pull request August 10, 2026 07:29
Status Failure
Total duration 1m 14s
Artifacts

unit-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 7 warnings
unit-test
Process completed with exit code 1.
unit-test: Contentstack.Core.Unit.Tests/AssetLibraryUnitTests.cs#L119
The name 'key' does not exist in the current context
unit-test: Contentstack.Core.Unit.Tests/AssetLibraryUnitTests.cs#L119
The name 'key' does not exist in the current context
unit-test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4.2.2, actions/setup-dotnet@v4.3.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
unit-test: Contentstack.Core/Internals/HttpRequestHandler.cs#L124
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
unit-test: Contentstack.Core/ContentstackClient.cs#L397
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
unit-test: Contentstack.Core/Internals/HttpRequestHandler.cs#L60
'WebRequest.Create(Uri)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
unit-test: Contentstack.Core/Internals/HttpRequestHandler.cs#L124
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
unit-test: Contentstack.Core/ContentstackClient.cs#L397
Re-throwing caught exception changes stack information (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200)
unit-test: Contentstack.Core/Internals/HttpRequestHandler.cs#L60
'WebRequest.Create(Uri)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)