cwe-xml

Crates.iocwe-xml
lib.rscwe-xml
version0.7.2
sourcesrc
created_at2023-06-20 08:08:17.861233
updated_at2023-08-17 18:35:19.156725
descriptionA local in-memory, queryable, and navigable CWE database initialized with one or multiple CWE XML files.
homepagehttps://github.com/lquerel/cwe-xml
repositoryhttps://github.com/lquerel/cwe-xml
max_upload_size
id894802
size91,483
Laurent Quérel (lquerel)

documentation

https://docs.rs/cwe-xml

README

CWE XML

A local in-memory, queryable, and navigable CWE database initialized with one or multiple CWE XML files. This crate provides a Rust mapping to CWE XML files from the MITRE project.

CWE stands for Common Weakness Enumeration.

XML files are available here.

Features

  • Import multiple CWE catalogs (XML format) into a single CWE database.
  • Navigate CWE hierarchies and list CWE roots.
  • Query the database for weakness by CWE-ID.
  • Query the database for categories by CWE-ID.
  • Infer categories (i.e. weakness inherit categories of their parents).

Status

  • All CWE files from the Mitre project have been loaded and deserialized with this crate.
  • Still very early, no unit tests, no documentation.

Examples

Commit count: 28

cargo fmt