Skip to content

Commit

Permalink
[PLGN-240] Okta 4.0.0 release (#1844)
Browse files Browse the repository at this point in the history
* [MC-1452] Update Okta plugin (#1733)

* [MC-1452] Update Okta plugin

* [MC-1452] Fixed test

* [MC-1452] Fix prospector

* [MC-1452] Update help.md

* [MC-1452] Update SDK image to latest version

* [MC-1452] Update unit tests for task

---------

Co-authored-by: Cyprian Dankowski <[email protected]>

* [MC-1452] Return status code in Monitor Logs task in Okta plugin (#1764)

* [MC-1452] Return status code in Monitor Logs task

* [MC-1452] Update exceptions in api.py

* [MC-1452] Fix prospector

* [MC-1452] Use logger instance

* [MC-1452] Set Okta plugin as cloud enabled (#1816)

* [MC-1452] Set Okta plugin as cloud enabled

* [MC-1452] Set enable_cache to false in plugin spec

* [MC-1452] Update help.md

* [MC-1452] Update pagination in Monitor Logs task in Okta plugin (#1838)

* [MC-1452] Update pagination in Monitor Logs task in Okta plugin

* [MC-1452] Update unit tests

* [MC-1452] Add connection_version field in plugin spec (#1841)

---------

Co-authored-by: dsliwinski-r7 <[email protected]>
Co-authored-by: Cyprian Dankowski <[email protected]>
  • Loading branch information
3 people authored Jun 14, 2023
1 parent 39960a7 commit 829d3b9
Show file tree
Hide file tree
Showing 190 changed files with 13,152 additions and 2,619 deletions.
44 changes: 24 additions & 20 deletions plugins/okta/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,75 +1,79 @@
{
"spec": "84061229dbd492411f2909688a3fe3e9",
"manifest": "f5ecb1d27978f856ffe7dbbcd17bc9f6",
"setup": "81061693de37ca0ad2ece9a8ed049209",
"spec": "9ec8453550d2a29beab0fcdb5cd52686",
"manifest": "fb1b6f25513827d34bdabcfbf38680eb",
"setup": "4abfa1f9cf415274a4cb277e4fe8ff4c",
"schemas": [
{
"identifier": "add_user_to_group/schema.py",
"hash": "2f182057461654f58f8ccf74cd0780ba"
"hash": "91662d9d59822da35c44545b6ed2f882"
},
{
"identifier": "assign_user_to_app_sso/schema.py",
"hash": "70d73e12fb323a5f1a88de381a016d49"
"hash": "18caa1ac0905f01f2e77bdfd8470519e"
},
{
"identifier": "create_user/schema.py",
"hash": "578c665e836442dd8f18abebd4481380"
"hash": "da7db24c13fb118b9294d0766fa3cb95"
},
{
"identifier": "deactivate_user/schema.py",
"hash": "6742054ef385936bf5989b25356ec62e"
"hash": "280f16d9c14c50e58d563bfc9bd82f03"
},
{
"identifier": "delete_user/schema.py",
"hash": "45cb3c3622d55f3e78ae2f5cedac3b75"
"hash": "28eec1b021b8050db587c2a5c538e666"
},
{
"identifier": "get_factors/schema.py",
"hash": "a1896d68c1c99b7795c0109faeedcbd5"
"hash": "91411c7293bb6524bf70240c51b51980"
},
{
"identifier": "get_user/schema.py",
"hash": "a31c8d8b90fc66006a37f748fed36c8f"
"hash": "40a6ddb783cb4623440533f3bd655077"
},
{
"identifier": "list_groups/schema.py",
"hash": "935dc1d6162dc29c24fd224668b4552f"
"hash": "0b2045fc842b3287282495245dffb828"
},
{
"identifier": "remove_user_from_group/schema.py",
"hash": "7dd210127b90c220431672d10b1f0801"
"hash": "47018c16aaa9d293ffba17bb847b18ba"
},
{
"identifier": "reset_factors/schema.py",
"hash": "7051e1a894b1a309e62b5ec118abe4b8"
"hash": "07cd339352a5ea92da2425323e669be5"
},
{
"identifier": "reset_password/schema.py",
"hash": "508d0fa3ed56c5cfbaa2a26ade1733d7"
"hash": "4f038d726286687f1eb4ad011160ab32"
},
{
"identifier": "send_push/schema.py",
"hash": "78caee720226e944c8fb997f60dc4843"
"hash": "eb62a0d25719df416528451d479c4650"
},
{
"identifier": "suspend_user/schema.py",
"hash": "f59d4b691fea385fd301029241e6a77a"
"hash": "26a7036b95ca31887569450392195a39"
},
{
"identifier": "unsuspend_user/schema.py",
"hash": "ab62ae562b35b25fe96493ee49bf0cdd"
"hash": "deac92c4f62cd41cd3100d9b4eadd098"
},
{
"identifier": "update_blacklist_zones/schema.py",
"hash": "b9b32e17a9f26153a16b258dc9ec97ce"
"hash": "953e42c9f1d4e27e73f11c090f44dc18"
},
{
"identifier": "connection/schema.py",
"hash": "bfa42ee8af8ffff15a607a85326e9e11"
"hash": "7120339fe0deafaa7ddced715e020448"
},
{
"identifier": "monitor_logs/schema.py",
"hash": "5142641f6395c2730cc0222aba1d609e"
},
{
"identifier": "users_added_removed_from_group/schema.py",
"hash": "520df88feacc02d2bae4d7c04d513eaa"
"hash": "e4cb571d2891f13b929b1db6f9e43043"
}
]
}
2 changes: 1 addition & 1 deletion plugins/okta/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM komand/python-3-37-slim-plugin:3
FROM rapid7/insightconnect-python-3-38-plugin:5

# Add source code
WORKDIR /python/src
Expand Down
12 changes: 7 additions & 5 deletions plugins/okta/bin/komand_okta
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from sys import argv

Name = "Okta"
Vendor = "rapid7"
Version = "3.6.3"
Version = "4.0.0"
Description = "Secure identity management and single sign-on to any application"


Expand All @@ -22,10 +22,10 @@ def main():
from gevent import monkey
monkey.patch_all()

import komand
from komand_okta import connection, actions, triggers
import insightconnect_plugin_runtime
from komand_okta import connection, actions, triggers, tasks

class ICONOkta(komand.Plugin):
class ICONOkta(insightconnect_plugin_runtime.Plugin):
def __init__(self):
super(self.__class__, self).__init__(
name=Name,
Expand Down Expand Up @@ -66,9 +66,11 @@ def main():

self.add_action(actions.UpdateBlacklistZones())

self.add_task(tasks.MonitorLogs())


"""Run plugin"""
cli = komand.CLI(ICONOkta())
cli = insightconnect_plugin_runtime.CLI(ICONOkta())
cli.run()


Expand Down
Loading

0 comments on commit 829d3b9

Please sign in to comment.