How usnistgov/oscal works
OSCAL is a set of standardized security-control information models, with XML-based Metaschema definitions and tools for profile resolution and content validation. A user can provide OSCAL data and a schema to the validator; profile resolver implementations can be exercised by the specification test harness. The README describes the broader model and format goals, while the sampled excerpts show validator behavior and the test harness’s command-driven resolver interface. Internal resolver details are not sampled, so their links are not expanded.
Main entry points: oscal-content-validator.py Content Validator · spec-tester.py Resolver Test Harness · metaschema Catalog Model · resolver-pipeline Profile Resolver
Components 13
OSCAL Models
- Catalog Model
src/metaschema - Profile Model
src/metaschema - Implementation Models
src/metaschema - Assessment Models
src/metaschema - XML JSON YAML
Profile Resolution
- Resolver Test Harness
src/specifications/profile-resolution/spec-tester.py - Profile Resolver
src/utils/resolver-pipeline
Content Validation
- Content Validator
src/utils/oscal-content-validator.py
Other components
- User
- Schema File
- OSCAL Data
- JSON Schema Library
- XML Schema Library
Connections 11
- User → Content Validator: provides inputs
src/utils/oscal-content-validator.py - Schema File → Content Validator: schema input
src/utils/oscal-content-validator.py - OSCAL Data → Content Validator: data input
src/utils/oscal-content-validator.py - Content Validator → JSON Schema Library: validates JSON/YAML
src/utils/oscal-content-validator.py - Content Validator → XML Schema Library: validates XML
src/utils/oscal-content-validator.py - User → Resolver Test Harness: runs tests
src/specifications/profile-resolution/spec-tester.py - Resolver Test Harness → Profile Resolver: runs command
src/specifications/profile-resolution/spec-tester.py - Catalog Model → XML JSON YAML: specified as
README.md - Profile Model → XML JSON YAML: specified as
README.md - Implementation Models → XML JSON YAML: specified as
README.md - Assessment Models → XML JSON YAML: specified as
README.md