From 7d7a852b03940351164f6084d445061197076496 Mon Sep 17 00:00:00 2001 From: ablakley-r7 <96182471+ablakley-r7@users.noreply.github.com> Date: Wed, 5 Feb 2025 09:46:33 +0000 Subject: [PATCH] Add tooltip --- plugins/mimecast_v2/.CHECKSUM | 4 ++-- plugins/mimecast_v2/help.md | 4 ++-- plugins/mimecast_v2/icon_mimecast_v2/connection/schema.py | 4 ++++ plugins/mimecast_v2/plugin.spec.yaml | 4 ++++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/plugins/mimecast_v2/.CHECKSUM b/plugins/mimecast_v2/.CHECKSUM index 95a3c6d3d1..d16ba519fe 100644 --- a/plugins/mimecast_v2/.CHECKSUM +++ b/plugins/mimecast_v2/.CHECKSUM @@ -1,11 +1,11 @@ { - "spec": "09e7a8073da54693bcc990b37ec6e2a4", + "spec": "a075e9a45f8da26b40eae68c765d196e", "manifest": "e0e42959bee1c96589545b1afb0b1f61", "setup": "ea867af34e3163ba06ef9660ec9023fc", "schemas": [ { "identifier": "connection/schema.py", - "hash": "8918ffcfac8cbf4e1b5696cb9dd9ddaf" + "hash": "3253f4b76caee91ee0f0cdc596b64a98" }, { "identifier": "monitor_siem_logs/schema.py", diff --git a/plugins/mimecast_v2/help.md b/plugins/mimecast_v2/help.md index d4c5798a7a..8bddef8622 100644 --- a/plugins/mimecast_v2/help.md +++ b/plugins/mimecast_v2/help.md @@ -24,8 +24,8 @@ The connection configuration accepts the following parameters: |Name|Type|Default|Required|Description|Enum|Example|Placeholder|Tooltip| | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | -|client_id|credential_secret_key|None|True|The Mimecast 2.0 Application Client ID|None|ZA7vkbu7NqcfBcGrXyWW8Rzk2sv2un2DCY7GGCX4BFWgJBZM|None|None| -|client_secret|credential_secret_key|None|True|The Mimecast 2.0 Application Client Secret|None|ohknqKJpCd99XTkHjeVuc2TgYaKWrWn4tEEHCLkXFZhFgDRdcpNGVx3EipX2CvmE|None|None| +|client_id|credential_secret_key|None|True|The Mimecast 2.0 Application Client ID|None|ZA7vkbu7NqcfBcGrXyWW8Rzk2sv2un2DCY7GGCX4BFWgJBZM|Client ID|Enter the Client ID obtained from the Mimecast 2.0 API Application| +|client_secret|credential_secret_key|None|True|The Mimecast 2.0 Application Client Secret|None|ohknqKJpCd99XTkHjeVuc2TgYaKWrWn4tEEHCLkXFZhFgDRdcpNGVx3EipX2CvmE|Client Secret|Enter the Client ID obtained from the Mimecast 2.0 API Application| Example input: diff --git a/plugins/mimecast_v2/icon_mimecast_v2/connection/schema.py b/plugins/mimecast_v2/icon_mimecast_v2/connection/schema.py index a21b8b9648..7f5dfa3142 100644 --- a/plugins/mimecast_v2/icon_mimecast_v2/connection/schema.py +++ b/plugins/mimecast_v2/icon_mimecast_v2/connection/schema.py @@ -18,12 +18,16 @@ class ConnectionSchema(insightconnect_plugin_runtime.Input): "$ref": "#/definitions/credential_secret_key", "title": "Client ID", "description": "The Mimecast 2.0 Application Client ID", + "placeholder": "Client ID", + "tooltip": "Enter the Client ID obtained from the Mimecast 2.0 API Application", "order": 1 }, "client_secret": { "$ref": "#/definitions/credential_secret_key", "title": "Client Secret", "description": "The Mimecast 2.0 Application Client Secret", + "placeholder": "Client Secret", + "tooltip": "Enter the Client ID obtained from the Mimecast 2.0 API Application", "order": 2 } }, diff --git a/plugins/mimecast_v2/plugin.spec.yaml b/plugins/mimecast_v2/plugin.spec.yaml index ab8456afe2..65fc886f95 100644 --- a/plugins/mimecast_v2/plugin.spec.yaml +++ b/plugins/mimecast_v2/plugin.spec.yaml @@ -46,12 +46,16 @@ connection: type: credential_secret_key example: ZA7vkbu7NqcfBcGrXyWW8Rzk2sv2un2DCY7GGCX4BFWgJBZM required: true + placeholder: Client ID + tooltip: Enter the Client ID obtained from the Mimecast 2.0 API Application client_secret: title: Client Secret description: The Mimecast 2.0 Application Client Secret type: credential_secret_key example: ohknqKJpCd99XTkHjeVuc2TgYaKWrWn4tEEHCLkXFZhFgDRdcpNGVx3EipX2CvmE required: true + placeholder: Client Secret + tooltip: Enter the Client ID obtained from the Mimecast 2.0 API Application tasks: monitor_siem_logs: title: Monitor SIEM Logs