39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
# Win Diagnostics
|
|
|
|
Win Diagnostics turns stored Windows captures into versioned, traceable
|
|
`diagnostic.json` files. It does not render PDFs.
|
|
|
|
## Analyse one capture
|
|
|
|
```bash
|
|
bash tools/analyse.sh capture.json \
|
|
--evidence-root /path/to/evidence \
|
|
--output diagnostic.json \
|
|
--reference-time 2026-09-15T12:00:00Z \
|
|
--producer-version "$(git rev-parse HEAD)"
|
|
```
|
|
|
|
The result records collection coverage, source JSON pointers, reviewed findings,
|
|
and unmatched evidence marked `unanalysed`.
|
|
|
|
## Analyse everything in a directory
|
|
|
|
```bash
|
|
bash tools/analyse-all.sh /path/to/captures \
|
|
--evidence-root /path/to/evidence \
|
|
--output-dir /path/to/diagnostics \
|
|
--reference-time 2026-09-15T12:00:00Z \
|
|
--producer-version "$(git rev-parse HEAD)"
|
|
```
|
|
|
|
## Validate
|
|
|
|
```bash
|
|
bash tools/validate.sh diagnostic.json --evidence-root /path/to/evidence
|
|
bash tools/validate-all.sh /path/to/diagnostics --evidence-root /path/to/evidence
|
|
```
|
|
|
|
See [`docs/diagnostic-contract.md`](docs/diagnostic-contract.md) for the file
|
|
format, [`docs/standalone.md`](docs/standalone.md) for operating guidance, and
|
|
[`docs/development.md`](docs/development.md) for tests and rule maintenance.
|