File: responsibilities_capabilities.rst

package info (click to toggle)
cyclonedx-python-lib 9.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,112 kB
  • sloc: xml: 14,752; python: 11,463; makefile: 21; sh: 16
file content (70 lines) | stat: -rw-r--r-- 3,563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.. # Licensed under the Apache License, Version 2.0 (the "License");
   # you may not use this file except in compliance with the License.
   # You may obtain a copy of the License at
   #
   #     http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   # SPDX-License-Identifier: Apache-2.0

Responsibilities
================

* Provide a general purpose Python-implementation of `CycloneDX`_.
* Provide type hints for said implementation, so developers and dev-tools can rely on it.
* Provide data models to work with `CycloneDX`_.
* Provide data model-validators according to `CycloneDX Specification`_.
* Provide JSON- and XML-serializers, that...
   * support all shipped data models.
   * respect any supported `CycloneDX Specification`_ and generates valid output accordingly.
   * generate reproducible/deterministic results.
* Provide formal JSON- and XML-validators according to `CycloneDX Specification`_.
* Provide mechanisms for JSON- and XML-deserialization of all shipped data models.
* Pre-populate `bom-ref`, so linkage is possible. (affects only some data models)

Capabilities
============

* Enums and Data models for the following use cases:
   * :mod:`Bom and Metadata <cyclonedx.model.bom>`
   * :mod:`BomRef <cyclonedx.model.bom_ref>`
   * :mod:`Component, Evidence, Patch, Pedigree, and more <cyclonedx.model.component>`
   * :mod:`Organizational Contact and Entity <cyclonedx.model.contact>`
   * :mod:`Cryptographic properties and more <cyclonedx.model.crypto>`
   * :mod:`Definition and Standard <cyclonedx.model.definition>`
   * :mod:`Dependency <cyclonedx.model.dependency>`
   * :mod:`Impact and related Analysis <cyclonedx.model.impact_analysis>`
   * :mod:`Issue <cyclonedx.model.issue>`
   * :mod:`License Named, SPDX, Expression, and more <cyclonedx.model.license>`
   * :mod:`Lifecycle <cyclonedx.model.lifecycle>`
   * :mod:`Release Notes <cyclonedx.model.release_note>`
   * :mod:`Service <cyclonedx.model.service>`
   * :mod:`Tool <cyclonedx.model.tool>`
   * :mod:`Vulnerability and related Analysis <cyclonedx.model.vulnerability>`
   * :mod:`Attachment Copyright, DataFlow, ExternalReference, Hash, Property, and more  <cyclonedx.model>`
* Factories for the following use cases:
   * Create data models from any license descriptor string
* Builders for the following use cases:
   * Build a :class:`Component <cyclonedx.model.component.Component>` data model that represents this library
   * Build a :class:`Tool <cyclonedx.model.tool.Tool>` data model that represents this library
* Implementation of the `CycloneDX Specification`_ for the following versions:
   * ``1.6``
   * ``1.5``
   * ``1.4``
   * ``1.3``
   * ``1.2``
   * ``1.1``
   * ``1.0``
* Serializer that converts :class:`Bom <cyclonedx.model.bom.Bom>` data models to XML string
* Serializer that converts :class:`Bom <cyclonedx.model.bom.Bom>` data models to JSON string
* Formal validators for JSON string and XML string.
  Requires optional dependencies as described in :ref:`install instructions <install extras>`.
* Shipped data model are serializable to and deserializable from both, JSON and XML.

.. _CycloneDX: https://cyclonedx.org/
.. _CycloneDX Specification: https://github.com/CycloneDX/specification/#readme