All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 12s
1.5 KiB
1.5 KiB
title, date, draft, tags, categories, summary, author
| title | date | draft | tags | categories | summary | author | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| [bojemoi] feat(uzi): traçabilité des décisions LLM en base postgres | 2026-05-17T22:56:21+02:00 | false |
|
|
Commit a3ef654 par Betty dans bojemoi | Betty |
Commit a3ef654
| Repository | bojemoi |
| Branch | main |
| Author | Betty |
| Hash | a3ef654d97a365650c684a4b3f81d939983193fc |
Description
- Nouvelle table llm_decisions (address, host_id, model, decision_type, input JSONB, output JSONB, executed)
- ensure_llm_decisions() crée la table au démarrage (même pattern que uzi_scan_log)
- log_llm_decision() insère chaque décision avec contexte complet
- extract_search_terms_via_ai() : loggue les services non couverts + termes extraits (type: search_terms)
- ai_post_exploitation_plan() : loggue le contexte session + plan MITRE ATT&CK (type: post_exploit_plan)
- scan_details['address'] injecté dans la boucle principale pour propagation aux fonctions IA
Requêtes utiles: SELECT address, decision_type, output, ts FROM llm_decisions ORDER BY ts DESC LIMIT 20; SELECT address, output->'name' FROM llm_decisions WHERE decision_type='post_exploit_plan';
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Files Changed
M borodino/thearm_uzi
Diff Summary
borodino/thearm_uzi | 75 +++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 70 insertions(+), 5 deletions(-)