Files
blog/content/posts/commits/2026-04-16-commit-6d98c32.md
Betty 5e960b7fcd
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 11s
post: commit 6d98c32 in bojemoi
2026-04-16 13:46:19 +02:00

43 lines
1.1 KiB
Markdown

---
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 <noreply@anthropic.com>
### Files Changed
```
M samsonov/nuclei_api/main.py
```
### Diff Summary
```
samsonov/nuclei_api/main.py | 61 ++++++++++++++++++++++++++++++++++-----------
1 file changed, 47 insertions(+), 14 deletions(-)
```