From a458c235b94fccc8e19444720846650396d8d18d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20L=C3=B6sche?= Date: Mon, 2 Oct 2023 14:47:09 +0200 Subject: [PATCH] [aws|gcp][fix] Revert __init__.py changes (#1791) * [aws|gcp][fix] Revert __init__.py changes * Update license --- .../tools/awspolicygen/awspolicygen/__init__.py | 11 ++++++++++- .../tools/gcppolicygen/gcppolicygen/__init__.py | 15 +++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/plugins/aws/tools/awspolicygen/awspolicygen/__init__.py b/plugins/aws/tools/awspolicygen/awspolicygen/__init__.py index 3aa701a198..b80792120f 100644 --- a/plugins/aws/tools/awspolicygen/awspolicygen/__init__.py +++ b/plugins/aws/tools/awspolicygen/awspolicygen/__init__.py @@ -6,9 +6,18 @@ Resoto AWS policy generator and uploader ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This script generates the required AWS access policy and uploads it to the CDN. -:copyright: © 2022 Some Engineering Inc. +:copyright: © 2023 Some Engineering Inc. +:license: AGPL-3.0, see LICENSE for more details. """ +__title__ = "awspolicygen" +__description__ = "Resoto AWS policy generator and uploader." +__author__ = "Some Engineering Inc." +__license__ = "AGPL-3.0" +__copyright__ = "Copyright © 2023 Some Engineering Inc." +__version__ = "0.0.1" + + logging.basicConfig( level=logging.INFO, format="%(levelname)s - %(message)s", diff --git a/plugins/gcp/tools/gcppolicygen/gcppolicygen/__init__.py b/plugins/gcp/tools/gcppolicygen/gcppolicygen/__init__.py index b87b6efed3..b3eaa78e71 100644 --- a/plugins/gcp/tools/gcppolicygen/gcppolicygen/__init__.py +++ b/plugins/gcp/tools/gcppolicygen/gcppolicygen/__init__.py @@ -2,6 +2,21 @@ 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: AGPL-3.0, see LICENSE for more details. +""" + +__title__ = "gcppolicygen" +__description__ = "Resoto GCP policy generator and uploader." +__author__ = "Some Engineering Inc." +__license__ = "AGPL-3.0" +__copyright__ = "Copyright © 2023 Some Engineering Inc." +__version__ = "0.0.1" + logging.basicConfig( level=logging.INFO,