From 811990606c22a42791d213c7ca845b15f87e47f1 Mon Sep 17 00:00:00 2001 From: Kinnaird McQuade Date: Thu, 26 Dec 2019 14:04:26 -0500 Subject: [PATCH] Fixes #215 - Allow user to not supply Okta API key (#216) * Fixes #215 * Update setup.py Remove version update :( --- cartography/intel/okta/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cartography/intel/okta/__init__.py b/cartography/intel/okta/__init__.py index 6352866173..09700a8f61 100644 --- a/cartography/intel/okta/__init__.py +++ b/cartography/intel/okta/__init__.py @@ -34,7 +34,7 @@ def start_okta_ingestion(neo4j_session, config): :param config: A `cartography.config` object :return: Nothing """ - if not config.okta_api_key: + if 'okta_api_key' not in config: logger.warning( "No valid Okta credentials could be found. Exiting Okta sync stage.", )