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

Data service search #333

Merged

Conversation

EdwardLarson
Copy link
Collaborator

@EdwardLarson EdwardLarson commented Jun 21, 2023

One sentence summary of this PR (This should go in the CHANGELOG!)
Add method to Resource and data service to search for patterns in its data

Link to Related Issue(s)
Previously the only way to search was to request all the data then search it. This copying of data is inefficient, and searching for patterns in data is something users are likely to be interested in, so this makes sense to add to the API.

Please describe the changes in your request.

  • Add a search method to the data service that allows searching for either literal bytes or a regex pattern
  • Add a search_data method to Resource which calls the DataService's search method on itself

Anyone you think should look at this, specifically?

@EdwardLarson EdwardLarson requested a review from dannyp303 June 22, 2023 14:55
@dannyp303 dannyp303 merged commit 28b2680 into redballoonsecurity:master Jun 22, 2023
@EdwardLarson EdwardLarson mentioned this pull request Aug 10, 2023
1 task
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.

3 participants