From b8d3bc5e2564b5590006b6d603b18f2e5760961f Mon Sep 17 00:00:00 2001 From: idimov-keeper <78815270+idimov-keeper@users.noreply.github.com> Date: Mon, 13 May 2024 18:06:45 -0500 Subject: [PATCH 1/8] KSM-510 Update ansible plugin to use latest ksm sdk (#599) * KSM-510 Updated pinned KSM SDK version to 16.6.4 * Updated README --- .../keeper_secrets_manager_ansible/README.md | 15 +++++++++------ .../keeper_secrets_manager/README.md | 15 +++++++++------ .../tower_execution_environment/requirements.txt | 2 +- .../requirements.txt | 2 +- .../keeper_secrets_manager_ansible/setup.py | 4 ++-- 5 files changed, 22 insertions(+), 16 deletions(-) diff --git a/integration/keeper_secrets_manager_ansible/README.md b/integration/keeper_secrets_manager_ansible/README.md index 92e9ba01..6a899f8d 100644 --- a/integration/keeper_secrets_manager_ansible/README.md +++ b/integration/keeper_secrets_manager_ansible/README.md @@ -19,25 +19,28 @@ For more information see our official documentation page https://docs.keeper.io/ # Changes +## 1.2.3 +* Updated pinned KSM SDK version to 16.6.4. + ## 1.2.2 -* Add action `keeper_get_record` to return record as a dictionary. +* Added action `keeper_get_record` to return record as a dictionary. * Clean up comments. -* Update pinned KSM SDK version to 16.6.3. +* Updated pinned KSM SDK version to 16.6.3. ## 1.2.1 -* Add action `keeper_remove` to remove secrets from the Keeper Vault -* Update pinned KSM SDK version to 16.6.2. +* Added action `keeper_remove` to remove secrets from the Keeper Vault +* Updated pinned KSM SDK version to 16.6.2. ## 1.2.0 * Added action `keeper_cache_records` to cache Keeper Vault records to reduce API calls. * Added ability to get records by title for some actions. * Added `array_index` and `value_key` to access individual values in complex values. Alternative to `notation`. -* Update pinned KSM SDK version. +* Updated pinned KSM SDK version. ## 1.1.5 -* Update pinned KSM SDK version. The KSM SDK has been updated to use OpenSSL 3.0.7 which resolves CVE-2022-3602, CVE-2022-3786. +* Updated pinned KSM SDK version. The KSM SDK has been updated to use OpenSSL 3.0.7 which resolves CVE-2022-3602, CVE-2022-3786. ## 1.1.4 diff --git a/integration/keeper_secrets_manager_ansible/ansible_galaxy/keepersecurity/keeper_secrets_manager/README.md b/integration/keeper_secrets_manager_ansible/ansible_galaxy/keepersecurity/keeper_secrets_manager/README.md index 4f9cce81..98d23d8d 100644 --- a/integration/keeper_secrets_manager_ansible/ansible_galaxy/keepersecurity/keeper_secrets_manager/README.md +++ b/integration/keeper_secrets_manager_ansible/ansible_galaxy/keepersecurity/keeper_secrets_manager/README.md @@ -119,25 +119,28 @@ configuration file or even a playbook. # Changes +## 1.2.3 +* Updated pinned KSM SDK version to 16.6.4. + ## 1.2.2 -* Add action `keeper_get_record` to return entire record as dictionary. +* Added action `keeper_get_record` to return entire record as dictionary. * Clean up comments in code. -* Update pinned KSM SDK version to 16.6.3. +* Updated pinned KSM SDK version to 16.6.3. ## 1.2.1 -* Add action `keeper_remove` to remove secrets from the Keeper Vault. -* Update pinned KSM SDK version to 16.6.2. +* Added action `keeper_remove` to remove secrets from the Keeper Vault. +* Updated pinned KSM SDK version to 16.6.2. ## 1.2.0 * Added action `keeper_cache_records` to cache Keeper Vault records to reduce API calls. * Added ability to get records by title for some actions. * Added `array_index` and `value_key` to access individual values in complex values. Alternative to `notation`. -* Update pinned KSM SDK version. +* Updated pinned KSM SDK version. ## 1.1.5 -* Update pinned KSM SDK version. The KSM SDK has been updated to use OpenSSL 3.0.7 which resolves CVE-2022-3602, CVE-2022-3786. +* Updated pinned KSM SDK version. The KSM SDK has been updated to use OpenSSL 3.0.7 which resolves CVE-2022-3602, CVE-2022-3786. ## 1.1.4 diff --git a/integration/keeper_secrets_manager_ansible/ansible_galaxy/tower_execution_environment/requirements.txt b/integration/keeper_secrets_manager_ansible/ansible_galaxy/tower_execution_environment/requirements.txt index 0addcc35..9e210a51 100644 --- a/integration/keeper_secrets_manager_ansible/ansible_galaxy/tower_execution_environment/requirements.txt +++ b/integration/keeper_secrets_manager_ansible/ansible_galaxy/tower_execution_environment/requirements.txt @@ -1,3 +1,3 @@ importlib_metadata -keeper-secrets-manager-core>=16.6.3 +keeper-secrets-manager-core>=16.6.4 keeper-secrets-manager-helper \ No newline at end of file diff --git a/integration/keeper_secrets_manager_ansible/requirements.txt b/integration/keeper_secrets_manager_ansible/requirements.txt index bc24d5e2..b173ebc3 100644 --- a/integration/keeper_secrets_manager_ansible/requirements.txt +++ b/integration/keeper_secrets_manager_ansible/requirements.txt @@ -1,4 +1,4 @@ ansible importlib_metadata -keeper-secrets-manager-core>=16.6.3 +keeper-secrets-manager-core>=16.6.4 keeper-secrets-manager-helper diff --git a/integration/keeper_secrets_manager_ansible/setup.py b/integration/keeper_secrets_manager_ansible/setup.py index 8a708175..b096325a 100644 --- a/integration/keeper_secrets_manager_ansible/setup.py +++ b/integration/keeper_secrets_manager_ansible/setup.py @@ -9,7 +9,7 @@ long_description = fp.read() install_requires = [ - 'keeper-secrets-manager-core>=16.6.2', + 'keeper-secrets-manager-core>=16.6.4', 'keeper-secrets-manager-helper', 'importlib_metadata', 'ansible' @@ -17,7 +17,7 @@ setup( name="keeper-secrets-manager-ansible", - version='1.2.2', + version='1.2.3', description="Keeper Secrets Manager plugins for Ansible.", long_description=long_description, long_description_content_type="text/markdown", From 95e7d4dccd7b980a2d675b2e636c4a10c365d5cf Mon Sep 17 00:00:00 2001 From: Max Ustinov Date: Mon, 13 May 2024 17:01:23 -0700 Subject: [PATCH 2/8] GHA: Added Python 3.12 to tests --- .github/workflows/test.ansible.yml | 2 +- .github/workflows/test.cli.yml | 2 +- .github/workflows/test.python.helper.yml | 2 +- .github/workflows/test.python.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.ansible.yml b/.github/workflows/test.ansible.yml index 656cf319..3006daf7 100644 --- a/.github/workflows/test.ansible.yml +++ b/.github/workflows/test.ansible.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test.cli.yml b/.github/workflows/test.cli.yml index 5b371595..fe82ea57 100644 --- a/.github/workflows/test.cli.yml +++ b/.github/workflows/test.cli.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test.python.helper.yml b/.github/workflows/test.python.helper.yml index 306cbc0a..2c0c3d5a 100644 --- a/.github/workflows/test.python.helper.yml +++ b/.github/workflows/test.python.helper.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test.python.yml b/.github/workflows/test.python.yml index be0a95fc..de081bfc 100644 --- a/.github/workflows/test.python.yml +++ b/.github/workflows/test.python.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] defaults: run: From a359d74aa91759692422eb553b15f6409969a346 Mon Sep 17 00:00:00 2001 From: idimov-keeper <78815270+idimov-keeper@users.noreply.github.com> Date: Tue, 14 May 2024 12:20:19 -0500 Subject: [PATCH 3/8] Update test.python.yml --- .github/workflows/test.python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.python.yml b/.github/workflows/test.python.yml index de081bfc..67277bfe 100644 --- a/.github/workflows/test.python.yml +++ b/.github/workflows/test.python.yml @@ -24,7 +24,7 @@ jobs: run: | python3 -m pip install --upgrade pip python3 -m pip install -r requirements.txt - python3 -m pip install pytest pytest-cov + python3 -m pip install pytest pytest-cov setuptools python3 -m pip install -e . - name: Run tests run: | From dae3bfe73f26e49d1492dca6c91ebf46ab083694 Mon Sep 17 00:00:00 2001 From: idimov-keeper <78815270+idimov-keeper@users.noreply.github.com> Date: Tue, 14 May 2024 12:21:48 -0500 Subject: [PATCH 4/8] Update test.cli.yml --- .github/workflows/test.cli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.cli.yml b/.github/workflows/test.cli.yml index fe82ea57..93823950 100644 --- a/.github/workflows/test.cli.yml +++ b/.github/workflows/test.cli.yml @@ -52,7 +52,7 @@ jobs: working-directory: ./integration/keeper_secrets_manager_cli run: | python3 -m pip install -r requirements.txt - python3 -m pip install pytest pytest-cov + python3 -m pip install pytest pytest-cov setuptools - name: Run CLI tests working-directory: ./integration/keeper_secrets_manager_cli From 5e0bd74716d53c60fdf86a624b09275901099c0d Mon Sep 17 00:00:00 2001 From: idimov-keeper <78815270+idimov-keeper@users.noreply.github.com> Date: Tue, 14 May 2024 12:22:10 -0500 Subject: [PATCH 5/8] Update test.python.helper.yml --- .github/workflows/test.python.helper.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.python.helper.yml b/.github/workflows/test.python.helper.yml index 2c0c3d5a..1523ddc7 100644 --- a/.github/workflows/test.python.helper.yml +++ b/.github/workflows/test.python.helper.yml @@ -38,7 +38,7 @@ jobs: working-directory: ./sdk/python/helper run: | python3 -m pip install -r requirements.txt - python3 -m pip install pytest pytest-cov + python3 -m pip install pytest pytest-cov setuptools - name: Run CLI tests working-directory: ./sdk/python/helper From 1399e24fb13ab711ed2a533f3e3373e99643d759 Mon Sep 17 00:00:00 2001 From: idimov-keeper <78815270+idimov-keeper@users.noreply.github.com> Date: Tue, 14 May 2024 12:26:37 -0500 Subject: [PATCH 6/8] Update test.python.helper.yml --- .github/workflows/test.python.helper.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.python.helper.yml b/.github/workflows/test.python.helper.yml index 1523ddc7..24be36da 100644 --- a/.github/workflows/test.python.helper.yml +++ b/.github/workflows/test.python.helper.yml @@ -24,6 +24,7 @@ jobs: working-directory: ./sdk/python/core run: | python3 -m pip install --upgrade pip + python3 -m pip install setuptools python3 -m pip install -r requirements.txt python3 -m pip install -e . @@ -38,7 +39,7 @@ jobs: working-directory: ./sdk/python/helper run: | python3 -m pip install -r requirements.txt - python3 -m pip install pytest pytest-cov setuptools + python3 -m pip install pytest pytest-cov - name: Run CLI tests working-directory: ./sdk/python/helper From 9bf4c976ee91c2fb094a2d71c7ead212c1f32b7f Mon Sep 17 00:00:00 2001 From: idimov-keeper <78815270+idimov-keeper@users.noreply.github.com> Date: Tue, 14 May 2024 12:27:51 -0500 Subject: [PATCH 7/8] Update test.cli.yml --- .github/workflows/test.cli.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.cli.yml b/.github/workflows/test.cli.yml index 93823950..2df1a580 100644 --- a/.github/workflows/test.cli.yml +++ b/.github/workflows/test.cli.yml @@ -24,6 +24,7 @@ jobs: working-directory: ./sdk/python/core run: | python3 -m pip install --upgrade pip + python3 -m pip install setuptools python3 -m pip install -r requirements.txt python3 -m pip install -e . @@ -52,7 +53,7 @@ jobs: working-directory: ./integration/keeper_secrets_manager_cli run: | python3 -m pip install -r requirements.txt - python3 -m pip install pytest pytest-cov setuptools + python3 -m pip install pytest pytest-cov - name: Run CLI tests working-directory: ./integration/keeper_secrets_manager_cli From 3cc8685267f2079858c68f134cea0ca5d62fb73e Mon Sep 17 00:00:00 2001 From: idimov-keeper <78815270+idimov-keeper@users.noreply.github.com> Date: Tue, 14 May 2024 12:29:47 -0500 Subject: [PATCH 8/8] Update test.ansible.yml --- .github/workflows/test.ansible.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.ansible.yml b/.github/workflows/test.ansible.yml index 3006daf7..75119ed0 100644 --- a/.github/workflows/test.ansible.yml +++ b/.github/workflows/test.ansible.yml @@ -24,6 +24,7 @@ jobs: working-directory: ./sdk/python/core run: | python3 -m pip install --upgrade pip + python3 -m pip install setuptools python3 -m pip install -r requirements.txt python3 -m pip install -e .