Skip to content

Conversation

@bWlrYQ
Copy link
Contributor

@bWlrYQ bWlrYQ commented Jul 10, 2025

Here is a fix that allows filtering using the target_id when listing findings and technologies (#56).

While working with the BBOT Server API I noticed that the target_id parameter wouldn't work when listing findings or technologies (/v1/assets/findings/list?target_id=<target_id>,/v1/assets/technologies/list?target_id=<target_id>) whilst it would work for /v1/assets/list?target_id=<target_id>.

It appeared to me that this occurred because the scope of the finding/technology wasn't inherited from the parent asset, which is now the case with this MR.

Feel free to ask for improvements, I tried to make this a 'quick fix' without breaking anything (some tests on my side seem to say that nothing broke) but original maintainer probably knows better than me 😄.

@TheTechromancer TheTechromancer changed the base branch from stable to dev July 17, 2025 18:55
@TheTechromancer TheTechromancer mentioned this pull request Jul 18, 2025
@TheTechromancer TheTechromancer merged commit 7199895 into blacklanternsecurity:dev Jul 21, 2025
5 checks passed
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.

2 participants