diff --git a/src/connectors/__init__.py b/src/connectors/__init__.py index 6a9888ebe..fa403cb32 100644 --- a/src/connectors/__init__.py +++ b/src/connectors/__init__.py @@ -10,7 +10,7 @@ from . import gsuite_logs from . import okta from . import osquery_log -from . import tenable_settings +from . import tenable_io from . import crowdstrike_devices from . import cisco_umbrella from . import meraki_devices @@ -32,7 +32,7 @@ 'meraki_devices', 'okta', 'osquery_log', - 'tenable_settings', + 'tenable_io', 'crowdstrike_devices', 'cisco_umbrella', 'assetpanda', @@ -54,7 +54,7 @@ 'meraki_devices': meraki_devices, 'okta': okta, 'osquery_log': osquery_log, - 'tenable_settings': tenable_settings, + 'tenable_io': tenable_io, 'crowdstrike_devices': crowdstrike_devices, 'cisco_umbrella': cisco_umbrella, 'assetpanda': assetpanda, diff --git a/src/connectors/tenable_settings.py b/src/connectors/tenable_io.py similarity index 95% rename from src/connectors/tenable_settings.py rename to src/connectors/tenable_io.py index 4a41e4299..58ae2cbeb 100644 --- a/src/connectors/tenable_settings.py +++ b/src/connectors/tenable_io.py @@ -1,5 +1,5 @@ -"""Tenable Settings -Collect Tenable Settings using a Service User’s API Key +"""Tenable.io +Collect Tenable.io Data using a Service User’s API Key """ from datetime import datetime, timezone @@ -22,8 +22,8 @@ ], 'default': 'user', 'name': 'connection_type', - 'title': "Settings Type", - 'prompt': "The type of Tenable Settings information you are ingesting to Snowflake.", + 'title': "Data Type", + 'prompt': "The type of Tenable information you are ingesting to Snowflake.", 'required': True, }, { @@ -178,13 +178,13 @@ def ingest_agents(table_name, options): def connect(connection_name, options): ctype = options['connection_type'] - ctable = f'data.tenable_settings_{connection_name}_{ctype}_connection' + ctable = f'data.tenable_io_{connection_name}_{ctype}_connection' cols = { 'user': USER_LANDING_TABLE, 'agent': AGENT_LANDING_TABLE, 'vuln': VULN_LANDING_TABLE, }[ctype] - comment = yaml_dump(module='tenable_settings', **options) + comment = yaml_dump(module='tenable_io', **options) db.create_table(ctable, cols=cols, comment=comment) db.execute(f'GRANT INSERT, SELECT ON {ctable} TO ROLE {SA_ROLE}')