Add client-ready report templates and a rules-of-engagement file
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
Start with the existing /sec scope add command and the report and evidence model described in docs/security.md. Design the .harness/roe.toml schema and how /sec scope import feeds the scope gate, then add lh sec report --template output. Done means a ROE import sets scope and session authorization, an expired ROE blocks active testing, and client and technical reports render from the same findings. The issue bundles several subsystems and needs maintainer design input first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
The scope gate is set through /sec scope add, but there is no durable rules-of-engagement artifact: who authorized the work, which targets, which window, what is prohibited, who to contact. The report is a technical dump, not a client deliverable with an executive summary, methodology, evidence appendix and remediation.
Authorization that exists only in a chat command is easy to lose and hard to audit. A report without an authorization basis is a liability.
Inspiration
- Standard penetration-test report structures (executive summary, scope, methodology, findings, remediation, appendix).
- Rules of engagement templates used in engagements.
- The existing
docs/security.mdreport and evidence model. - SARIF/JSON exports for the machine-readable layer.
Proposal
Add a ROE file (.harness/roe.toml, trusted) with authorization basis, targets, exclusions, window, prohibited actions, contacts and emergency stop. /sec scope import roe.toml loads it; the scope gate refuses active testing when the ROE is missing or expired.
Add lh sec report --template client|technical|executive:
- Markdown and self-contained HTML.
- Executive summary with counts by severity and a plain-language risk statement.
- Findings table with evidence links, reproduction status, CWE/CVSS when known, and remediation.
- Evidence appendix with command, timestamp, exit status and digest, secrets redacted.
- Refuse to generate a client report without an authorization basis and at least one finding with evidence.
Acceptance criteria
- Importing a ROE sets scope and records the authorization basis in the session.
- An expired ROE blocks active testing.
- Client and technical templates render from the same finding set.
- A report without authorization or evidence is refused.
- Evidence appendix entries include digest and redaction.
- HTML is self-contained and opens offline.
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GotinhaAzul/LocalHarness
-
area: ux bug priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
GotinhaAzul/LocalHarness#198 ·
-
area: tools area: ux enhancement priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
GotinhaAzul/LocalHarness#201 ·
-
area: ux bug priority: P2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
GotinhaAzul/LocalHarness#200 ·
-
area: ux bug priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GotinhaAzul/LocalHarness#199 ·
-
area: ux enhancement priority: P2
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
GotinhaAzul/LocalHarness#197 ·
Tutte le issue di GotinhaAzul/LocalHarness
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
state:needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
zed-industries/zed#67561 ·
I maintainer di solito rispondono entro 1 giorno
-
bug has: workaround PR welcome! T: CI/CD
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
chore priority:low ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jdrouet/catapulte#882 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100