Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -6129,8 +6129,8 @@ def main(): # pragma: no cover
params_endpoint_type = params.get("endpoint_type") or "Worldwide"
params_url = params.get("url")
is_gcc = params.get("is_gcc", False)
tenant_id = params.get("tenant_id") or params.get("_tenant_id")
auth_id = params.get("_auth_id") or params.get("auth_id")
tenant_id = params.get("tenant_id") or params.get("_tenant_id") or params.get("_tenant_id_encrypted", {}).get("password")
auth_id = params.get("_auth_id") or params.get("auth_id") or params.get("_auth_id_encrypted", {}).get("password")
enc_key = (params.get("credentials") or {}).get("password") or params.get("enc_key")
use_ssl: bool = not params.get("insecure", False)
proxy: bool = params.get("proxy", False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,30 @@ configuration:
- Custom
advanced: true
required: false
- displaypassword: ID
name: _auth_id_encrypted
type: 9
hiddenusername: true
section: Connect
required: false
- displaypassword: Token
name: _tenant_id_encrypted
type: 9
hiddenusername: true
section: Connect
required: false
- display: ID
name: _auth_id
type: 0
section: Connect
required: false
hidden: true
- display: Token
name: _tenant_id
type: 0
section: Connect
required: false
hidden: true
- displaypassword: Key
section: Connect
name: credentials
Expand Down Expand Up @@ -5815,7 +5829,7 @@ script:
- contextPath: MicrosoftATP.PublicVulnerability.UpdatedOn
description: The date and time when this vulnerability was last updated.
type: String
dockerimage: demisto/crypto:1.0.0.3539024
dockerimage: demisto/crypto:1.0.0.4578119
isfetch: true
runonce: false
script: '-'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import demistomock as demisto
import pytest
import requests_mock
from _pytest.python_api import raises
from CommonServerPython import DemistoException, snakify
from freezegun import freeze_time
from MicrosoftDefenderAdvancedThreatProtection import (
Expand Down Expand Up @@ -1081,7 +1080,9 @@ def test_add_error_message(failed_devices, all_requested_devices, expected_resul
def test_add_error_message_raise_error(failed_devices, all_requested_devices):
from MicrosoftDefenderAdvancedThreatProtection import add_error_message

with raises(DemistoException, match=f"Microsoft Defender ATP The command was failed with the errors: {failed_devices}"):
with pytest.raises(
DemistoException, match=f"Microsoft Defender ATP The command was failed with the errors: {failed_devices}"
):
add_error_message(failed_devices, all_requested_devices)


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Integrations

##### Microsoft Defender for Endpoint

- Updated the Docker image to: *demisto/crypto:1.0.0.4578119*.
- Updated the Microsoft Defender Advanced Threat Protection integration parameters: *ID* and *Token* to be encrypted.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Microsoft Defender for Endpoint",
"description": "Microsoft Defender for Endpoint (previously Microsoft Defender Advanced Threat Protection (ATP)) is a unified platform for preventative protection, post-breach detection, automated investigation, and response.",
"support": "xsoar",
"currentVersion": "1.20.8",
"currentVersion": "1.20.9",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
Loading