Cleaned up compile warnings #281
trivy-analysis.yml
on: pull_request
Upload scan results
1m 25s
Annotations
6 warnings
.NET Analysis:
CSETWebApi/CSETWebCore.AutoResponder/ExcelProcess.cs#L96
Possible null reference argument for parameter 'o' in 'int Marshal.ReleaseComObject(object o)'.
|
.NET Analysis:
CSETWebApi/CSETWebCore.AutoResponder/ExcelProcess.cs#L96
This call site is reachable on all platforms. 'Marshal.ReleaseComObject(object)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
.NET Analysis:
CSETWebApi/CSETWeb_Api/DuplicateAssessments/AssessmentsDuplicator.cs#L58
Possible null reference argument for parameter 'context' in 'MockTokenManager.MockTokenManager(string testToken, CSETContext context)'.
|
.NET Analysis:
CSETWebApi/CSETWebCore.AutoResponder/ExcelProcess.cs#L96
Possible null reference argument for parameter 'o' in 'int Marshal.ReleaseComObject(object o)'.
|
.NET Analysis:
CSETWebApi/CSETWebCore.AutoResponder/ExcelProcess.cs#L96
This call site is reachable on all platforms. 'Marshal.ReleaseComObject(object)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
|
.NET Analysis:
CSETWebApi/CSETWeb_Api/DuplicateAssessments/AssessmentsDuplicator.cs#L58
Possible null reference argument for parameter 'context' in 'MockTokenManager.MockTokenManager(string testToken, CSETContext context)'.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
trivy-dotnet-results
|
6.75 KB |
|
trivy-nodejs-results
|
496 Bytes |
|