From 5aeb4e9bf4d6b734cb8b71d744f1e32e71aec091 Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Thu, 11 Apr 2024 14:35:21 +0200 Subject: [PATCH] ci: update deps (#820) Update some of the CI dependencies, remove `review_secrets` job and remove `dependabot.yml` config as well. --- .github/dependabot.yml | 6 -- .github/workflows/build-test-release.yml | 61 +++++++------------ .github/workflows/exclude-patterns.txt | 7 --- .licenserc.yaml | 7 +-- .pre-commit-config.yaml | 4 +- .releaserc | 4 +- Dockerfile.splunk | 4 +- Dockerfile.tests | 4 +- Dockerfile.uf | 4 +- docker-compose-ci.yml | 4 +- docker-compose.yml | 4 +- pyproject.toml | 4 +- pytest-ci.ini | 4 +- pytest.ini | 4 +- pytest_splunk_addon/__init__.py | 4 +- pytest_splunk_addon/plugin.py | 4 +- pytest_splunk_addon/splunk.py | 4 +- .../standard_lib/CIM_Models/__init__.py | 4 +- .../CIM_Models/datamodel_definition.py | 4 +- pytest_splunk_addon/standard_lib/__init__.py | 4 +- .../standard_lib/addon_basic.py | 4 +- .../standard_lib/addon_parser/__init__.py | 4 +- .../addon_parser/eventtype_parser.py | 4 +- .../standard_lib/addon_parser/fields.py | 4 +- .../standard_lib/addon_parser/props_parser.py | 4 +- .../addon_parser/savedsearches_parser.py | 4 +- .../standard_lib/addon_parser/tags_parser.py | 4 +- .../addon_parser/transforms_parser.py | 4 +- .../standard_lib/app_test_generator.py | 4 +- .../standard_lib/cim_compliance/__init__.py | 4 +- .../cim_compliance/base_report.py | 4 +- .../standard_lib/cim_compliance/base_table.py | 4 +- .../cim_compliance/cim_report_generator.py | 4 +- .../cim_compliance/markdown_report.py | 4 +- .../cim_compliance/markdown_table.py | 4 +- .../standard_lib/cim_compliance/plugin.py | 4 +- .../standard_lib/cim_tests/__init__.py | 4 +- .../standard_lib/cim_tests/base_schema.py | 4 +- .../standard_lib/cim_tests/data_model.py | 4 +- .../cim_tests/data_model_handler.py | 4 +- .../standard_lib/cim_tests/data_set.py | 4 +- .../cim_tests/field_test_adapter.py | 4 +- .../cim_tests/field_test_helper.py | 4 +- .../standard_lib/cim_tests/json_schema.py | 4 +- .../standard_lib/cim_tests/test_generator.py | 4 +- .../standard_lib/cim_tests/test_templates.py | 4 +- .../standard_lib/event_ingestors/__init__.py | 4 +- .../event_ingestors/base_event_ingestor.py | 4 +- .../event_ingestors/file_monitor_ingestor.py | 4 +- .../event_ingestors/hec_event_ingestor.py | 4 +- .../event_ingestors/hec_metric_ingestor.py | 4 +- .../event_ingestors/hec_raw_ingestor.py | 4 +- .../event_ingestors/ingestor_helper.py | 4 +- .../event_ingestors/sc4s_event_ingestor.py | 4 +- .../standard_lib/fields_tests/__init__.py | 4 +- .../standard_lib/fields_tests/field_bank.py | 4 +- ...equirement_test_datamodel_tag_constants.py | 4 +- .../fields_tests/sample_parser.py | 7 ++- .../fields_tests/test_generator.py | 4 +- .../fields_tests/test_templates.py | 4 +- .../standard_lib/index_tests/__init__.py | 4 +- .../standard_lib/index_tests/key_fields.py | 4 +- .../index_tests/test_generator.py | 4 +- .../index_tests/test_templates.py | 4 +- .../sample_generation/__init__.py | 4 +- .../pytest_splunk_addon_data_parser.py | 4 +- .../standard_lib/sample_generation/rule.py | 4 +- .../sample_generation/sample_event.py | 4 +- .../sample_generation/sample_generator.py | 4 +- .../sample_generation/sample_stanza.py | 4 +- .../sample_xdist_generator.py | 4 +- .../sample_generation/time_parser.py | 4 +- .../standard_lib/utilities/__init__.py | 4 +- .../standard_lib/utilities/junit_parser.py | 4 +- .../standard_lib/utilities/log_helper.py | 4 +- .../standard_lib/utilities/sample_splitter.py | 4 +- .../utilities/xml_event_parser.py | 4 +- pytest_splunk_addon/tools/cim_field_report.py | 4 +- 78 files changed, 175 insertions(+), 205 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/exclude-patterns.txt diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index fb0e27297..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "gitsubmodule" - directory: "/" - schedule: - interval: "weekly" diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index ffe1ba370..e10049e33 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -19,7 +19,7 @@ jobs: outputs: matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: matrix uses: splunk/addonfactory-test-matrix-action@v1 @@ -27,7 +27,7 @@ jobs: continue-on-error: true runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: run fossa anlyze and create report run: | curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash @@ -36,7 +36,7 @@ jobs: env: FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }} - name: upload THIRDPARTY file - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: THIRDPARTY path: /tmp/THIRDPARTY @@ -49,47 +49,32 @@ jobs: compliance-copyrights: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: apache/skywalking-eyes@v0.4.0 + - uses: actions/checkout@v4 + - uses: apache/skywalking-eyes@v0.6.0 pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.7" - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 semgrep: runs-on: ubuntu-latest name: security-sast-semgrep - if: github.actor != 'dependabot[bot]' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: semgrep uses: semgrep/semgrep-action@v1 with: publishToken: ${{ secrets.SEMGREP_PUBLISH_TOKEN }} - review_secrets: - name: security-detect-secrets - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - submodules: false - fetch-depth: "0" - - name: Trufflehog Actions Scan - uses: edplato/trufflehog-actions-scan@v0.9j-beta - with: - scanArguments: "--max_dept 50 -x .github/workflows/exclude-patterns.txt" - test-splunk-unit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install dependencies @@ -102,10 +87,10 @@ jobs: name: Test Docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.7 - name: Install and run tests @@ -123,13 +108,12 @@ jobs: - compliance-copyrights - test-splunk-doc - test-splunk-unit - - review_secrets strategy: fail-fast: false matrix: splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Setup for testing @@ -156,13 +140,13 @@ jobs: docker container create --name dummy \ -v pytest-splunk-addon_results:/work/test-results \ registry.access.redhat.com/ubi7/ubi - docker cp dummy:/work/test-results/test.xml test-results-${{ matrix.splunk-version }} - - uses: actions/upload-artifact@v3 + docker cp dummy:/work/test-results/test.xml test-results-${{ matrix.splunk.version }} + - uses: actions/upload-artifact@v4 if: always() with: - name: splunk ${{ matrix.splunk-version }} external test artifacts + name: splunk ${{ matrix.splunk.version }} external test artifacts path: | - test-results-${{ matrix.splunk-version }} + test-results-${{ matrix.splunk.version }} test-splunk-matrix: needs: @@ -172,7 +156,6 @@ jobs: - compliance-copyrights - test-splunk-doc - test-splunk-unit - - review_secrets runs-on: ubuntu-latest strategy: fail-fast: false @@ -192,10 +175,10 @@ jobs: "splunk_app_req_broken", ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.7 - run: | @@ -209,16 +192,16 @@ jobs: - test-splunk-matrix runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Very Important semantic-release won't trigger a tagged # build if this is not set false submodules: false persist-credentials: false - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.7" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: THIRDPARTY - name: Update Notices diff --git a/.github/workflows/exclude-patterns.txt b/.github/workflows/exclude-patterns.txt deleted file mode 100644 index 438763328..000000000 --- a/.github/workflows/exclude-patterns.txt +++ /dev/null @@ -1,7 +0,0 @@ -.github/workflows/ -.circleci/ -deps/.* -.*\.lock -tests/ -NOTICE -pytest_splunk_addon/standard_lib/CIM_Models/5.0.0/Ticket_Management.json diff --git a/.licenserc.yaml b/.licenserc.yaml index 9cf6ee243..f001b7259 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, @@ -37,5 +37,4 @@ header: - "renovate.json" - "pytest_splunk_addon/.ignore_splunk_internal_errors" - "pytest_splunk_addon/docker_class.py" - - comment: on-failure \ No newline at end of file + - "requirements.txt" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e7839aa1..991815898 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/.releaserc b/.releaserc index c3345b9b4..e8c511253 100644 --- a/.releaserc +++ b/.releaserc @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/Dockerfile.splunk b/Dockerfile.splunk index b9da72e98..6b8a4ed97 100644 --- a/Dockerfile.splunk +++ b/Dockerfile.splunk @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/Dockerfile.tests b/Dockerfile.tests index fcd982039..8d2ad273f 100644 --- a/Dockerfile.tests +++ b/Dockerfile.tests @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/Dockerfile.uf b/Dockerfile.uf index b4a31ef09..c4d16ce77 100644 --- a/Dockerfile.uf +++ b/Dockerfile.uf @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/docker-compose-ci.yml b/docker-compose-ci.yml index d10339ec6..8c3528540 100644 --- a/docker-compose-ci.yml +++ b/docker-compose-ci.yml @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/docker-compose.yml b/docker-compose.yml index 4574d5c2d..b502a0ec9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pyproject.toml b/pyproject.toml index 58ef2b35f..655e8a8cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest-ci.ini b/pytest-ci.ini index a03e5aa2f..e1785e697 100644 --- a/pytest-ci.ini +++ b/pytest-ci.ini @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest.ini b/pytest.ini index 7b5fedc2e..576b89d18 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/__init__.py b/pytest_splunk_addon/__init__.py index 18572af7c..8833cbc0e 100644 --- a/pytest_splunk_addon/__init__.py +++ b/pytest_splunk_addon/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/plugin.py b/pytest_splunk_addon/plugin.py index 220f5f6e2..3acec80e1 100644 --- a/pytest_splunk_addon/plugin.py +++ b/pytest_splunk_addon/plugin.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/splunk.py b/pytest_splunk_addon/splunk.py index bfe764787..8a6505259 100644 --- a/pytest_splunk_addon/splunk.py +++ b/pytest_splunk_addon/splunk.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/CIM_Models/__init__.py b/pytest_splunk_addon/standard_lib/CIM_Models/__init__.py index 72d450974..b34a79900 100644 --- a/pytest_splunk_addon/standard_lib/CIM_Models/__init__.py +++ b/pytest_splunk_addon/standard_lib/CIM_Models/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/CIM_Models/datamodel_definition.py b/pytest_splunk_addon/standard_lib/CIM_Models/datamodel_definition.py index 63aa9508b..f1590ab66 100644 --- a/pytest_splunk_addon/standard_lib/CIM_Models/datamodel_definition.py +++ b/pytest_splunk_addon/standard_lib/CIM_Models/datamodel_definition.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/__init__.py b/pytest_splunk_addon/standard_lib/__init__.py index b4985bf52..04f9b8dcb 100644 --- a/pytest_splunk_addon/standard_lib/__init__.py +++ b/pytest_splunk_addon/standard_lib/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/addon_basic.py b/pytest_splunk_addon/standard_lib/addon_basic.py index 9549e77c8..756f576b5 100644 --- a/pytest_splunk_addon/standard_lib/addon_basic.py +++ b/pytest_splunk_addon/standard_lib/addon_basic.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/addon_parser/__init__.py b/pytest_splunk_addon/standard_lib/addon_parser/__init__.py index dcf97bbf0..6b79da433 100644 --- a/pytest_splunk_addon/standard_lib/addon_parser/__init__.py +++ b/pytest_splunk_addon/standard_lib/addon_parser/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/addon_parser/eventtype_parser.py b/pytest_splunk_addon/standard_lib/addon_parser/eventtype_parser.py index 524266a2a..b33f12ecc 100644 --- a/pytest_splunk_addon/standard_lib/addon_parser/eventtype_parser.py +++ b/pytest_splunk_addon/standard_lib/addon_parser/eventtype_parser.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/addon_parser/fields.py b/pytest_splunk_addon/standard_lib/addon_parser/fields.py index cf0874277..a0826bf9c 100644 --- a/pytest_splunk_addon/standard_lib/addon_parser/fields.py +++ b/pytest_splunk_addon/standard_lib/addon_parser/fields.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/addon_parser/props_parser.py b/pytest_splunk_addon/standard_lib/addon_parser/props_parser.py index 12e60a287..e2757eb52 100644 --- a/pytest_splunk_addon/standard_lib/addon_parser/props_parser.py +++ b/pytest_splunk_addon/standard_lib/addon_parser/props_parser.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/addon_parser/savedsearches_parser.py b/pytest_splunk_addon/standard_lib/addon_parser/savedsearches_parser.py index b56005c96..fdd24a1ac 100644 --- a/pytest_splunk_addon/standard_lib/addon_parser/savedsearches_parser.py +++ b/pytest_splunk_addon/standard_lib/addon_parser/savedsearches_parser.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/addon_parser/tags_parser.py b/pytest_splunk_addon/standard_lib/addon_parser/tags_parser.py index 147d37b34..23d709103 100644 --- a/pytest_splunk_addon/standard_lib/addon_parser/tags_parser.py +++ b/pytest_splunk_addon/standard_lib/addon_parser/tags_parser.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/addon_parser/transforms_parser.py b/pytest_splunk_addon/standard_lib/addon_parser/transforms_parser.py index 2ace3becb..c52e415f0 100644 --- a/pytest_splunk_addon/standard_lib/addon_parser/transforms_parser.py +++ b/pytest_splunk_addon/standard_lib/addon_parser/transforms_parser.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/app_test_generator.py b/pytest_splunk_addon/standard_lib/app_test_generator.py index b964d4c23..c8861194f 100644 --- a/pytest_splunk_addon/standard_lib/app_test_generator.py +++ b/pytest_splunk_addon/standard_lib/app_test_generator.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_compliance/__init__.py b/pytest_splunk_addon/standard_lib/cim_compliance/__init__.py index 074c0bb6c..ec67c2d26 100644 --- a/pytest_splunk_addon/standard_lib/cim_compliance/__init__.py +++ b/pytest_splunk_addon/standard_lib/cim_compliance/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_compliance/base_report.py b/pytest_splunk_addon/standard_lib/cim_compliance/base_report.py index b55a00f1e..8ac999731 100644 --- a/pytest_splunk_addon/standard_lib/cim_compliance/base_report.py +++ b/pytest_splunk_addon/standard_lib/cim_compliance/base_report.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_compliance/base_table.py b/pytest_splunk_addon/standard_lib/cim_compliance/base_table.py index 6b774b7ea..463e284e4 100644 --- a/pytest_splunk_addon/standard_lib/cim_compliance/base_table.py +++ b/pytest_splunk_addon/standard_lib/cim_compliance/base_table.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_compliance/cim_report_generator.py b/pytest_splunk_addon/standard_lib/cim_compliance/cim_report_generator.py index f498bbb07..5da6ae190 100644 --- a/pytest_splunk_addon/standard_lib/cim_compliance/cim_report_generator.py +++ b/pytest_splunk_addon/standard_lib/cim_compliance/cim_report_generator.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_compliance/markdown_report.py b/pytest_splunk_addon/standard_lib/cim_compliance/markdown_report.py index 18b4d6433..36f998093 100644 --- a/pytest_splunk_addon/standard_lib/cim_compliance/markdown_report.py +++ b/pytest_splunk_addon/standard_lib/cim_compliance/markdown_report.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_compliance/markdown_table.py b/pytest_splunk_addon/standard_lib/cim_compliance/markdown_table.py index 706ca0748..81741ccbf 100644 --- a/pytest_splunk_addon/standard_lib/cim_compliance/markdown_table.py +++ b/pytest_splunk_addon/standard_lib/cim_compliance/markdown_table.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_compliance/plugin.py b/pytest_splunk_addon/standard_lib/cim_compliance/plugin.py index 4739304d2..5f95855bd 100644 --- a/pytest_splunk_addon/standard_lib/cim_compliance/plugin.py +++ b/pytest_splunk_addon/standard_lib/cim_compliance/plugin.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/__init__.py b/pytest_splunk_addon/standard_lib/cim_tests/__init__.py index e092da543..aadfac6ca 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/__init__.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/base_schema.py b/pytest_splunk_addon/standard_lib/cim_tests/base_schema.py index 87ee39a62..578fdc8e6 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/base_schema.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/base_schema.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/data_model.py b/pytest_splunk_addon/standard_lib/cim_tests/data_model.py index 816db2e30..49efdad75 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/data_model.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/data_model.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/data_model_handler.py b/pytest_splunk_addon/standard_lib/cim_tests/data_model_handler.py index b46a4721f..e8dc4f589 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/data_model_handler.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/data_model_handler.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/data_set.py b/pytest_splunk_addon/standard_lib/cim_tests/data_set.py index 3012ea923..a79ce6021 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/data_set.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/data_set.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/field_test_adapter.py b/pytest_splunk_addon/standard_lib/cim_tests/field_test_adapter.py index e6e430938..354412079 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/field_test_adapter.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/field_test_adapter.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/field_test_helper.py b/pytest_splunk_addon/standard_lib/cim_tests/field_test_helper.py index 516d4c4cd..28e307dba 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/field_test_helper.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/field_test_helper.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/json_schema.py b/pytest_splunk_addon/standard_lib/cim_tests/json_schema.py index c60d4e922..b3792587a 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/json_schema.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/json_schema.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/test_generator.py b/pytest_splunk_addon/standard_lib/cim_tests/test_generator.py index 669d87390..b61cbf398 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/test_generator.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/test_generator.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/cim_tests/test_templates.py b/pytest_splunk_addon/standard_lib/cim_tests/test_templates.py index d6d50c921..5324c1015 100644 --- a/pytest_splunk_addon/standard_lib/cim_tests/test_templates.py +++ b/pytest_splunk_addon/standard_lib/cim_tests/test_templates.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/event_ingestors/__init__.py b/pytest_splunk_addon/standard_lib/event_ingestors/__init__.py index 8fd407003..ada3ba3e2 100644 --- a/pytest_splunk_addon/standard_lib/event_ingestors/__init__.py +++ b/pytest_splunk_addon/standard_lib/event_ingestors/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/event_ingestors/base_event_ingestor.py b/pytest_splunk_addon/standard_lib/event_ingestors/base_event_ingestor.py index 37784978d..2b6df0d0e 100644 --- a/pytest_splunk_addon/standard_lib/event_ingestors/base_event_ingestor.py +++ b/pytest_splunk_addon/standard_lib/event_ingestors/base_event_ingestor.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/event_ingestors/file_monitor_ingestor.py b/pytest_splunk_addon/standard_lib/event_ingestors/file_monitor_ingestor.py index a34595c7d..2a17fa309 100644 --- a/pytest_splunk_addon/standard_lib/event_ingestors/file_monitor_ingestor.py +++ b/pytest_splunk_addon/standard_lib/event_ingestors/file_monitor_ingestor.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/event_ingestors/hec_event_ingestor.py b/pytest_splunk_addon/standard_lib/event_ingestors/hec_event_ingestor.py index d124dc687..b7fb8ae8e 100644 --- a/pytest_splunk_addon/standard_lib/event_ingestors/hec_event_ingestor.py +++ b/pytest_splunk_addon/standard_lib/event_ingestors/hec_event_ingestor.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/event_ingestors/hec_metric_ingestor.py b/pytest_splunk_addon/standard_lib/event_ingestors/hec_metric_ingestor.py index ab4261387..4f53b124d 100644 --- a/pytest_splunk_addon/standard_lib/event_ingestors/hec_metric_ingestor.py +++ b/pytest_splunk_addon/standard_lib/event_ingestors/hec_metric_ingestor.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/event_ingestors/hec_raw_ingestor.py b/pytest_splunk_addon/standard_lib/event_ingestors/hec_raw_ingestor.py index 92e4f2574..8df4ceccc 100644 --- a/pytest_splunk_addon/standard_lib/event_ingestors/hec_raw_ingestor.py +++ b/pytest_splunk_addon/standard_lib/event_ingestors/hec_raw_ingestor.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/event_ingestors/ingestor_helper.py b/pytest_splunk_addon/standard_lib/event_ingestors/ingestor_helper.py index c6de567af..e11c8917e 100644 --- a/pytest_splunk_addon/standard_lib/event_ingestors/ingestor_helper.py +++ b/pytest_splunk_addon/standard_lib/event_ingestors/ingestor_helper.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/event_ingestors/sc4s_event_ingestor.py b/pytest_splunk_addon/standard_lib/event_ingestors/sc4s_event_ingestor.py index 4534b806b..46db13aa7 100644 --- a/pytest_splunk_addon/standard_lib/event_ingestors/sc4s_event_ingestor.py +++ b/pytest_splunk_addon/standard_lib/event_ingestors/sc4s_event_ingestor.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/fields_tests/__init__.py b/pytest_splunk_addon/standard_lib/fields_tests/__init__.py index 62f9301d0..2b3ab9b8d 100644 --- a/pytest_splunk_addon/standard_lib/fields_tests/__init__.py +++ b/pytest_splunk_addon/standard_lib/fields_tests/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/fields_tests/field_bank.py b/pytest_splunk_addon/standard_lib/fields_tests/field_bank.py index a9ea2870a..fa6eac05a 100644 --- a/pytest_splunk_addon/standard_lib/fields_tests/field_bank.py +++ b/pytest_splunk_addon/standard_lib/fields_tests/field_bank.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/fields_tests/requirement_test_datamodel_tag_constants.py b/pytest_splunk_addon/standard_lib/fields_tests/requirement_test_datamodel_tag_constants.py index 77b14c9fc..6cee7b555 100644 --- a/pytest_splunk_addon/standard_lib/fields_tests/requirement_test_datamodel_tag_constants.py +++ b/pytest_splunk_addon/standard_lib/fields_tests/requirement_test_datamodel_tag_constants.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/fields_tests/sample_parser.py b/pytest_splunk_addon/standard_lib/fields_tests/sample_parser.py index 45c882b6c..52b2b7335 100644 --- a/pytest_splunk_addon/standard_lib/fields_tests/sample_parser.py +++ b/pytest_splunk_addon/standard_lib/fields_tests/sample_parser.py @@ -1,17 +1,18 @@ -# Copyright 2022 Splunk Inc. +# +# Copyright 2024 Splunk 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 +# 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. - +# import logging import re import os diff --git a/pytest_splunk_addon/standard_lib/fields_tests/test_generator.py b/pytest_splunk_addon/standard_lib/fields_tests/test_generator.py index 30e57d16c..85374d4b2 100644 --- a/pytest_splunk_addon/standard_lib/fields_tests/test_generator.py +++ b/pytest_splunk_addon/standard_lib/fields_tests/test_generator.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/fields_tests/test_templates.py b/pytest_splunk_addon/standard_lib/fields_tests/test_templates.py index 5adf58ac1..109ab77a2 100644 --- a/pytest_splunk_addon/standard_lib/fields_tests/test_templates.py +++ b/pytest_splunk_addon/standard_lib/fields_tests/test_templates.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/index_tests/__init__.py b/pytest_splunk_addon/standard_lib/index_tests/__init__.py index 3b8486f54..6b94a365f 100644 --- a/pytest_splunk_addon/standard_lib/index_tests/__init__.py +++ b/pytest_splunk_addon/standard_lib/index_tests/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/index_tests/key_fields.py b/pytest_splunk_addon/standard_lib/index_tests/key_fields.py index f1d34c7e2..3d44d2f2f 100644 --- a/pytest_splunk_addon/standard_lib/index_tests/key_fields.py +++ b/pytest_splunk_addon/standard_lib/index_tests/key_fields.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/index_tests/test_generator.py b/pytest_splunk_addon/standard_lib/index_tests/test_generator.py index 4b5bff4ad..ae989990c 100644 --- a/pytest_splunk_addon/standard_lib/index_tests/test_generator.py +++ b/pytest_splunk_addon/standard_lib/index_tests/test_generator.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/index_tests/test_templates.py b/pytest_splunk_addon/standard_lib/index_tests/test_templates.py index 98186480a..84c5729b5 100644 --- a/pytest_splunk_addon/standard_lib/index_tests/test_templates.py +++ b/pytest_splunk_addon/standard_lib/index_tests/test_templates.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/sample_generation/__init__.py b/pytest_splunk_addon/standard_lib/sample_generation/__init__.py index ef65f346a..d058bc2f9 100644 --- a/pytest_splunk_addon/standard_lib/sample_generation/__init__.py +++ b/pytest_splunk_addon/standard_lib/sample_generation/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/sample_generation/pytest_splunk_addon_data_parser.py b/pytest_splunk_addon/standard_lib/sample_generation/pytest_splunk_addon_data_parser.py index 42ab1d365..738c2ba65 100644 --- a/pytest_splunk_addon/standard_lib/sample_generation/pytest_splunk_addon_data_parser.py +++ b/pytest_splunk_addon/standard_lib/sample_generation/pytest_splunk_addon_data_parser.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/sample_generation/rule.py b/pytest_splunk_addon/standard_lib/sample_generation/rule.py index f09719caa..fc7687142 100644 --- a/pytest_splunk_addon/standard_lib/sample_generation/rule.py +++ b/pytest_splunk_addon/standard_lib/sample_generation/rule.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/sample_generation/sample_event.py b/pytest_splunk_addon/standard_lib/sample_generation/sample_event.py index cb02d9fb0..01cbb8680 100644 --- a/pytest_splunk_addon/standard_lib/sample_generation/sample_event.py +++ b/pytest_splunk_addon/standard_lib/sample_generation/sample_event.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/sample_generation/sample_generator.py b/pytest_splunk_addon/standard_lib/sample_generation/sample_generator.py index 72b724aa1..fb6d3a230 100644 --- a/pytest_splunk_addon/standard_lib/sample_generation/sample_generator.py +++ b/pytest_splunk_addon/standard_lib/sample_generation/sample_generator.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/sample_generation/sample_stanza.py b/pytest_splunk_addon/standard_lib/sample_generation/sample_stanza.py index cb2e4706b..55d7cfce9 100644 --- a/pytest_splunk_addon/standard_lib/sample_generation/sample_stanza.py +++ b/pytest_splunk_addon/standard_lib/sample_generation/sample_stanza.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/sample_generation/sample_xdist_generator.py b/pytest_splunk_addon/standard_lib/sample_generation/sample_xdist_generator.py index e884637be..6a69642a2 100644 --- a/pytest_splunk_addon/standard_lib/sample_generation/sample_xdist_generator.py +++ b/pytest_splunk_addon/standard_lib/sample_generation/sample_xdist_generator.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/sample_generation/time_parser.py b/pytest_splunk_addon/standard_lib/sample_generation/time_parser.py index 0a18714a5..e9d67ec0a 100644 --- a/pytest_splunk_addon/standard_lib/sample_generation/time_parser.py +++ b/pytest_splunk_addon/standard_lib/sample_generation/time_parser.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/utilities/__init__.py b/pytest_splunk_addon/standard_lib/utilities/__init__.py index 209305094..a604b589c 100644 --- a/pytest_splunk_addon/standard_lib/utilities/__init__.py +++ b/pytest_splunk_addon/standard_lib/utilities/__init__.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/utilities/junit_parser.py b/pytest_splunk_addon/standard_lib/utilities/junit_parser.py index 7050979dc..e4e53b06a 100644 --- a/pytest_splunk_addon/standard_lib/utilities/junit_parser.py +++ b/pytest_splunk_addon/standard_lib/utilities/junit_parser.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/utilities/log_helper.py b/pytest_splunk_addon/standard_lib/utilities/log_helper.py index 234b54f18..b309a9266 100644 --- a/pytest_splunk_addon/standard_lib/utilities/log_helper.py +++ b/pytest_splunk_addon/standard_lib/utilities/log_helper.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/utilities/sample_splitter.py b/pytest_splunk_addon/standard_lib/utilities/sample_splitter.py index 6972a36ae..2e1a2b430 100644 --- a/pytest_splunk_addon/standard_lib/utilities/sample_splitter.py +++ b/pytest_splunk_addon/standard_lib/utilities/sample_splitter.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/standard_lib/utilities/xml_event_parser.py b/pytest_splunk_addon/standard_lib/utilities/xml_event_parser.py index b1460dd3d..d1ef03969 100644 --- a/pytest_splunk_addon/standard_lib/utilities/xml_event_parser.py +++ b/pytest_splunk_addon/standard_lib/utilities/xml_event_parser.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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, diff --git a/pytest_splunk_addon/tools/cim_field_report.py b/pytest_splunk_addon/tools/cim_field_report.py index b44787d15..f9d24560b 100644 --- a/pytest_splunk_addon/tools/cim_field_report.py +++ b/pytest_splunk_addon/tools/cim_field_report.py @@ -1,11 +1,11 @@ # -# Copyright 2021 Splunk Inc. +# Copyright 2024 Splunk 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 +# 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,