--- title: "[bojemoi] fix(zap): create proper DefectDojo endpoints with IDs instead of inline objects" date: 2026-04-16T17:27:37+02:00 draft: false tags: ["commit", "bojemoi", "main"] categories: ["Git Activity"] summary: "Commit 901f0d3 par Betty dans bojemoi" author: "Betty" --- ## Commit `901f0d3` | | | |---|---| | **Repository** | bojemoi | | **Branch** | `main` | | **Author** | Betty | | **Hash** | `901f0d34cf4915fb56c44dfecea724682aba835d` | ### Description - Add _dojo_product_cache and _dojo_endpoint_cache dicts - _dojo_get_or_create_test now also stores product_id in cache - Add _dojo_get_or_create_endpoint helper (GET or POST /api/v2/endpoints/) - dojo_post_vulns: use endpoint ID in findings instead of {"host": ip} dict Co-Authored-By: Claude Sonnet 4.6 ### Files Changed ``` M oblast-1/zap_scanner.py ``` ### Diff Summary ``` oblast-1/zap_scanner.py | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) ```