Skip to content

CodeQL for ModelCompiler #134

CodeQL for ModelCompiler

CodeQL for ModelCompiler #134

Triggered via schedule March 30, 2024 06:30
Status Failure
Total duration 11m 36s
Artifacts

codeql-analysis.yml

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

Annotations

6 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): Stack/Libraries/Opc.Ua.Security.Certificates/Org.BouncyCastle/CertificateBuilder.cs#L55
'CertificateBuilder' does not implement inherited abstract member 'CertificateBuilderBase.CreateForECDsa()'
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/Org.BouncyCastle/CertificateBuilder.cs#L55
'CertificateBuilder' does not implement inherited abstract member 'CertificateBuilderBase.CreateForECDsa(X509SignatureGenerator)'
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/Org.BouncyCastle/CertificateBuilder.cs#L55
'CertificateBuilder' does not implement inherited abstract member 'CertificateBuilderBase.SetECDsaPublicKey(byte[])'
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.5/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/Extensions/X509AuthorityKeyIdentifierExtension.cs#L230
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/Extensions/X509AuthorityKeyIdentifierExtension.cs#L215
The property name 'KeyIdentifier' is confusing given the existence of method 'GetKeyIdentifier'. 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/X509Certificate/CertificateBuilderBase.cs#L331
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L335
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L339
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L343
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L347
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)
Analyze (csharp): Stack/Libraries/Opc.Ua.Security.Certificates/X509Certificate/CertificateBuilderBase.cs#L351
Do not declare visible instance fields (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051)