Skip to content

Commit 559b8d2

Browse files
committed
License headers, OWASP etc...
1 parent 5d907d5 commit 559b8d2

18 files changed

+57
-16
lines changed

README.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Python Library for generating CycloneDX
22

3-
[![CircleCI](https://circleci.com/gh/sonatype-nexus-community/cyclonedx-python-lib.svg?style=shield)](https://circleci.com/gh/sonatype-nexus-community/cyclonedx-python-lib)
43
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sonatype-nexus-community/cyclonedx-python-lib/Python%20CI)
54
![Python Version Support](https://img.shields.io/badge/python-3.6+-blue)
65
[![GitHub license](https://img.shields.io/github/license/sonatype-nexus-community/cyclonedx-python-lib)](https://github.com/sonatype-nexus-community/cyclonedx-python-lib/blob/main/LICENSE)
@@ -13,12 +12,15 @@
1312
This CycloneDX module for Python can generate valid CycloneDX bill-of-material document containing an aggregate of all
1413
project dependencies.
1514

16-
This module is not designed for standalone use. If you're looking for a tool to run to generate CycloneDX software
15+
This module is not designed for standalone use. If you're looking for a CycloneDX tool to run to generate (SBOM) software
1716
bill-of-materials documents, why not checkout:
1817

18+
- [cyclonedx-python](https://github.com/CycloneDX/cyclonedx-python)
19+
20+
Additionally, the following tool can be used as well (and this library was written to help improve it)
1921
- [Jake](https://github.com/sonatype-nexus-community/jake)
2022

21-
Or you can use this module yourself in your application to generate SBOMs.
23+
Additionally, you can use this module yourself in your application to programmatically generate SBOMs.
2224

2325
CycloneDX is a lightweight BOM specification that is easily created, human-readable, and simple to parse.
2426

@@ -172,16 +174,7 @@ _Note: We refer throughout using XPath, but the same is true for both XML and JS
172174
We endeavour to support all functionality for all [current actively supported Python versions](https://www.python.org/downloads/).
173175
However, some features may not be possible/present in older Python versions due to their lack of support.
174176

175-
## The Fine Print
176-
177-
Remember:
178-
179-
It is worth noting that this is **NOT SUPPORTED** by Sonatype, and is a contribution of ours to the open source
180-
community (read: you!)
181-
182-
* Use this contribution at the risk tolerance that you have
183-
* Do NOT file Sonatype support tickets related to `cyclonedx-python-lib` support in regard to this project
184-
* DO file issues here on GitHub, so that the community can pitch in
185-
186-
Phew, that was easier than I thought. Last but not least of all - have fun!
177+
## Copyright & License
178+
CycloneDX Python Lib is Copyright (c) OWASP Foundation. All Rights Reserved.
187179

180+
Permission to modify and redistribute is granted under the terms of the Apache 2.0 license.

cyclonedx/model/bom.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
# This file is part of CycloneDX Python Lib
4+
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
57
# You may obtain a copy of the License at
@@ -13,6 +15,7 @@
1315
# limitations under the License.
1416
#
1517
# SPDX-License-Identifier: Apache-2.0
18+
# Copyright (c) OWASP Foundation. All Rights Reserved.
1619

1720
import datetime
1821
from typing import List

cyclonedx/model/component.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
# This file is part of CycloneDX Python Lib
4+
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
57
# You may obtain a copy of the License at
@@ -13,6 +15,7 @@
1315
# limitations under the License.
1416
#
1517
# SPDX-License-Identifier: Apache-2.0
18+
# Copyright (c) OWASP Foundation. All Rights Reserved.
1619

1720
from enum import Enum
1821

cyclonedx/output/json.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
# This file is part of CycloneDX Python Lib
4+
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
57
# You may obtain a copy of the License at
@@ -13,6 +15,7 @@
1315
# limitations under the License.
1416
#
1517
# SPDX-License-Identifier: Apache-2.0
18+
# Copyright (c) OWASP Foundation. All Rights Reserved.
1619

1720
import json
1821

cyclonedx/output/schema.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
# This file is part of CycloneDX Python Lib
4+
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
57
# You may obtain a copy of the License at
@@ -13,6 +15,7 @@
1315
# limitations under the License.
1416
#
1517
# SPDX-License-Identifier: Apache-2.0
18+
# Copyright (c) OWASP Foundation. All Rights Reserved.
1619

1720
from abc import ABC
1821

cyclonedx/output/xml.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
# This file is part of CycloneDX Python Lib
4+
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
57
# You may obtain a copy of the License at
@@ -13,6 +15,7 @@
1315
# limitations under the License.
1416
#
1517
# SPDX-License-Identifier: Apache-2.0
18+
# Copyright (c) OWASP Foundation. All Rights Reserved.
1619

1720
from xml.etree import ElementTree
1821

cyclonedx/parser/environment.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
# This file is part of CycloneDX Python Lib
4+
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
57
# You may obtain a copy of the License at
@@ -13,6 +15,7 @@
1315
# limitations under the License.
1416
#
1517
# SPDX-License-Identifier: Apache-2.0
18+
# Copyright (c) OWASP Foundation. All Rights Reserved.
1619

1720
import sys
1821

cyclonedx/parser/requirements.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
# This file is part of CycloneDX Python Lib
4+
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
57
# You may obtain a copy of the License at
@@ -13,6 +15,7 @@
1315
# limitations under the License.
1416
#
1517
# SPDX-License-Identifier: Apache-2.0
18+
# Copyright (c) OWASP Foundation. All Rights Reserved.
1619

1720
import pkg_resources
1821

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
setup(
1010
name='cyclonedx-python-lib',
1111
version=open(os.path.join(script_path, 'VERSION')).read(),
12-
url="https://github.com/sonatype-nexus-community/cyclonedx-python-lib",
12+
url="https://github.com/CycloneDX/cyclonedx-python-lib",
1313
author="Sonatype Community",
1414
author_email="[email protected]",
1515
description="A library for producing CycloneDX SBOM (Software Bill of Materials) files.",

tests/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# encoding: utf-8
22

3+
# This file is part of CycloneDX Python Lib
4+
#
35
# Licensed under the Apache License, Version 2.0 (the "License");
46
# you may not use this file except in compliance with the License.
57
# You may obtain a copy of the License at
@@ -13,6 +15,7 @@
1315
# limitations under the License.
1416
#
1517
# SPDX-License-Identifier: Apache-2.0
18+
# Copyright (c) OWASP Foundation. All Rights Reserved.
1619

1720
import json
1821
import xml.etree.ElementTree

0 commit comments

Comments
 (0)