Crate ocsf_types

Crate ocsf_types 

Source
Expand description

§OCSF Types for Rust

Provids strongly typed Rust structs for the OCSF The types are generated programmatically from the official OCSF schema.

§Usage

use ocsf_types::AccountChange;
let mut event = AccountChange::default();
event.activity_id = Some(1);
event.class_uid = Some(1001);
event.message = Some("User password changed".to_string());

§Features

  • Strongly Typed
  • Serde Integration
  • Built from Official OCSF Schema

Re-exports§

pub use ocsf_generated::*;

Modules§

ocsf_generated