Skip to content

Commit

Permalink
Okta 4.2.10 (#2728)
Browse files Browse the repository at this point in the history
* Okta 4.2.10

* Fix sca & update help.md with vh

* Change wording of logging
  • Loading branch information
cmcnally-r7 authored and ablakley-r7 committed Aug 27, 2024
1 parent 9b43246 commit 97f9f84
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
6 changes: 3 additions & 3 deletions plugins/okta/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"spec": "a9a2aacf5cad511f44d123437623fc0c",
"manifest": "776a43f35f3c6c84ede0c4f661c46fa7",
"setup": "47bae9aa9e36a59aa32a487d490566a5",
"spec": "682c8c8ca89ce258dd285f46885d55eb",
"manifest": "1f68b95d50a9df7a60cb482eff65c5b6",
"setup": "998ad63c0126a7c38ec7ab6ed7f7de08",
"schemas": [
{
"identifier": "add_user_to_group/schema.py",
Expand Down
2 changes: 1 addition & 1 deletion 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 = "4.2.9"
Version = "4.2.10"
Description = "[Okta](https://www.okta.com/) is a SSO and account lifecycle management provider that allows companies to integrate their central user account system with a wide variety of other applications and services"


Expand Down
1 change: 1 addition & 0 deletions plugins/okta/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -1598,6 +1598,7 @@ Actions may fail depending on the state of the resource you attempt to operate o

# Version History

* 4.2.10 - Monitor Logs Task: Add exception handling if invalid subdomain provided
* 4.2.9 - SDK Bump to 6.1.0 | Task Connection test added
* 4.2.8 - Connection: Set appropriate error code when domain is invalid
* 4.2.7 - Updated to include latest SDK v5.4.9 | Task `Monitor Logs` updated to increase max lookback cutoff to 7 days
Expand Down
5 changes: 5 additions & 0 deletions plugins/okta/komand_okta/tasks/monitor_logs/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ def run(self, params={}, state={}, custom_config={}): # pylint: disable=unused-
except ApiException as error:
self.logger.info(f"An API Exception has been raised. Status code: {error.status_code}. Error: {error}")
return [], state, False, error.status_code, error
except ConnectionError as error:
self.logger.info(
"The connection has failed, perhaps due to an invalid subdomain.\nPlease ensure the subdomain conforms to these potential formats: \n./*.okta.com ./*.oktapreview.com ./*.okta-emea.com\n"
)
return [], state, False, 401, PluginException(preset=PluginException.Preset.NOT_FOUND, data=error)
except Exception as error:
self.logger.info(f"An Exception has been raised. Error: {error}")
return [], state, False, 500, PluginException(preset=PluginException.Preset.UNKNOWN, data=error)
Expand Down
3 changes: 2 additions & 1 deletion plugins/okta/plugin.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sdk:
user: nobody
description: "[Okta](https://www.okta.com/) is a SSO and account lifecycle management provider that allows companies
to integrate their central user account system with a wide variety of other applications and services"
version: 4.2.9
version: 4.2.10
connection_version: 4
resources:
source_url: https://github.com/rapid7/insightconnect-plugins/tree/master/plugins/okta
Expand All @@ -30,6 +30,7 @@ hub_tags:
keywords: [sso, provisioning, deprovisioning, saml, cloud_enabled]
features: []
version_history:
- "4.2.10 - Monitor Logs Task: Add exception handling if invalid subdomain provided"
- "4.2.9 - SDK Bump to 6.1.0 | Task Connection test added"
- "4.2.8 - Connection: Set appropriate error code when domain is invalid"
- "4.2.7 - Updated to include latest SDK v5.4.9 | Task `Monitor Logs` updated to increase max lookback cutoff to 7 days"
Expand Down
2 changes: 1 addition & 1 deletion plugins/okta/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


setup(name="okta-rapid7-plugin",
version="4.2.9",
version="4.2.10",
description="[Okta](https://www.okta.com/) is a SSO and account lifecycle management provider that allows companies to integrate their central user account system with a wide variety of other applications and services",
author="rapid7",
author_email="",
Expand Down

0 comments on commit 97f9f84

Please sign in to comment.