Skip to content

Conversation

@shenxianpeng
Copy link
Contributor

It's more and more common to use tools to discover vulnerabilities like CodeQL, Polaris, etc.

For projects on GitHub, CodeQL should be the first choice because it's free to research and open source.

@shenxianpeng shenxianpeng added the enhancement New feature or request label Feb 26, 2024
@shenxianpeng shenxianpeng changed the title Create codeql-analysis.yml Create codeql.yml reusable workflow Feb 26, 2024
@shenxianpeng shenxianpeng marked this pull request as ready for review February 26, 2024 09:22
@2bndy5
Copy link
Contributor

2bndy5 commented Feb 26, 2024

Have you tested this? Is it copied from a template?

I'm curious about the C++ support, particularly how CodeQL determines the C++ project's build process (and how it understands what any third-party dependencies are).

@shenxianpeng
Copy link
Contributor Author

shenxianpeng commented Feb 26, 2024

It copied from my blog repo which uses javascript language. I will test this workflow using the language Python.

Maybe this page can answer your question :)

Copy link
Contributor

@2bndy5 2bndy5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shenxianpeng
Copy link
Contributor Author

Tested with PR cpp-linter/cpp-linter-hooks#34 and this workflow works fine.

@shenxianpeng shenxianpeng merged commit aca18df into main Feb 27, 2024
@shenxianpeng shenxianpeng deleted the add-codeql-workflow branch February 27, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants