-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 GH Action #4552
Add CodeQL GH Action #4552
Conversation
5a0c519
to
9b22020
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this going to be a gating workflow, preventing PR merges? What kind of actions does the unsuccessful run of codeql action entail on us?
@@ -201,6 +201,10 @@ def generate_thumbprint(oidc_provider_url: Optional[str]) -> Optional[str]: | |||
# Create an IPV4 socket and use TLS for the SSL connection | |||
address = (url_for_certificate, 443) | |||
ctx = SSL.Context(SSL.TLS_METHOD) | |||
ctx.set_options(SSL.OP_NO_TLSv1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we verify this with unit tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing my review to reflect requesting changes.
Yes, it's run on each PR. Failure of this action should prevent the PR from being merged. And the PR author should fix me. The action will also run on schedule, because existing code might be subjected to newly discovered vulnerabilities. We will get notified and also can check from the "Security" tab in the repo. |
Which issue(s) does this change fix?
Why is this change necessary?
Enable Code Scan through GH Action
How does it address the issue?
What side effects does this change have?
Mandatory Checklist
PRs will only be reviewed after checklist is complete
make pr
passesmake update-reproducible-reqs
if dependencies were changedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.