azurenoops / azurenoops/spin_agent

[WM-IMP-3] No runtime catalog integrity check — OSCAL control catalog not validated at startup

Open
#741 0 comments 0 reactions 1 assignee Claimed by @jrspinella View on GitHub
agent:war-machine enhancement improvement priority:high
Dominant language
C#
Stars
3
Forks
1
Avg merge
18h 9m
Merged PRs (30d)
43

Description

## WM-IMP-3 — No Runtime Catalog Integrity Check

**Category:** Improvement | **Priority:** High

### Observation
The OSCAL control catalog is not validated at startup or runtime. Corrupted or incomplete catalog data can silently degrade control lookup, assessment, and document generation.

### Evidence
- Issue #636 — no runtime catalog integrity check (O2 finding)

### Recommendation
Implement a startup integrity check that validates the control catalog against the expected OSCAL schema and record count.

### Acceptance Criteria
- [ ] Startup check validates catalog record count against expected baseline
- [ ] Catalog validated against OSCAL schema at startup
- [ ] Application refuses to start (or enters degraded mode with alert) if catalog is invalid
- [ ] Integrity check results logged

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.