Files
blog/content/posts/commits/2026-04-16-commit-901f0d3.md
Betty 5bbd2358f3
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 12s
post: commit 901f0d3 in bojemoi
2026-04-16 17:27:37 +02:00

1005 B

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[bojemoi] fix(zap): create proper DefectDojo endpoints with IDs instead of inline objects 2026-04-16T17:27:37+02:00 false
commit
bojemoi
main
Git Activity
Commit 901f0d3 par Betty dans bojemoi 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 noreply@anthropic.com

Files Changed

M	oblast-1/zap_scanner.py

Diff Summary

 oblast-1/zap_scanner.py | 40 +++++++++++++++++++++++++++++++++++++---
 1 file changed, 37 insertions(+), 3 deletions(-)