diff --git a/Packs/MicrosoftTeams/Integrations/MicrosoftTeams/MicrosoftTeams.py b/Packs/MicrosoftTeams/Integrations/MicrosoftTeams/MicrosoftTeams.py index 985683d668dc..1cba4203b16f 100644 --- a/Packs/MicrosoftTeams/Integrations/MicrosoftTeams/MicrosoftTeams.py +++ b/Packs/MicrosoftTeams/Integrations/MicrosoftTeams/MicrosoftTeams.py @@ -2484,6 +2484,12 @@ def message_handler(integration_context: dict, request_body: dict, channel_data: return +@APP.route('/health', methods=['GET']) +def health_check(): + demisto.debug("Microsoft Teams Integration received a local health check") + return Response('Microsoft Teams long running integration server is up.', status=200, mimetype='text/plain') + + @APP.route('/', methods=['POST']) def messages() -> Response: """ diff --git a/Packs/MicrosoftTeams/Integrations/MicrosoftTeams/MicrosoftTeams.yml b/Packs/MicrosoftTeams/Integrations/MicrosoftTeams/MicrosoftTeams.yml index 4481bdfbe56e..a811227d8f99 100644 --- a/Packs/MicrosoftTeams/Integrations/MicrosoftTeams/MicrosoftTeams.yml +++ b/Packs/MicrosoftTeams/Integrations/MicrosoftTeams/MicrosoftTeams.yml @@ -92,7 +92,7 @@ configuration: - Critical required: false hidden: - - marketplacev2 + - marketplacev2 - display: Disable Automatic Notifications name: auto_notifications type: 8 @@ -711,7 +711,7 @@ script: - description: Run this command if you need to rerun the authentication process. name: microsoft-teams-auth-reset arguments: [] - dockerimage: demisto/teams:1.0.0.99724 + dockerimage: demisto/teams:1.0.0.108119 longRunning: true longRunningPort: true script: '' diff --git a/Packs/MicrosoftTeams/ReleaseNotes/1_4_67.md b/Packs/MicrosoftTeams/ReleaseNotes/1_4_67.md new file mode 100644 index 000000000000..7666caeeddfb --- /dev/null +++ b/Packs/MicrosoftTeams/ReleaseNotes/1_4_67.md @@ -0,0 +1,7 @@ + +#### Integrations + +##### Microsoft Teams + +- Added support for health endpoint. Enables checking if the Microsoft Teams Long Running integration is operational. +- Updated the Docker image to: *demisto/teams:1.0.0.108119*. diff --git a/Packs/MicrosoftTeams/pack_metadata.json b/Packs/MicrosoftTeams/pack_metadata.json index 904d8d453318..2b736d9a94b8 100644 --- a/Packs/MicrosoftTeams/pack_metadata.json +++ b/Packs/MicrosoftTeams/pack_metadata.json @@ -2,7 +2,7 @@ "name": "Microsoft Teams", "description": "Send messages and notifications to your team members.", "support": "xsoar", - "currentVersion": "1.4.66", + "currentVersion": "1.4.67", "author": "Cortex XSOAR", "url": "https://www.paloaltonetworks.com/cortex", "email": "",