Add verbose results option to TSCM sweeps and setup improvements

- Add verbose_results flag to store full device details in sweep results
- Add non-interactive mode (--non-interactive) to setup.sh
- Add ask_yes_no helper for interactive prompts with TTY detection
- Update reports.py to handle new results structure with fallbacks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-20 18:07:33 +00:00
parent 62da666417
commit 7f2d62e251
5 changed files with 288 additions and 97 deletions
+9
View File
@@ -23,6 +23,15 @@
</select>
</div>
<div class="form-group">
<div style="display: flex; align-items: center; gap: 8px;">
<input type="checkbox" id="tscmVerboseResults" style="margin: 0;">
<label for="tscmVerboseResults" style="flex: 1; margin: 0; font-size: 12px;">
Verbose results (store full device details)
</label>
</div>
</div>
<div style="border-top: 1px solid var(--border-color); padding-top: 12px; margin-top: 12px;">
<label style="display: block; font-size: 11px; font-weight: 600; margin-bottom: 8px; color: var(--text-secondary);">Scan Sources</label>
<div class="form-group" style="margin-bottom: 8px;">