use-security-risk 0.0.1

Cybersecurity risk metadata primitives for RustUse
Documentation
  • Coverage
  • 45.68%
    37 out of 81 items documented1 out of 39 items with examples
  • Size
  • Source code size: 13.95 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.23 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • RustUse/use-security
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-security-risk

Generic cybersecurity risk primitives for RustUse.

Experimental

use-security-risk is experimental while the use-security workspace remains below 0.3.0. Expect small API adjustments during the first release wave.

Example

use use_security_risk::{RiskImpact, RiskLikelihood, RiskPriority, priority_from_likelihood_impact};

let priority = priority_from_likelihood_impact(RiskLikelihood::Likely, RiskImpact::Major);

assert_eq!(priority, RiskPriority::P1);
assert!(priority.sort_key() < RiskPriority::P3.sort_key());

Scope

  • Cybersecurity risk identifiers, categories, severities, likelihoods, impacts, treatments, owners, statuses, and priorities.
  • Small label and sorting helpers.
  • Lightweight risk metadata models for local application code.

Non-goals

  • A GRC platform.
  • Risk workflow automation.
  • Compliance scoring or policy enforcement.

License

Licensed under either of the following, at your option:

  • Apache License, Version 2.0
  • MIT license