aboutcode-org / cwe2

Common weakness enumeration library for Python (maintained fork of https://github.com/Julian-Nash/cwe )
MIT License
11 stars 3 forks source link

===================================================================== cwe2: CWE / Common weakness enumeration library for Python

cwe2 is a library to handle CWE in Python. CWE are weakness categories for vulnerabilities.

Homepage and support: https://github.com/aboutcode-org/cwe2

See https://cwe.mitre.org/index.html for details on CWE. This is a maintainer fork of https://github.com/Julian-Nash/cwe

It contains a vendored copy of the CWE data.

Copyright (c) Julian-Nash, Ziad Hany, nexB. Inc. and others. SPDX-License-Identifier: MIT and LicenseRef-scancode-cwe-tou

The CWE data has this notice:

Use of the Common Weakness Enumeration (CWE) and the associated references from
this website are subject to the Terms of Use. CWE is sponsored by the U.S.
Department of Homeland Security (DHS) Cybersecurity and Infrastructure Security
Agency (CISA) and managed by the Homeland Security Systems Engineering and
Development Institute (HSSEDI) which is operated by The MITRE Corporation (MITRE).
Copyright © 2006–2022, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo
are trademarks of The MITRE Corporation.
See cwe-tou.LICENSE for details

Installation

Install with pip::

pip install cwe2

Usage

Extra functions:

Weakness attributes

The following weakness object attributes can accessed:

Tests

Run the tests with::

make test