Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CodeQL Scanning #196

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Enable CodeQL Scanning #196

wants to merge 3 commits into from

Conversation

michael-hawker
Copy link
Member

Continuation of #190, wanted to do a clean PR so that alerts would could be filtered now that enabled filtering out generated code.

Prior alerts from the very first pass weren't filtered out with the change, so it made it impossible to see the result of just scoped to our production code.

This isn't a priority to get in, but will be good to have. From the initial pass there are some good notes for us to investigate in the future, there were no critical security findings, so we should feel good about the upcoming release.

Auto-build could not build our repository, so adding in steps from our build.yml to enable scanning with CodeQL
Also go back to large runner as analysis ran out of memory before

Update CodeQL Config to Limit Scope

Don't run if only changes to markdown files, samples, or tests
Only analyze src files and not generated files .g.cs files
@michael-hawker
Copy link
Member Author

Bugger, the filters to exclude the generated files aren't working... not sure why that would be... 😢

Will investigate this more later

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.

1 participant