-
Notifications
You must be signed in to change notification settings - Fork 58
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
External asset database boefje #1175
Conversation
Looks great! I'm not sure how to QA test this though, as it requires additional software which implements this API spec server-side. Is there any reference implementation which others can use? Also, not 100% sure what our policy on unit-testing boefjes is (some, but not all appear to have them), but I'm thinking that it would be nice to have some basic tests for the parsing and yielding. |
I was testing it out but I had the following error with the input you gave me yesterday:
|
The file I sent you contains two files (one with metadata and one with IP/domain data). This file was downloaded directly from the KAT interface on a succesfull normalizer run. Can it be that a normalizer download does not translate back to a normalizer input? |
Ah I figured it out, I accidentally loaded the wrong file. My bad! Seems to work and ready for merge. |
* main: Fix hanging worker processes on a SIGKILL (e.g. when the container is out of memory) (#1187) Remove unused method from DNSReport view (#1322) Rename pyc test files because they are overwritten (#1331) Add documentation about Config OOI's (#1307) Add Poetry configs for `bytes`, `boefjes`, `rocky`, and `mula` (#1295) Fix mermaid diagrams in docs for Bytes and Octopoes (#1311) Retrieve and store env and code hashes of a Boefje job (#1227) Mute Findings in bulk at Finding list (#1165) change TOC for usermanual (#1298) Add anchor tag to jump to after submitting the "set clearance level bulk form" on OOI list (#1315) Align inline buttons when 2 or more buttons are available (#1321) fix ooi form for netblocks (#1316) External asset database boefje (#1175) Change port classification bit to ip address (#1172) Handle RabbitMQ channel error in bytes (#1304) Fix object page ignoring the filters for JSON and CSV export (#1300)
Co-authored-by: Patrick <[email protected]> Co-authored-by: Roelof Korporaal <[email protected]> Co-authored-by: ammar92 <[email protected]>
Changes
This pull request is a generalization of https://github.com/minvws/nl-kat-coordination/tree/feature/dadb and introduces an external database boefje (previously
DADB
), where hostnames, IPs and NetBlocks can be fetched from an external API. Seedescription.md
for more details.Proof
Related, not solved in this PR:
#188
#131
Code Checklist
Communication
.env
changes files if required and changed the.env-dist
accordingly.Checklist for code reviewers:
Copy-paste the checklist from the docs/source/templates folder into your comment.
Checklist for QA:
Copy-paste the checklist from the docs/source/templates folder into your comment.