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

Ruby: Minor fixes for dataflow queries #14274

Merged
merged 14 commits into from
Sep 21, 2023
Merged

Conversation

alexrford
Copy link
Contributor

Follow up to #14124 to address some issues:

  • rb/improper-ldap-auth was not converted due to being merged around the same time - this is done here
  • We have a single (unused) import of DataFlow2. Ideally we would just be able to remove DataFlow2, but it's available for external queries so I think we need to deprecate it first.

@alexrford alexrford added the Ruby label Sep 20, 2023
@alexrford alexrford changed the title Minor fixes for dataflow queries Ruby: Minor fixes for dataflow queries Sep 20, 2023
@alexrford alexrford marked this pull request as ready for review September 20, 2023 15:21
@alexrford alexrford requested a review from a team as a code owner September 20, 2023 15:21
hvitved
hvitved previously approved these changes Sep 20, 2023
Copy link
Contributor

@hvitved hvitved left a comment

Choose a reason for hiding this comment

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

Can we get rid of DataFlowImplForHttpClientLibraries.qll and DataFlowImplForPathname.qll on this PR as well?

Copy link
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

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

We shouldn't deprecate DataFlow2 just yet. It's part of the old configuration-class API, which we will bulk-deprecate in December, cf. https://github.blog/changelog/2023-08-14-new-dataflow-api-for-writing-custom-codeql-queries/

aschackmull
aschackmull previously approved these changes Sep 21, 2023
@alexrford alexrford added the no-change-note-required This PR does not need a change note label Sep 21, 2023
@alexrford
Copy link
Contributor Author

Can we get rid of DataFlowImplForHttpClientLibraries.qll and DataFlowImplForPathname.qll on this PR as well?

Not sure how I missed these - deleted.

@alexrford alexrford merged commit 67019c6 into github:main Sep 21, 2023
20 of 21 checks passed
@alexrford alexrford deleted the rb/dataflow-tidy branch September 21, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note Ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants