Skip to content

CodeQL for ModelCompiler #123

CodeQL for ModelCompiler

CodeQL for ModelCompiler #123

Triggered via schedule February 24, 2024 06:30
Status Failure
Total duration 7m 43s
Artifacts

codeql-analysis.yml

on: schedule
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 12 warnings
Analyze (csharp)
Assets file '/home/runner/work/UA-ModelCompiler/UA-ModelCompiler/Opc.Ua.ModelCompiler/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/UA-ModelCompiler/UA-ModelCompiler/Tests/DemoModel/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/csharp/tools/autobuild.sh". Exit code was 1 and last log line was: Error: Could not auto-detect a suitable build method. See the logs for more details.
Analyze (csharp)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/init@v2, actions/setup-dotnet@v3, github/codeql-action/autobuild@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Analyze (csharp)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/IX509Certificate.cs#L66
The property name 'SerialNumber' is confusing given the existence of method 'GetSerialNumber'. Rename or remove one of these members. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L106
The property name 'SerialNumber' is confusing given the existence of method 'GetSerialNumber'. Rename or remove one of these members. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Crl/CrlBuilder.cs#L149
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Crl/X509Crl.cs#L161
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Crl/X509Signature.cs#L46
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Crl/X509Signature.cs#L50
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Crl/X509Signature.cs#L54
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Crl/CrlReason.cs#L53
Mark enums with FlagsAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Crl/IX509Crl.cs#L80
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Crl/RevokedCertificate.cs#L118
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)