Skip to content

Commit 9b8ffed

Browse files
jerichardson-r7rbowden-r7
authored andcommitted
[PLGN-638]- improve debugging and update sdk in okta (#2211)
[PLGN-638]- fix checksum
1 parent 9980fdd commit 9b8ffed

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

plugins/okta/.CHECKSUM

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"spec": "4fa8814f7a1dad536a21d7e9de9751c6",
3-
"manifest": "447e9671154a8344ca38101005070c84",
4-
"setup": "104b67f143c716178e8c47921d6b4e0b",
2+
"spec": "16585b9954c98b43c8b716da02c82014",
3+
"manifest": "3b21e09f89cbafd960e877f73954804e",
4+
"setup": "0cbd3707da4cff30d5498e25e1f1bfe1",
55
"schemas": [
66
{
77
"identifier": "add_user_to_group/schema.py",

plugins/okta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rapid7/insightconnect-python-3-38-slim-plugin:5
1+
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:5
22

33
LABEL organization=rapid7
44
LABEL sdk=python

plugins/okta/bin/komand_okta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from sys import argv
66

77
Name = "Okta"
88
Vendor = "rapid7"
9-
Version = "4.2.2"
9+
Version = "4.2.3"
1010
Description = "Secure identity management and single sign-on to any application"
1111

1212

plugins/okta/help.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,6 +1612,7 @@ by Okta themselves, or constructed by the plugin based on the information it has
16121612

16131613
# Version History
16141614

1615+
* 4.2.3 - Monitor Logs task: Added exception logging and use latest plugin SDK.
16151616
* 4.2.2 - Monitor Logs task: log deduplication only applied when querying Okta using since and until parameters.
16161617
* 4.2.1 - Monitor Logs task: filter previously returned log events | only update time checkpoint when an event is returned | update timestamp format | set cutoff time of 24 hours.
16171618
* 4.2.0 - Monitor Logs task: return raw logs data without cleaning and use last log time as checkpoint in time for next run.

plugins/okta/komand_okta/tasks/monitor_logs/task.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ def run(self, params={}, state={}): # pylint: disable=unused-argument
6464
state[self.LAST_COLLECTION_TIMESTAMP] = self.get_last_collection_timestamp(new_logs, state)
6565
return new_logs, state, has_more_pages, 200, None
6666
except ApiException as error:
67+
self.logger.info(f"An API Exception has been raised. Status code: {error.status_code}. Error: {error}")
6768
return [], state, False, error.status_code, error
6869
except Exception as error:
70+
self.logger.info(f"An Exception has been raised. Error: {error}")
6971
return [], state, False, 500, PluginException(preset=PluginException.Preset.UNKNOWN, data=error)
7072

7173
@staticmethod

plugins/okta/plugin.spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sdk:
1313
version: 5
1414
user: nobody
1515
description: Secure identity management and single sign-on to any application
16-
version: 4.2.2
16+
version: 4.2.3
1717
connection_version: 4
1818
resources:
1919
source_url: https://github.com/rapid7/insightconnect-plugins/tree/master/plugins/okta

plugins/okta/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
setup(name="okta-rapid7-plugin",
6-
version="4.2.2",
6+
version="4.2.3",
77
description="Secure identity management and single sign-on to any application",
88
author="rapid7",
99
author_email="",

0 commit comments

Comments
 (0)