diff --git a/configurations/config.json b/configurations/config.json index 0e05896..c4ce00a 100644 --- a/configurations/config.json +++ b/configurations/config.json @@ -4,17 +4,14 @@ "type": "connectorType", "displayName": "Tenable" }, - "frequency": { - "default": "15m", - "type": "dropdown", - "options": ["5m", "10m", "15m", "30m", "1h","2h","4h","6h","12h", "daily"] - }, - "time": { - "default": "09:00", - "type": "time" + "schedule": { + "default": "*/15 * * * *", + "type": "cron", + "previous": ["frequency", "time"], + "options": ["*/5 * * * *", "*/10 * * * *", "*/15 * * * *", "*/30 * * * *", "0 */1 * * *","0 */2 * * *","0 */4 * * *", "0 */6 * * *", "0 */12 * * *", "mm HH * * *"] }, "help": { - "default": "https://www.ibm.com/support/knowledgecenter/SSTDPP_1.6.0/platform/docs/scp-core/data-sources-car-tenable.html", + "default": "data-sources-car-tenable.html", "type": "link" }, "image": { diff --git a/configurations/lang_en.json b/configurations/lang_en.json index 95443ec..5081a81 100644 --- a/configurations/lang_en.json +++ b/configurations/lang_en.json @@ -8,25 +8,27 @@ "label": "Connector Description", "description": "Assign a description to indicate the purpose of the connection" }, - "frequency": { - "label": "Frequency", - "optionLabels": { - "5m" : "5 minutes", - "10m" : "10 minutes", - "15m" : "15 minutes", - "30m" : "30 minutes", - "1h" : "1 hour", - "2h" : "2 hour", - "4h" : "4 hour", - "6h" : "6 hour", - "12h" : "12 hour", - "daily" : "Daily" + "schedule": { + "frequency": { + "label": "Frequency", + "description": "Select how frequently this connection will pull data from the asset", + "optionLabels": { + "5m" : "5 minutes", + "10m" : "10 minutes", + "15m" : "15 minutes", + "30m" : "30 minutes", + "1h" : "1 hour", + "2h" : "2 hours", + "4h" : "4 hours", + "6h" : "6 hours", + "12h" : "12 hours", + "daily" : "Daily" + } }, - "description": "Set how frequently the connectors will pull data from the data source" - }, - "time": { - "label": "Time", - "description": "Set the time to run connector to pull data from data source" + "time": { + "label": "Time (UTC)", + "description": "Set the UTC time to run connector to pull data from data source" + } }, "batch-size": { "label": "Batch Size",