github / github/codeql

General issue [Azure DevOps Pipeline]: pipeline is stuck at "Starting evaluation of codeql/csharp-queries/Telemetry/UnsupportedExternalAPIs.ql." step

Open
#15,059 8 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

I am adding CodeQL checks to our repository for it to run when code is pushed to our branch. The code ql analyze task never finishes and it always stuck until the task fails at this step "Starting evaluation of codeql/csharp-queries/Telemetry/UnsupportedExternalAPIs.ql." of running "AdvancedSecurity-Codeql-Analyze@1" task in an AzureDevOps Pipeline.

Here is my yaml file's content:
```

trigger:
- main

pool:
vmImage: ubuntu-latest

variables:
#advancedsecurity.codeql.querysuite: security-extended
#advancedsecurity.submittoadvancedsecurity: true
timeoutInMinutes: 360

steps:
- task: AdvancedSecurity-Codeql-Init@1
inputs:
languages: 'csharp'

- task: AdvancedSecurity-Codeql-Autobuild@1
- task: AdvancedSecurity-Dependency-Scanning@1
- task: AdvancedSecurity-Codeql-Analyze@1
```

Contributor guide

Open the contributing guide

Research direction

Start with the Azure DevOps YAML in the issue and the logs from AdvancedSecurity-Codeql-Init@1, AdvancedSecurity-Codeql-Autobuild@1, and AdvancedSecurity-Codeql-Analyze@1, focusing on the UnsupportedExternalAPIs.ql evaluation step. Reproduce the stalled C# analysis if possible; done means identifying a confirmed cause and documenting a working resolution or the missing information needed to diagnose it.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
ci-cd, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.