Skip to content

ci: standardize CodeQL security analysis - #676

Draft
vgvoleg wants to merge 3 commits into
mainfrom
ci/codeql-security-baseline
Draft

vgvoleg wants to merge 3 commits into
mainfrom
ci/codeql-security-baseline

Conversation

@vgvoleg

@vgvoleg vgvoleg commented Oct 5, 2026

Copy link
Copy Markdown
Member

Use the common security-extended profile for C/C++ and GitHub Actions with CodeQL v4. Run analysis on pull requests, supported-branch pushes, merge queues and weekly/manual triggers.

The SDK scan traces a clean Clang build of the SDK, OpenTelemetry plugins and examples, with tests and compiler caching disabled. Compiled dependencies and generated headers remain part of extraction.

Document the repository ruleset setting for requiring CodeQL results with a High/Critical security threshold before merge.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@codecov

codecov Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.51%. Comparing base (118e6ea) to head (5eef69c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #676   +/-   ##
=======================================
  Coverage   58.50%   58.51%           
=======================================
  Files         294      294           
  Lines       34461    34461           
=======================================
+ Hits        20163    20164    +1     
+ Misses      14298    14297    -1     
Flag Coverage Δ
sdk 58.51% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vgvoleg
vgvoleg force-pushed the ci/codeql-security-baseline branch from af86159 to 5eef69c Compare December 4, 2026 10:09

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants