From 1cd46a0e6134444335d6987ed7f14891950ed5f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Mon, 29 Jan 2024 08:50:44 +0100 Subject: [PATCH 1/3] Remove: Remove unused config for bandit We don't use bandit at all. --- .bandit | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .bandit diff --git a/.bandit b/.bandit deleted file mode 100644 index 634db9a0..00000000 --- a/.bandit +++ /dev/null @@ -1,3 +0,0 @@ -# B410, B320: Use of defusedxml is recommended for any server code that parses untrusted XML data. We don't have server code here. -skips: ['B410', 'B320'] - From 23638a61e146d6c4147e046cebb938e3bc7ee510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Mon, 29 Jan 2024 08:51:25 +0100 Subject: [PATCH 2/3] Change: Update copyright to 2024 --- README.md | 2 +- docs/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ebca983d..d3f3912c 100644 --- a/README.md +++ b/README.md @@ -199,6 +199,6 @@ Afterwards active the git hooks for auto-formatting and linting via ## License -Copyright (C) 2017-2023 [Greenbone AG](https://www.greenbone.net/) +Copyright (C) 2017-2024 [Greenbone AG](https://www.greenbone.net/) Licensed under the [GNU General Public License v3.0 or later](LICENSE). diff --git a/docs/conf.py b/docs/conf.py index 09fe9c8d..07cef21b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,7 @@ # -- Project information ----------------------------------------------------- project = "gvm-tools" -copyright = "2018-2023, Greenbone AG" +copyright = "2018-2024, Greenbone AG" author = "Greenbone AG" version = gvmtools.get_version() From 3414724125814a9ec68ff67a48610bae8ca379ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Mon, 29 Jan 2024 08:59:22 +0100 Subject: [PATCH 3/3] Change: Update headers to new spdx copyright --- gvmtools/__init__.py | 2 +- gvmtools/cli.py | 2 +- gvmtools/config.py | 2 +- gvmtools/helper.py | 2 +- gvmtools/parser.py | 2 +- gvmtools/pyshell.py | 2 +- gvmtools/script.py | 2 +- tests/__init__.py | 2 +- tests/scripts/__init__.py | 2 +- tests/scripts/example_schedules.xml | 2 +- tests/scripts/example_target.xml | 2 +- tests/scripts/example_task.xml | 2 +- tests/scripts/get_alerts.xml | 2 +- tests/scripts/get_scan_configs.xml | 2 +- tests/scripts/invalid_xml.xml | 2 +- tests/scripts/test_combine_reports.py | 2 +- tests/scripts/test_create_consolidated_report.py | 2 +- tests/scripts/test_send_schedules.py | 2 +- tests/scripts/test_send_targets.py | 2 +- tests/scripts/test_send_tasks.py | 2 +- tests/scripts/test_start_alert_scan.py | 2 +- tests/test_config.py | 2 +- tests/test_helper.py | 2 +- tests/test_parser.py | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/gvmtools/__init__.py b/gvmtools/__init__.py index e7757b76..7ec186dd 100644 --- a/gvmtools/__init__.py +++ b/gvmtools/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/gvmtools/cli.py b/gvmtools/cli.py index 29708a75..7bbfa8f8 100644 --- a/gvmtools/cli.py +++ b/gvmtools/cli.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/gvmtools/config.py b/gvmtools/config.py index 58527bac..566945d2 100644 --- a/gvmtools/config.py +++ b/gvmtools/config.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/gvmtools/helper.py b/gvmtools/helper.py index 1e6a24a8..e232fe46 100644 --- a/gvmtools/helper.py +++ b/gvmtools/helper.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/gvmtools/parser.py b/gvmtools/parser.py index e6da6cad..956db2b5 100644 --- a/gvmtools/parser.py +++ b/gvmtools/parser.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/gvmtools/pyshell.py b/gvmtools/pyshell.py index a356a67c..e93589d0 100644 --- a/gvmtools/pyshell.py +++ b/gvmtools/pyshell.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/gvmtools/script.py b/gvmtools/script.py index 9fff08b9..e9586cfa 100644 --- a/gvmtools/script.py +++ b/gvmtools/script.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2018-2022 Greenbone AG +# SPDX-FileCopyrightText: 2018-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/__init__.py b/tests/__init__.py index 6762622b..8a1007ef 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2019-2022 Greenbone AG +# SPDX-FileCopyrightText: 2019-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/scripts/__init__.py b/tests/scripts/__init__.py index 6bd2322c..5c1757a7 100644 --- a/tests/scripts/__init__.py +++ b/tests/scripts/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2020-2022 Greenbone AG +# SPDX-FileCopyrightText: 2020-2024 Greenbone AG # # SPDX-License-Identifier: GPL-3.0-or-later # diff --git a/tests/scripts/example_schedules.xml b/tests/scripts/example_schedules.xml index d45d4dad..c6749fce 100644 --- a/tests/scripts/example_schedules.xml +++ b/tests/scripts/example_schedules.xml @@ -1,7 +1,7 @@