Skip to content

Data service search#333

Merged
dannyp303 merged 9 commits into
redballoonsecurity:masterfrom
EdwardLarson:feature/data_service_search
Jun 22, 2023
Merged

Data service search#333
dannyp303 merged 9 commits into
redballoonsecurity:masterfrom
EdwardLarson:feature/data_service_search

Conversation

@EdwardLarson
Copy link
Copy Markdown
Contributor

@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