Skip to content

Add CodeQL security analysis workflow#163

Merged
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:codeql-workflow
Jul 10, 2026
Merged

Add CodeQL security analysis workflow#163
vharseko merged 1 commit into
OpenIdentityPlatform:masterfrom
vharseko:codeql-workflow

Conversation

@vharseko

@vharseko vharseko commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

Adds a CodeQL code-scanning workflow (.github/workflows/codeql.yml), adapted from the OpenAM CodeQL setup and tailored to OpenIG's layout. This PR is branched cleanly off master and contains only the new workflow file.

  • Analyzes java-kotlin, javascript-typescript (openig-ui / openig-doc), and actions.
  • Uses build-mode: none for all languages — CodeQL extracts straight from source, avoiding the expensive multi-module Maven autobuild. A commented-out manual Maven build is included for higher-precision dataflow if ever needed.
  • Runs on push/PR to master, a weekly schedule (Mon 03:27 UTC), and manual dispatch.
  • security-and-quality query suite; paths-ignore excludes tests, node_modules, generated target//bin/ output, and *.min.js.
  • Least-privilege permissions + concurrency cancellation of superseded runs.
  • Dropped OpenAM's csharp language (OpenIG has no C# source).

Supersedes #162 (which was mistakenly opened from a stale branch carrying unrelated commits).

Adds a CodeQL scanning workflow (java-kotlin, javascript-typescript,
actions) using build-mode 'none', running on push/PR to master, a
weekly schedule, and manual dispatch.
@vharseko
vharseko requested a review from maximthomas July 9, 2026 11:44
@vharseko vharseko added enhancement security Security fixes and CVE / vulnerability updates ci Build, CI/CD, and GitHub Actions changes labels Jul 9, 2026
@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.

@vharseko
vharseko merged commit 671b82e into OpenIdentityPlatform:master Jul 10, 2026
20 checks passed
@vharseko
vharseko deleted the codeql-workflow branch July 10, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Build, CI/CD, and GitHub Actions changes enhancement security Security fixes and CVE / vulnerability updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants