From 5bbd2358f33480e731256936ff60ac7fbbbf2abf Mon Sep 17 00:00:00 2001 From: Betty Date: Thu, 16 Apr 2026 17:27:37 +0200 Subject: [PATCH] post: commit 901f0d3 in bojemoi --- .../commits/2026-04-16-commit-901f0d3.md | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 content/posts/commits/2026-04-16-commit-901f0d3.md diff --git a/content/posts/commits/2026-04-16-commit-901f0d3.md b/content/posts/commits/2026-04-16-commit-901f0d3.md new file mode 100644 index 0000000..3b7df30 --- /dev/null +++ b/content/posts/commits/2026-04-16-commit-901f0d3.md @@ -0,0 +1,41 @@ +--- +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(-) +```