Skip to content

Commit

Permalink
[resoto][chore] Move to AGPLv3 License (#1787)
Browse files Browse the repository at this point in the history
* [resoto][chore] Move to AGPLv3 License

* add license file to vsphere plugin

* Also adjust README files and __init__.py tags

* define the license in the pyproject.license setting

* define the license in the pyproject.license setting

* Update README.md

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>

* Reference the license file

---------

Co-authored-by: TheCatLady <52870424+TheCatLady@users.noreply.github.com>
  • Loading branch information
aquamatthias and TheCatLady committed Oct 2, 2023
1 parent 14cefe4 commit 18f7567
Show file tree
Hide file tree
Showing 54 changed files with 983 additions and 653 deletions.
864 changes: 662 additions & 202 deletions LICENSE

Large diffs are not rendered by default.

16 changes: 1 addition & 15 deletions README.md
Expand Up @@ -48,18 +48,4 @@ If you have any questions, feel free to [join our Discord](https://discord.gg/so


## License
```
Copyright 2023 Some Engineering Inc.
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.
```
See [LICENSE](LICENSE) for details.
3 changes: 3 additions & 0 deletions plugins/aws/README.md
Expand Up @@ -27,3 +27,6 @@ If you do not want it to scrape the account that was used to get the list of all

If instead of using the current credentials you would like Resoto to assume the specified role (`resotoworker.aws.role`) even for the current account you can specify the options
`resotoworker.aws.assume_current` and `resotoworker.aws.dont_scrape_current`. This would make it so that Resoto does not scrape the current account using default credentials but instead assume the specified IAM role even for the current account.

## License
See [LICENSE](../../LICENSE) for details.
6 changes: 3 additions & 3 deletions plugins/aws/pyproject.toml
Expand Up @@ -3,16 +3,16 @@ name = "resoto-plugin-aws"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
description = "Runs collector plugins and sends the result to resotocore."
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
# Audience
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
13 changes: 1 addition & 12 deletions plugins/aws/tools/awspolicygen/README.md
Expand Up @@ -4,16 +4,5 @@ This script creates and uploads AWS policies to the CDN
## License
```
Copyright 2022 Some Engineering Inc.
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.
See repository LICENSE for details.
```
9 changes: 0 additions & 9 deletions plugins/aws/tools/awspolicygen/awspolicygen/__init__.py
Expand Up @@ -7,17 +7,8 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This script generates the required AWS access policy and uploads it to the CDN.
:copyright: © 2022 Some Engineering Inc.
:license: Apache 2.0, see LICENSE for more details.
"""

__title__ = "awspolicygen"
__description__ = "Resoto AWS policy generator and uploader."
__author__ = "Some Engineering Inc."
__license__ = "Apache 2.0"
__copyright__ = "Copyright © 2023 Some Engineering Inc."
__version__ = "0.0.1"


logging.basicConfig(
level=logging.INFO,
format="%(levelname)s - %(message)s",
Expand Down
2 changes: 1 addition & 1 deletion plugins/aws/tools/awspolicygen/setup.py
Expand Up @@ -34,7 +34,7 @@
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
3 changes: 3 additions & 0 deletions plugins/azure/README.md
Expand Up @@ -3,3 +3,6 @@ An Azure collector plugin for Resoto.

## Usage
For details on how to edit configuration, please see [the documentation](https://resoto.com/docs/getting-started/configuring-resoto).

## License
See [LICENSE](../../LICENSE) for details.
4 changes: 2 additions & 2 deletions plugins/azure/pyproject.toml
Expand Up @@ -3,7 +3,7 @@ name = "resoto-plugin-azure"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
description = "Runs collector plugins and sends the result to resotocore."
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
Expand All @@ -12,7 +12,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
3 changes: 3 additions & 0 deletions plugins/digitalocean/README.md
@@ -1,2 +1,5 @@
# resoto-plugin-digitalocean
DigitalOcean Collector Plugin for Resoto

## License
See [LICENSE](../../LICENSE) for details.
6 changes: 3 additions & 3 deletions plugins/digitalocean/pyproject.toml
Expand Up @@ -3,16 +3,16 @@ name = "resoto-plugin-digitalocean"
description = "Resoto DigitalOcean Collector Plugin"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
# Audience
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
2 changes: 2 additions & 0 deletions plugins/dockerhub/README.md
Expand Up @@ -16,3 +16,5 @@ resotometrics:
# Type of metric (gauge or counter)
type: 'counter'
```
## License
See [LICENSE](../../LICENSE) for details.
4 changes: 2 additions & 2 deletions plugins/dockerhub/pyproject.toml
Expand Up @@ -3,7 +3,7 @@ name = "resoto-plugin-dockerhub"
description = "Resoto Docker Hub Collector Plugin"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
Expand All @@ -12,7 +12,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
3 changes: 3 additions & 0 deletions plugins/example_collector/README.md
@@ -1,2 +1,5 @@
# resoto-plugin-example-collector
Example Collector Plugin for Resoto

## License
See [LICENSE](../../LICENSE) for details.
4 changes: 2 additions & 2 deletions plugins/example_collector/pyproject.toml
Expand Up @@ -3,7 +3,7 @@ name = "resoto-plugin-example-collector"
description = "Resoto Example Collector Plugin"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
Expand All @@ -12,7 +12,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
3 changes: 3 additions & 0 deletions plugins/gcp/README.md
@@ -1,2 +1,5 @@
# resoto-plugin-gcp
An GCP collector plugin for Resoto.

## License
See [LICENSE](../../LICENSE) for details.
6 changes: 3 additions & 3 deletions plugins/gcp/pyproject.toml
Expand Up @@ -3,16 +3,16 @@ name = "resoto-plugin-gcp"
description = "Resoto GCP Collector Plugin"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
# Audience
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
13 changes: 1 addition & 12 deletions plugins/gcp/tools/gcppolicygen/README.md
Expand Up @@ -4,16 +4,5 @@ This script creates and uploads GCP policies to the CDN
## License
```
Copyright 2023 Some Engineering Inc.
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.
See repository LICENSE for details.
```
15 changes: 0 additions & 15 deletions plugins/gcp/tools/gcppolicygen/gcppolicygen/__init__.py
Expand Up @@ -2,21 +2,6 @@
import logging
from argparse import ArgumentParser, Namespace

"""
Resoto GCP policy generator and uploader
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This script generates the required GCP access policy and uploads it to the CDN.
:copyright: © 2023 Some Engineering Inc.
:license: Apache 2.0, see LICENSE for more details.
"""

__title__ = "gcppolicygen"
__description__ = "Resoto GCP policy generator and uploader."
__author__ = "Some Engineering Inc."
__license__ = "Apache 2.0"
__copyright__ = "Copyright © 2023 Some Engineering Inc."
__version__ = "0.0.1"


logging.basicConfig(
level=logging.INFO,
Expand Down
2 changes: 1 addition & 1 deletion plugins/gcp/tools/gcppolicygen/setup.py
Expand Up @@ -34,7 +34,7 @@
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
4 changes: 4 additions & 0 deletions plugins/github/README.md
@@ -1,2 +1,6 @@
# resoto-plugin-github (WIP)
GitHub Collector Plugin for Resoto

## License
See [LICENSE](../../LICENSE) for details.

4 changes: 2 additions & 2 deletions plugins/github/pyproject.toml
Expand Up @@ -3,7 +3,7 @@ name = "resoto-plugin-github"
description = "Resoto Github Collector Plugin"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
Expand All @@ -12,7 +12,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
3 changes: 3 additions & 0 deletions plugins/k8s/README.md
Expand Up @@ -2,3 +2,6 @@

Kubernetes plugin for Resoto.
See [Getting Started](https://resoto.com/docs/getting-started) for more information.

## License
See [LICENSE](../../LICENSE) for details.
4 changes: 2 additions & 2 deletions plugins/k8s/pyproject.toml
Expand Up @@ -3,7 +3,7 @@ name = "resoto-plugin-k8s"
description = "Resoto Kubernetes Collector Plugin"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
Expand All @@ -12,7 +12,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
4 changes: 4 additions & 0 deletions plugins/onelogin/README.md
Expand Up @@ -5,3 +5,7 @@ This plugin collects OneLogin users as cloud resources and adds them to the Reso

## Usage
Retrieve OneLogin API credentials and provide them to the plugin either as environment variables or commandline arguments.

## License
See [LICENSE](../../LICENSE) for details.

4 changes: 2 additions & 2 deletions plugins/onelogin/pyproject.toml
Expand Up @@ -3,7 +3,7 @@ name = "resoto-plugin-onelogin"
description = "Resoto OneLogin Plugin"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
Expand All @@ -12,7 +12,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
3 changes: 3 additions & 0 deletions plugins/onprem/README.md
@@ -1,2 +1,5 @@
# resoto-plugin-onprem (WIP)
On-Premises Collector Plugin for Resoto

## License
See [LICENSE](../../LICENSE) for details.
4 changes: 2 additions & 2 deletions plugins/onprem/pyproject.toml
Expand Up @@ -3,7 +3,7 @@ name = "resoto-plugin-onprem"
description = "Resoto On-Premises Collector Plugin"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
Expand All @@ -12,7 +12,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
2 changes: 2 additions & 0 deletions plugins/posthog/README.md
Expand Up @@ -16,3 +16,5 @@ resotometrics:
# Type of metric (gauge or counter)
type: 'gauge'
```
## License
See [LICENSE](../../LICENSE) for details.
4 changes: 2 additions & 2 deletions plugins/posthog/pyproject.toml
Expand Up @@ -3,7 +3,7 @@ name = "resoto-plugin-posthog"
description = "Resoto Posthog Collector Plugin"
version = "3.7.0"
authors = [{name="Some Engineering Inc."}]
license = {file="LICENSE"}
license = { text="AGPLv3" }
requires-python = ">=3.9"
classifiers = [
# Current project status
Expand All @@ -12,7 +12,7 @@ classifiers = [
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
# License information
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
# Supported python versions
"Programming Language :: Python :: 3.9",
# Supported OS's
Expand Down
3 changes: 3 additions & 0 deletions plugins/random/README.md
Expand Up @@ -9,3 +9,6 @@ The config value `random.seed` is the seed Python's random number generator is s
`random.size` is a float multiplier that's applied to every random min/max value causing exponential growth of the cloud. E.g. a value of 2 would create on average twice the number of accounts containing twice the number of networks containing twice the number of instances, with twice the number of volumes each.

Given the same seed and size the cloud stays relatively the same plus/minus a couple of instances and their volumes (the jitter). If either seed or size is changed the entire cloud changes.

## License
See [LICENSE](../../LICENSE) for details.

0 comments on commit 18f7567

Please sign in to comment.