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

Add CodeQL security scanning #2740

Merged
merged 1 commit into from
Jun 4, 2020
Merged

Conversation

jhutchings1
Copy link
Contributor

Hi, I'm a PM on the GitHub security team. This repository is eligible to try the new GitHub Advanced Security code scanning beta.

Code scanning runs a static analysis tool called CodeQL which scans your code at build time to find any potential security issues. We've tuned the set of queries to be only the most severe, most precise issues. We'll show alerts in the security tab, and we'll show alerts for any net new vulnerabilities on pull requests as well. We've tried to make this super developer friendly, but we'd love your feedback as we work through the beta.

If you're interested in trying it out, you can merge this pull request to set up the Actions workflow.

@jhutchings1 jhutchings1 marked this pull request as ready for review June 3, 2020 05:52
@jhutchings1
Copy link
Contributor Author

The build is working in my fork, so I think this should be good if you're happy to merge it!

@TylerLeonhardt
Copy link
Member

Thanks for this @jhutchings1! Is CodeQL ready for .NET? We would love to add this to the language server for our extension: https://github.com/PowerShell/PowerShellEditorServices

@jhutchings1
Copy link
Contributor Author

@TylerLeonhardt Yep! Sometimes you have to fuss with the build definition to get it building properly, but we absolutely support C#. If you've got write permissions on that project (or any other PowerShell project), you can set it up like this: https://help.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/enabling-code-scanning.

@TylerLeonhardt
Copy link
Member

Nice - we'll look at adding it to our repos.

One more question, @jhutchings1. PowerShell is used all over GitHub, and notice it's not supported in CodeQL. What's the process for requesting/adding another language?

@TylerLeonhardt TylerLeonhardt merged commit d1a8e9e into PowerShell:master Jun 4, 2020
@jhutchings1
Copy link
Contributor Author

One more question, @jhutchings1. PowerShell is used all over GitHub, and notice it's not supported in CodeQL. What's the process for requesting/adding another language?

We track the overall language adoption across GitHub to prioritize new programming language support. PowerShell isn't on the short-term roadmap, but I'm tagging my colleague @sj who runs our language support as an fyi :)

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.

None yet

2 participants