Skip to main content

Crate oscal

Crate oscal 

Source
Expand description

OSCAL (Open Security Controls Assessment Language) Rust types.

Types are generated from the official NIST OSCAL Metaschema and cover all seven OSCAL document models. Embedded community catalogs for AI governance and security frameworks are available via catalogs.

§Quick start

use oscal::load_catalog;

let catalog = load_catalog("nist-800-171")?;
println!("Controls: {}", catalog.all_controls().len());

Re-exports§

pub use generated::types::Catalog;
pub use primitives::MarkupLine;
pub use primitives::MarkupMultiline;
pub use primitives::UriReference;

Modules§

catalogs
Embedded OSCAL community catalogs for AI governance and security frameworks.
generated
primitives
Strong primitive types for OSCAL’s rich-text and URI data types.

Functions§

load_catalog
Load an embedded OSCAL catalog by short name.