{"id":13809715,"url":"https://github.com/GitHubSecurityLab/CodeQL-Community-Packs","last_synced_at":"2025-05-14T08:33:30.277Z","repository":{"id":197985155,"uuid":"691021920","full_name":"GitHubSecurityLab/CodeQL-Community-Packs","owner":"GitHubSecurityLab","description":"Collection of community-driven CodeQL query, library and extension packs","archived":false,"fork":false,"pushed_at":"2025-05-07T08:31:24.000Z","size":2749,"stargazers_count":151,"open_issues_count":12,"forks_count":20,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-07T08:41:59.264Z","etag":null,"topics":["codeql"],"latest_commit_sha":null,"homepage":"https://securitylab.github.com/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GitHubSecurityLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-13T10:52:16.000Z","updated_at":"2025-05-07T08:31:28.000Z","dependencies_parsed_at":"2024-01-18T14:44:46.308Z","dependency_job_id":"33a03e57-0787-4141-ab24-303f454ceaaf","html_url":"https://github.com/GitHubSecurityLab/CodeQL-Community-Packs","commit_stats":null,"previous_names":["githubsecuritylab/codeql-community-packs"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHubSecurityLab%2FCodeQL-Community-Packs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHubSecurityLab%2FCodeQL-Community-Packs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHubSecurityLab%2FCodeQL-Community-Packs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHubSecurityLab%2FCodeQL-Community-Packs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitHubSecurityLab","download_url":"https://codeload.github.com/GitHubSecurityLab/CodeQL-Community-Packs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254104946,"owners_count":22015571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codeql"],"created_at":"2024-08-04T02:00:34.838Z","updated_at":"2025-05-14T08:33:25.256Z","avatar_url":"https://github.com/GitHubSecurityLab.png","language":"Java","readme":"# CodeQL Community Packs\n\n\u003c!-- markdownlint-disable --\u003e\n\u003cdiv align=\"center\"\u003e\n\n[![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/GitHubSecurityLab/Community-CodeQL-Packs)\n[![GitHub Actions](https://img.shields.io/github/actions/workflow/status/GitHubSecurityLab/Community-CodeQL-Packs/publish.yml?style=for-the-badge)](https://github.com/GitHubSecurityLab/Community-CodeQL-Packs/actions/workflows/publish.yml?query=branch%3Amain)\n[![GitHub Issues](https://img.shields.io/github/issues/GitHubSecurityLab/Community-CodeQL-Packs?style=for-the-badge)](https://github.com/GitHubSecurityLab/Community-CodeQL-Packs/issues)\n[![GitHub Stars](https://img.shields.io/github/stars/GitHubSecurityLab/Community-CodeQL-Packs?style=for-the-badge)](https://github.com/GitHubSecurityLab/Community-CodeQL-Packs)\n[![Licence](https://img.shields.io/github/license/Ileriayo/markdown-badges?style=for-the-badge)](./LICENSE)\n\n\u003c/div\u003e\n\u003c!-- markdownlint-restore --\u003e\n\nCollection of community-driven CodeQL query, library and extension packs\n\n## Getting started\n\n### Default query suites\n\nUsing a `githubsecuritylab/codeql-LANG-queries` query pack will reference the default suite for that pack (e.g. `python.qls` for python). However, you may use a different suite such as `python-audit.qls` by referencing the query pack with the following syntax: `githubsecuritylab/codeql-python-queries:suites/python-audit.qls`. The examples below work for both syntaxes.\n\n### Using a community pack from the CodeQL Action\n\n\u003e [!IMPORTANT]\n\u003e For language aliases in `strategy.matrix.language`, use `cpp` instead of `c-cpp`, `java` instead of `java-kotlin` and `javascript` instead of `javascript-typescript`.\n\n```yaml\n- name: Initialize CodeQL\n  uses: github/codeql-action/init@v2\n  with:\n    languages: ${{ matrix.language }}\n    packs: githubsecuritylab/codeql-${{ matrix.language }}-queries\n```\n\n### Using community packs with provided configuration file\n\nThis repository has a number of [provided configuration files][configurations] you can use or copy from the community packs.\n\n```yaml\n- name: Initialize CodeQL\n  uses: github/codeql-action/init@v2\n  with:\n    languages: ${{ matrix.language }}\n    config-file: GitHubSecurityLab/CodeQL-Community-Packs/configs/default.yml@main\n```\n\n### Using a community pack from the CLI configuration file\n\n```bash\n$ cat codeql-config.yml | grep -A 1 'packs:'\npacks:\n  - githubsecuritylab/codeql-python-queries\n```\n\n### Using a community pack from the CodeQL CLI\n\n```bash\ncodeql database analyze db/ --download githubsecuritylab/codeql-python-queries --format=sarif-latest --output=results.sarif\n```\n\n## License\n\nThis project is licensed under the terms of the MIT open source license. Please refer to [MIT](./LICENSE) for the full terms.\n\n## Support\n\nPlease [create GitHub issues](https://github.com/advanced-security/brew-dependency-submission-action) for any feature requests, bugs, or documentation problems.\n\n\u003c!-- Resources / Links --\u003e\n\n[configurations]: ./configs\n","funding_links":[],"categories":["CodeQL [Packs](https://docs.github.com/en/code-security/codeql-cli/using-the-codeql-cli/publishing-and-using-codeql-packs)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGitHubSecurityLab%2FCodeQL-Community-Packs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGitHubSecurityLab%2FCodeQL-Community-Packs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGitHubSecurityLab%2FCodeQL-Community-Packs/lists"}