Skip to content

Commit

Permalink
SDK BUMP TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
komandci-automate-github-pr committed Feb 7, 2025
1 parent 22be3f9 commit 8a1afda
Show file tree
Hide file tree
Showing 7 changed files with 251 additions and 123 deletions.
6 changes: 3 additions & 3 deletions plugins/duo_admin/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"spec": "814e81dd40fcf4d884c984e0c451201e",
"manifest": "b4029998fe0d9bcc85c8016d009d19b3",
"setup": "5965f3fd331d7855550e5afad6ea8956",
"spec": "6554f118b6f26514129c2f9797a3cf09",
"manifest": "ae25e6d0ab8cb7b56e1d43b5d1cf127e",
"setup": "3b2020838b4f085f61e89e023df71dbc",
"schemas": [
{
"identifier": "add_user/schema.py",
Expand Down
4 changes: 2 additions & 2 deletions plugins/duo_admin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-plugin:6.2.3
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-plugin:6.2.4

LABEL organization=rapid7
LABEL sdk=python
Expand All @@ -12,7 +12,7 @@ RUN if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

ADD . /python/src

RUN python setup.py build && python setup.py install
RUN pip install .

# User to run plugin code. The two supported users are: root, nobody
USER nobody
Expand Down
2 changes: 1 addition & 1 deletion plugins/duo_admin/bin/komand_duo_admin
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from sys import argv

Name = "Duo Admin API"
Vendor = "rapid7"
Version = "5.0.3"
Version = "5.0.4"
Description = "[Duo](https://duo.com/)'s Trusted Access platform verifies the identity of your users with two-factor authentication and security health of their devices before they connect to the apps they use. Using the Duo plugin for InsightConnect will allow Duo user management within automation workflows"


Expand Down
1 change: 1 addition & 0 deletions plugins/duo_admin/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,7 @@ Example output:

# Version History

* 5.0.4 - Updated SDK to the latest version (6.2.4)
* 5.0.3 - Bump the SDK to version 6.2.3 | Update Task `monitor_logs` to delay retry if a rate limit error is returned from Duo Admin
* 5.0.2 - Updated SDK to the latest version (v6.2.2) | Address vulnerabilities
* 5.0.1 - Update to enable Plugin as FedRAMP ready | Update SDK (`6.1.2`)
Expand Down
6 changes: 3 additions & 3 deletions plugins/duo_admin/komand_duo_admin/tasks/monitor_logs/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ def run(self, params={}, state={}, custom_config={}): # noqa: C901
self.logger.info(
f"Backwards compatibility - update all timestamps to the last known timestamp {last_collection_timestamp}"
)
trust_monitor_last_log_timestamp = (
auth_logs_last_log_timestamp
) = admin_logs_last_log_timestamp = last_collection_timestamp
trust_monitor_last_log_timestamp = auth_logs_last_log_timestamp = admin_logs_last_log_timestamp = (
last_collection_timestamp
)
# Update the old last collection timestamp to None so it is not considered in future runs
state[self.LAST_COLLECTION_TIMESTAMP] = None
backward_comp_first_run = True
Expand Down
353 changes: 240 additions & 113 deletions plugins/duo_admin/plugin.spec.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugins/duo_admin/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


setup(name="duo_admin-rapid7-plugin",
version="5.0.3",
version="5.0.4",
description="[Duo](https://duo.com/)'s Trusted Access platform verifies the identity of your users with two-factor authentication and security health of their devices before they connect to the apps they use. Using the Duo plugin for InsightConnect will allow Duo user management within automation workflows",
author="rapid7",
author_email="",
Expand Down

0 comments on commit 8a1afda

Please sign in to comment.