API¶
The top-level package for the project.
rig ¶
CodeQL overrides of pyrig's scaffolding and maintenance layer.
Mirrors pyrig's own rig namespace so its plugin-discovery mechanism
automatically picks up this package's overrides and additions.
configs ¶
Declarative definitions of the configuration files managed by this plugin.
This package is this plugin's discovery scope for pyrig's config-file management: every file this plugin manages or overrides is defined here.
version_control ¶
CodeQL customizations for generated version-control configuration.
remote ¶
CodeQL customizations for generated GitHub remote-repository configuration.
code_analyzer ¶
CodeQL-specific configuration for source code analysis.
workflows ¶
CodeQL-specific GitHub Actions workflow configuration.
Reusable code analysis and code-scanning alert gate.
Bases: WorkflowConfigFile
Analyze Python and GitHub Actions code and fail on open CodeQL alerts.
Return the pinned CodeQL analyze action metadata.
Return the pinned CodeQL init action metadata.
Build the matrix job that analyzes Python and workflow code.
Source code in src/pyrig_codeql/rig/configs/version_control/remote/workflows/code_analysis.py
Grant the permissions required to analyze and upload CodeQL results.
Source code in src/pyrig_codeql/rig/configs/version_control/remote/workflows/code_analysis.py
Check CodeQL alerts after all language analyses have completed.
Source code in src/pyrig_codeql/rig/configs/version_control/remote/workflows/code_analysis.py
Return the analysis and alert-gate jobs.
Run the CodeQL analysis and upload its results.
Fail if the analyzed ref has any open CodeQL alerts.
Source code in src/pyrig_codeql/rig/configs/version_control/remote/workflows/code_analysis.py
Initialize CodeQL for the current matrix language.
Source code in src/pyrig_codeql/rig/configs/version_control/remote/workflows/code_analysis.py
Return checkout, initialization, and analysis steps.
Source code in src/pyrig_codeql/rig/configs/version_control/remote/workflows/code_analysis.py
Allow invocation only through a reusable-workflow call.
Health check workflow extended with code analysis and an open-alert gate.
Bases: HealthCheckWorkflowConfigFile
Include the reusable code-analysis workflow in the health check.
Call the reusable code-analysis workflow.
Source code in src/pyrig_codeql/rig/configs/version_control/remote/workflows/health_check.py
Return the base health-check jobs followed by the code-analysis call.
Source code in src/pyrig_codeql/rig/configs/version_control/remote/workflows/health_check.py
resources ¶
Static resource files bundled with the project.
tools ¶
CodeQL tool integrations.
security ¶
Tool wrappers for code-security analysis.
code ¶
CodeQL tool identity and code-analysis badge metadata.