From 5e960b7fcd7414341ec855bca6ec2cd5da8ceb8a Mon Sep 17 00:00:00 2001 From: Betty Date: Thu, 16 Apr 2026 13:46:18 +0200 Subject: [PATCH] post: commit 6d98c32 in bojemoi --- .../commits/2026-04-16-commit-6d98c32.md | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 content/posts/commits/2026-04-16-commit-6d98c32.md diff --git a/content/posts/commits/2026-04-16-commit-6d98c32.md b/content/posts/commits/2026-04-16-commit-6d98c32.md new file mode 100644 index 0000000..a5cec10 --- /dev/null +++ b/content/posts/commits/2026-04-16-commit-6d98c32.md @@ -0,0 +1,42 @@ +--- +title: "[bojemoi] fix(nuclei): add found_by + numerical_severity, fix endpoints format in DefectDojo push" +date: 2026-04-16T13:46:18+02:00 +draft: false +tags: ["commit", "bojemoi", "main"] +categories: ["Git Activity"] +summary: "Commit 6d98c32 par Betty dans bojemoi" +author: "Betty" +--- + +## Commit `6d98c32` + +| | | +|---|---| +| **Repository** | bojemoi | +| **Branch** | `main` | +| **Author** | Betty | +| **Hash** | `6d98c32d0d45a8671072e6c98828e1805523b52a` | + + +### Description + +- Add _NUCLEI_NUM_SEV mapping (S0-S4) +- _dojo_get_or_create_test now returns (test_id, test_type_id, product_id) +- Add _dojo_get_or_create_endpoint helper to create proper endpoint IDs +- push_to_defectdojo: inject found_by, numerical_severity, endpoint IDs +- Remove invalid endpoints: [{"host": ip}] format (was silently rejected) + +Co-Authored-By: Claude Sonnet 4.6 + +### Files Changed + +``` +M samsonov/nuclei_api/main.py +``` + +### Diff Summary + +``` + samsonov/nuclei_api/main.py | 61 ++++++++++++++++++++++++++++++++++----------- + 1 file changed, 47 insertions(+), 14 deletions(-) +```