O365 Defender SafeLinks - Single User Deprecated
Deprecated. Use O365 Defender SafeLinks instead. Enables URL scanning, rewriting inbound email messages in the mail flow, time-of-click URL verification, and links in email messages and other locations.
Utilities · Microsoft 365 Defender
Details
| ID | O365 Defender SafeLinks - Single User |
|---|---|
| Provider | Microsoft |
| Category | Utilities |
| From Version | 6.0.0 |
| Docker Image | demisto/powershell-ubuntu:7.4.1.86201 |
| Supported Modules | Agentix Cloud Runtime Security XSIAM EDR Cortex Cloud |
README
Provides URL scanning and rewriting of inbound email messages in mail flow, and time-of-click verification of URLs and links in email messages and other locations.
This integration was integrated and tested with Exchange Online PowerShell V1 module, and Defender for Office 365.
The Safe Links Product overview
Required Permissions
- To create, modify, and delete Safe Links policies, or use any of the report commands (detailed or aggregate report), you need to be a member of the
Organization ManagementorSecurity Administratorrole groups. - To manage permissions in the Microsoft Defender XDR portal, go to
Permissions & rolesor https://security.microsoft.com/securitypermissions. You need to be a global administrator or a member of the Organization Management role group in the Microsoft Defender XDR portal. Specifically, the Role Management role allows users to view, create, and modify role groups in the Microsoft Defender XDR portal, and by default, that role is assigned only to the Organization Management role group. See Permissions in the Microsoft Defender XDR portal
Configure O365 Defender SafeLinks - Single User in Cortex
| Parameter | Required |
|---|---|
| Exchange Online URL | True |
| Email / User Principal Name (Required) | False |
| Password (Required for Basic authentication only) | False |
| Trust any certificate (not secure) | False |
Safe Links Rule and Policy
The basic elements of a Safe Links policy are:
The safe links policy: Turn on Safe Links protection, turn on real-time URL scanning, specify whether to wait for real-time scanning to complete before delivering the message, turn on scanning for internal messages, specify whether to track user clicks on URLs, and specify whether to allow users to click trough to the original URL.
The safe links rule: Specifies the priority and recipient filters (who the policy applies to).
The difference between these two elements isn’t obvious when you manage Safe Links policies in the Microsoft Defender XDR portal:
When you create a Safe Links policy, you’re actually creating a safe links rule and the associated safe links policy at the same time using the same name for both.
When you modify a Safe Links policy, settings related to the name, priority, enabled or disabled, and recipient filters modify the safe links rule. All other settings modify the associated safe links policy.
When you remove a Safe Links policy, the safe links rule and the associated safe links policy are removed.
In Exchange Online PowerShell or standalone EOP PowerShell, you manage the policy and the rule separately.
Commands
You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.
o365-defender-safelinks-auth-start
Starts the OAuth2.0 authorization process.
Base Command
o365-defender-safelinks-auth-start
Input
| Argument Name | Description | Required |
| — | — | — |
Context Output
There is no context output for this command.
Command Example
#### Human Readable Output
>## Security And Compliance - Authorize instructions
>
>1. To sign in, use a web browser to open the page [https://microsoft.com/devicelogin](https://microsoft.com/devicelogin) and enter the code **XXXXXXX** to authenticate.
>2. Run the ***!o365-sc-auth-complete*** command in the War Room.
### o365-sc-auth-complete
***
Completes the OAuth2.0 authorization process.
#### Base Command
`o365-defender-safelinks-auth-complete`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
#### Context Output
There is no context output for this command.
#### Command Example
```!o365-defender-safelinks-auth-complete```
#### Human Readable Output
>Your account **successfully** authorized!
### o365-defender-safelinks-auth-test
***
Tests the OAuth2.0 authorization process.
#### Base Command
`o365-defender-safelinks-auth-test`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
#### Context Output
There is no context output for this command.
#### Command Example
```!o365-defender-safelinks-auth-test```
#### Human Readable Output
>**Test ok!**
### o365-defender-safelinks-policy-list
***
List the Safe Links policies in your cloud-based organization.
#### Base Command
`o365-defender-safelinks-policy-list`
#### Input
| **Argument Name** | **Description** | **Required** |
| --- | --- | --- |
| identity | The identity of the Safe Links policy that you want to view. Available identity fields of the policy are: Name, Distinguished name (DN), and GUID. | Optional |
#### Context Output
| **Path** | **Type** | **Description** |
| --- | --- | --- |
| O365Defender.SafeLinks.AdminDisplayName | String | Policy description. |
| O365Defender.SafeLinks.Policy.AllowClickThrough | Boolean | Whether users are allowed to click through the original URL. |
| O365Defender.SafeLinks.Policy.CustomNotificationText | String | The customized notification text to show to users. |
| O365Defender.SafeLinks.Policy.DeliverMessageAfterScan | Boolean | Whether the mail is delivered after Safe Links scanning was completed. |
| O365Defender.SafeLinks.Policy.DisableUrlRewrite | Boolean | Whether URLs are rewritten \(wrapped\) in email messages. |
| O365Defender.SafeLinks.Policy.DistinguishedName | String | Policy distinguished name \(DN\). |
| O365Defender.SafeLinks.Policy.DoNotAllowClickThrough | Boolean | Whether users can click through the original URLs. |
| O365Defender.SafeLinks.Policy.DoNotTrackUserClicks | Boolean | Whether user clicks are tracked. |
| O365Defender.SafeLinks.Policy.DoNotRewriteUrls | Unknown | List of URLs that are not rewritten by Safe Links scanning. |
| O365Defender.SafeLinks.Policy.EnableForInternalSenders | Boolean | Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization. |
| O365Defender.SafeLinks.Policy.EnableOrganizationBranding | Boolean | Whether the organization's logo is displayed on Safe Links warning and notification pages. |
| O365Defender.SafeLinks.Policy.EnableSafeLinksForTeams | Boolean | Whether the Safe Links policy is enabled for Microsoft Teams. |
| O365Defender.SafeLinks.Policy.ExchangeObjectId | String | Exchange object ID. |
| O365Defender.SafeLinks.Policy.ExchangeVersion | String | The version of the Exchange server. |
| O365Defender.SafeLinks.Policy.Guid | String | The GUID of the Safe Links policy. |
| O365Defender.SafeLinks.Policy.Id | String | The ID of the Safe Links policy. |
| O365Defender.SafeLinks.Policy.Identity | String | The identity of the Safe Links policy. |
| O365Defender.SafeLinks.Policy.IsDefault | Boolean | Whether the Safe Links policy is the default policy. |
| O365Defender.SafeLinks.Policy.IsEnabled | Boolean | Whether Safe Links protection is enabled for email messages. |
| O365Defender.SafeLinks.Policy.IsValid | Boolean | Whether the Safe Links policy is valid. |
| O365Defender.SafeLinks.Policy.Name | String | Policy name. |
| O365Defender.SafeLinks.Policy.ObjectState | String | The Safe Links policy state. |
| O365Defender.SafeLinks.Policy.OrganizationId | String | The organization ID. |
| O365Defender.SafeLinks.Policy.ScanUrls | Boolean | Whether real-time scanning of clicked links in email messages is enabled. |
| O365Defender.SafeLinks.Policy.WhenChanged | Date | The date and time the Safe Links policy was modified. Time format: YYYY-MM-DDThh:mm:ss\+00:00. |
| O365Defender.SafeLinks.Policy.WhenChangedUTC | Date | The date and time \(in UTC\) the Safe Links policy was modified. Time format: YYYY-MM-DDTHH:MM:SSZ. |
| O365Defender.SafeLinks.Policy.WhenCreated | Date | The date and time the Safe Links policy was created. Time format: YYYY-MM-DDThh:mm:ss\+00:00. |
| O365Defender.SafeLinks.Policy.WhenCreatedUTC | Date | The date and time \(in UTC\) the Safe Links policy was created. Time format: YYYY-MM-DDTHH:MM:SSZ. |
#### Command Example
```!o365-defender-safelinks-policy-list```
#### Context Example
```json
{
"O365Defender.SafeLinks.Policy(obj.Guid === val.Guid)": [
{
"AdminDisplayName": "Few URL",
"AllowClickThrough": true,
"CustomNotificationText": "Sorry, you cant click through this URL",
"DeliverMessageAfterScan": false,
"DisableUrlRewrite": false,
"DistinguishedName": "CN=XSOAR Policy,CN=Safe Links,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM",
"DoNotAllowClickThrough": false,
"DoNotRewriteUrls": [
"www.test.com",
"https://xsoar.test.com"
],
"DoNotTrackUserClicks": false,
"EnableForInternalSenders": false,
"EnableOrganizationBranding": false,
"EnableSafeLinksForTeams": false,
"ExchangeObjectId": "5796cea3-cfdb-4a99-9956-bf62209118a6",
"ExchangeVersion": "0.20 (15.0.0.0)",
"ExcludedUrls": [
"www.test.com",
"https://xsoar.test.com"
],
"Guid": "5796cea3-cfdb-4a99-9956-bf62209118a6",
"Id": "XSOAR Policy",
"Identity": "XSOAR Policy",
"IsBuiltInProtection": false,
"IsDefault": false,
"IsEnabled": true,
"IsValid": true,
"LocalizedNotificationTextList": [
"[zh-Hant, 對不起,你不能點擊通過這個網址]",
"[af, Jammer, jy kan nie deur hierdie URL klik nie]",
"[hi, क्षमा करें, आप इस यूआरएल के माध्यम से क्लिक नहीं कर सकते]",
"[ja, この URL をクリックできません。]",
"[otq, Nä'ä di tsa̲hu̲, hingi tsa̲ o̲t'e clic nuna ar URL]",
"[zh-Hans, 对不起,你不能点击通过这个网址]",
"[ur, معذرت، آپ اس یو آر ایل کے ذریعے کلک نہیں کر سکتے]",
"[ht, Padon, ou pa klike sou URL sa a]",
"[it, Siamo spiacenti, non puoi fare clic su questo URL]",
"[ms, Maaf, anda tidak boleh klik melalui URL ini]",
"[bs, Žao mi je, ne možete kliknuti kroz ovaj URL]",
"[cs, Je nám líto, ale nemůžete kliknout na tuto adresu URL]",
"[mt, Jiddispjaċina, ma tistax tikklikkja permezz ta' dan il-URL]",
"[fa, با عرض پوزش، شما نمی توانید از طریق این آدرس کلیک کنید]",
"[ga, Ár leithscéal, ní féidir leat cliceáil tríd an URL seo]",
"[da, Beklager, men du kan ikke klikke dig igennem denne URL-adresse]",
"[hr, Nažalost, ne možete kliknuti kroz ovaj URL]",
"[he, מצטערים, אתה לא יכול ללחוץ על כתובת URL זו]",
"[et, Kahjuks ei saa te seda URL-i klõpsata]",
"[tr, Üzgünüz, bu URL'yi tıklatamazsınız]",
"[ru, Извините, вы не можете щелкнуть по этому URL-адресу]",
"[nb, Beklager, du kan ikke klikke deg gjennom denne URL-adressen]",
"[ar, عذرا، أنت غير قادر على النقر من خلال هذا العنوان]",
"[fr, Désolé, vous ne pouvez pas cliquer sur cette URL]",
"[sv, Tyvärr kan du inte klicka igenom den här URL:en]",
"[tlh-Piqd, ]",
"[de, Es tut uns leid, aber Sie können sich nicht durch diese URL klicken]",
"[id, Maaf, Anda tidak bisa mengklik URL ini]",
"[kk, Кешіріңіз, осы URL мекенжайы арқылы басуға болмайды]",
"[lv, Atvainojiet, jūs nevarat noklikšķināt caur šo URL]",
"[yue, 对唔住,你唔可以點擊透過呢個網址]",
"[nl, Sorry, u kunt niet door deze URL klikken]",
"[ro, Ne pare rău, tu cant faceți clic prin acest URL-ul]",
"[ml, ക്ഷമിക്കണം, ഈ യുആർഎൽ വഴി ക്ലിക്ക് ചെയ്യാൻ നിങ്ങൾക്ക് കഴിയില്ല]",
"[sw, Samahani, unaweza kubofya kupitia URL hii]",
"[sl, Žal ne morete klikati preko tega URL-ja]",
"[th, ขออภัย คุณไม่สามารถคลิกผ่าน URL นี้]",
"[to, Kātaki fakamolemole, he ʻikai lava ke ke lomiʻi ʻi he URL ko ʻení]",
"[pt-PT, Desculpe, não pode clicar neste URL]",
"[ca, Ho sentim, no podeu fer clic a través d'aquesta URL]",
"[ko, 죄송합니다, 이 URL을 클릭할 수 없습니다.]",
"[el, Δυστυχώς, δεν μπορείτε να κάνετε κλικ σε αυτήν τη διεύθυνση URL]",
"[fil, Paumanhin, maaari mong i-click sa pamamagitan ng URL na ito]",
"[fj, Vosota, e sega ni rawa ni o kiliki ena URL oqo]",
"[cy, Mae'n ddrwg gennym, gallwch glicio drwy'r URL hwn]",
"[hu, Sajnáljuk, nem kattinthat át ezen az URL-címen]",
"[pt, Desculpe, você não pode clicar através desta URL]",
"[kn, ಕ್ಷಮಿಸಿ, ಈ ಯುಆರ್ ಎಲ್ ಮೂಲಕ ನೀವು ಕ್ಲಿಕ್ ಮಾಡಲು ಸಾಧ್ಯವಿಲ್ಲ]",
"[pl, Przepraszamy, nie możesz kliknąć tego adresu URL]",
"[bn, দুঃখিত, আপনি এই ইউআরএল-এর মাধ্যমে ক্লিক করতে পারবেন না]",
"[vi, Xin lỗi, bạn không thể nhấp qua URL này]",
"[gu, માફ કરશો, તમે આ યુઆરએલ દ્વારા ક્લિક કરી શકતા નથી]",
"[sr-Cyrl, Жао нам је, не можете кликнути кроз ову УРЛ адресу]",
"[sr-Latn, Žao nam je, ne možete kliknuti kroz ovu URL adresu]",
"[sk, Ľutujeme, nemôžete kliknúť na túto adresu URL]",
"[en, Sorry, you cant click through this URL]",
"[uk, На жаль, ви нахиляє натисніть через цю URL-адресу]",
"[mi, Aroha mai, kāore e taea te pāwhiri mā tēnei URL]",
"[sm, Faamalie atu, e le mafai ona e kiliki i le URL lenei]",
"[fi, Valitettavasti et voi napsauttaa tätä URL-osoitetta]",
"[lt, Atsiprašome, jūs negalite spustelėti per šį URL]",
"[bg, Съжаляваме, можете да кликнете чрез този URL адрес]",
"[te, క్షమించండి, ఈ యుఆర్ ఎల్ ద్వారా మీరు క్లిక్ చేయలేరు]",
"[is, Því miður geturðu ekki smellt í gegnum þessa slóð]",
"[ta, மன்னிக்கவும், இந்த யுஆர்எல் வழியாக கிளிக் செய்ய முடியாது]",
"[tlh-Latn, taHqeq mIv'a' tIqwIj, qaStaHvIS poH nI''e']",
"[mww, Thov txim, koj yuav nias los ntawm no URL]",
"[es, Lo sentimos, no puedes hacer clic en esta URL]",
"[pa, ਮਾਫ਼ ਕਰਨਾ, ਤੁਸੀਂ ਇਸ ਯੂਆਰਐਲ ਰਾਹੀਂ ਕਲਿੱਕ ਨਹੀਂ ਕਰ ਸਕਦੇ]",
"[mg, Miala tsiny fa tsy afaka manindry ity URL ity ianao]"
],
"Name": "XSOAR Policy",
"ObjectCategory": "EURPR07A123.PROD.OUTLOOK.COM/Configuration/Schema/ms-Exch-Smart-Links-Protection-Config",
"ObjectClass": [
"top",
"msExchSmartLinksProtectionConfig"
],
"ObjectState": "Unchanged",
"OrganizationId": "EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration",
"OrganizationalUnitRoot": "xsoartest.onmicrosoft.com",
"OriginatingServer": "AM7PR07A05DC123.EURPR07A123.PROD.OUTLOOK.COM",
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecommendedPolicyType": "Custom",
"RunspaceId": "8501abb8-6d7c-45ca-bc0d-4c260d68d248",
"ScanUrls": false,
"TrackClicks": true,
"WhenChanged": "2021-10-21T12:49:09+00:00",
"WhenChangedUTC": "2021-10-21T12:49:09Z",
"WhenCreated": "2021-10-21T12:49:03+00:00",
"WhenCreatedUTC": "2021-10-21T12:49:03Z",
"WhiteListedUrls": "www.test.com,https://xsoar.test.com"
}
]
}
Human Readable Output
Results of o365-defender-safelinks-policy-list
AdminDisplayName AllowClickThrough CustomNotificationText DeliverMessageAfterScan DisableUrlRewrite DistinguishedName DoNotAllowClickThrough DoNotRewriteUrls DoNotTrackUserClicks EnableForInternalSenders EnableOrganizationBranding EnableSafeLinksForTeams ExchangeObjectId ExchangeVersion ExcludedUrls Guid Id Identity IsBuiltInProtection IsDefault IsEnabled IsValid LocalizedNotificationTextList Name ObjectCategory ObjectClass ObjectState OrganizationalUnitRoot OrganizationId OriginatingServer PSComputerName PSShowComputerName RecommendedPolicyType RunspaceId ScanUrls TrackClicks WhenChanged WhenChangedUTC WhenCreated WhenCreatedUTC WhiteListedUrls Few URL true Sorry, you cant click through this URL false false CN=XSOAR Policy,CN=Safe Links,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM false [“www.test.com”,”https://xsoar.test.com”] false false false false {“value”:”5796cea3-cfdb-4a99-9956-bf62209118a6”,”Guid”:”5796cea3-cfdb-4a99-9956-bf62209118a6”} 0.20 (15.0.0.0) [“www.test.com”,”https://xsoar.test.com”] {“value”:”5796cea3-cfdb-4a99-9956-bf62209118a6”,”Guid”:”5796cea3-cfdb-4a99-9956-bf62209118a6”} XSOAR Policy XSOAR Policy false false true true [“[zh-Hant, 對不起,你不能點擊通過這個網址]”,”[af, Jammer, jy kan nie deur hierdie URL klik nie]”,”[hi, क्षमा करें, आप इस यूआरएल के माध्यम से क्लिक नहीं कर सकते]”,”[ja, この URL をクリックできません。]”,”[otq, Nä’ä di tsa̲hu̲, hingi tsa̲ o̲t’e clic nuna ar URL]”,”[zh-Hans, 对不起,你不能点击通过这个网址]”,”[ur, معذرت، آپ اس یو آر ایل کے ذریعے کلک نہیں کر سکتے]”,”[ht, Padon, ou pa klike sou URL sa a]”,”[it, Siamo spiacenti, non puoi fare clic su questo URL]”,”[ms, Maaf, anda tidak boleh klik melalui URL ini]”,”[bs, Žao mi je, ne možete kliknuti kroz ovaj URL]”,”[cs, Je nám líto, ale nemůžete kliknout na tuto adresu URL]”,”[mt, Jiddispjaċina, ma tistax tikklikkja permezz ta’ dan il-URL]”,”[fa, با عرض پوزش، شما نمی توانید از طریق این آدرس کلیک کنید]”,”[ga, Ár leithscéal, ní féidir leat cliceáil tríd an URL seo]”,”[da, Beklager, men du kan ikke klikke dig igennem denne URL-adresse]”,”[hr, Nažalost, ne možete kliknuti kroz ovaj URL]”,”[he, מצטערים, אתה לא יכול ללחוץ על כתובת URL זו]”,”[et, Kahjuks ei saa te seda URL-i klõpsata]”,”[tr, Üzgünüz, bu URL’yi tıklatamazsınız]”,”[ru, Извините, вы не можете щелкнуть по этому URL-адресу]”,”[nb, Beklager, du kan ikke klikke deg gjennom denne URL-adressen]”,”[ar, عذرا، أنت غير قادر على النقر من خلال هذا العنوان]”,”[fr, Désolé, vous ne pouvez pas cliquer sur cette URL]”,”[sv, Tyvärr kan du inte klicka igenom den här URL:en]”,”[tlh-Piqd, ]”,”[de, Es tut uns leid, aber Sie können sich nicht durch diese URL klicken]”,”[id, Maaf, Anda tidak bisa mengklik URL ini]”,”[kk, Кешіріңіз, осы URL мекенжайы арқылы басуға болмайды]”,”[lv, Atvainojiet, jūs nevarat noklikšķināt caur šo URL]”,”[yue, 对唔住,你唔可以點擊透過呢個網址]”,”[nl, Sorry, u kunt niet door deze URL klikken]”,”[ro, Ne pare rău, tu cant faceți clic prin acest URL-ul]”,”[ml, ക്ഷമിക്കണം, ഈ യുആർഎൽ വഴി ക്ലിക്ക് ചെയ്യാൻ നിങ്ങൾക്ക് കഴിയില്ല]”,”[sw, Samahani, unaweza kubofya kupitia URL hii]”,”[sl, Žal ne morete klikati preko tega URL-ja]”,”[th, ขออภัย คุณไม่สามารถคลิกผ่าน URL นี้]”,”[to, Kātaki fakamolemole, he ʻikai lava ke ke lomiʻi ʻi he URL ko ʻení]”,”[pt-PT, Desculpe, não pode clicar neste URL]”,”[ca, Ho sentim, no podeu fer clic a través d’aquesta URL]”,”[ko, 죄송합니다, 이 URL을 클릭할 수 없습니다.]”,”[el, Δυστυχώς, δεν μπορείτε να κάνετε κλικ σε αυτήν τη διεύθυνση URL]”,”[fil, Paumanhin, maaari mong i-click sa pamamagitan ng URL na ito]”,”[fj, Vosota, e sega ni rawa ni o kiliki ena URL oqo]”,”[cy, Mae’n ddrwg gennym, gallwch glicio drwy’r URL hwn]”,”[hu, Sajnáljuk, nem kattinthat át ezen az URL-címen]”,”[pt, Desculpe, você não pode clicar através desta URL]”,”[kn, ಕ್ಷಮಿಸಿ, ಈ ಯುಆರ್ ಎಲ್ ಮೂಲಕ ನೀವು ಕ್ಲಿಕ್ ಮಾಡಲು ಸಾಧ್ಯವಿಲ್ಲ]”,”[pl, Przepraszamy, nie możesz kliknąć tego adresu URL]”,”[bn, দুঃখিত, আপনি এই ইউআরএল-এর মাধ্যমে ক্লিক করতে পারবেন না]”,”[vi, Xin lỗi, bạn không thể nhấp qua URL này]”,”[gu, માફ કરશો, તમે આ યુઆરએલ દ્વારા ક્લિક કરી શકતા નથી]”,”[sr-Cyrl, Жао нам је, не можете кликнути кроз ову УРЛ адресу]”,”[sr-Latn, Žao nam je, ne možete kliknuti kroz ovu URL adresu]”,”[sk, Ľutujeme, nemôžete kliknúť na túto adresu URL]”,”[en, Sorry, you cant click through this URL]”,”[uk, На жаль, ви нахиляє натисніть через цю URL-адресу]”,”[mi, Aroha mai, kāore e taea te pāwhiri mā tēnei URL]”,”[sm, Faamalie atu, e le mafai ona e kiliki i le URL lenei]”,”[fi, Valitettavasti et voi napsauttaa tätä URL-osoitetta]”,”[lt, Atsiprašome, jūs negalite spustelėti per šį URL]”,”[bg, Съжаляваме, можете да кликнете чрез този URL адрес]”,”[te, క్షమించండి, ఈ యుఆర్ ఎల్ ద్వారా మీరు క్లిక్ చేయలేరు]”,”[is, Því miður geturðu ekki smellt í gegnum þessa slóð]”,”[ta, மன்னிக்கவும், இந்த யுஆர்எல் வழியாக கிளிக் செய்ய முடியாது]”,”[tlh-Latn, taHqeq mIv’a’ tIqwIj, qaStaHvIS poH nI’‘e’]”,”[mww, Thov txim, koj yuav nias los ntawm no URL]”,”[es, Lo sentimos, no puedes hacer clic en esta URL]”,”[pa, ਮਾਫ਼ ਕਰਨਾ, ਤੁਸੀਂ ਇਸ ਯੂਆਰਐਲ ਰਾਹੀਂ ਕਲਿੱਕ ਨਹੀਂ ਕਰ ਸਕਦੇ]”,”[mg, Miala tsiny fa tsy afaka manindry ity URL ity ianao]”] XSOAR Policy EURPR07A123.PROD.OUTLOOK.COM/Configuration/Schema/ms-Exch-Smart-Links-Protection-Config [“top”,”msExchSmartLinksProtectionConfig”] Unchanged xsoartest.onmicrosoft.com EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration AM7PR07A05DC123.EURPR07A123.PROD.OUTLOOK.COM outlook.office365.com false Custom {“value”:”8501abb8-6d7c-45ca-bc0d-4c260d68d248”,”Guid”:”8501abb8-6d7c-45ca-bc0d-4c260d68d248”} false true {“value”:”2021-10-21T12:49:09+00:00”,”DateTime”:”Thursday, October 21, 2021 12:49:09 PM”} {“value”:”2021-10-21T12:49:09Z”,”DateTime”:”Thursday, October 21, 2021 12:49:09 PM”} {“value”:”2021-10-21T12:49:03+00:00”,”DateTime”:”Thursday, October 21, 2021 12:49:03 PM”} {“value”:”2021-10-21T12:49:03Z”,”DateTime”:”Thursday, October 21, 2021 12:49:03 PM”} www.test.com,https://xsoar.test.com
o365-defender-safelinks-policy-create
Create a new Safe Links policy.
Base Command
o365-defender-safelinks-policy-create
Input
| Argument Name | Description | Required |
|---|---|---|
| name | A unique name for the Safe Links policy. | Required |
| admin_display_name | The description for the policy. | Optional |
| custom_notification_text | The custom notification text to show to users. | Optional |
| deliver_message_after_scan | Whether to deliver email messages only after Safe Links scanning was completed. When true, messages that contain malicious links are not delivered. Default is false. Possible values are: true, false. | Optional |
| do_not_allow_click_through | Whether to allow users to click through to the original URL on warning pages. Default is false. Possible values are: true, false. | Optional |
| do_not_rewrite_urls | Comma-separated list of URLs that are not rewritten by Safe Links scanning. | Optional |
| do_not_track_user_clicks | Whether to track user clicks related to Safe Links protection of links in email messages. Default is false. Possible values are: true, false. | Optional |
| enable_for_internal_senders | Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization.Default is false. Possible values are: true, false. | Optional |
| enable_organization_branding | Whether to display the organization’s logo on Safe Links warning and notification pages. Default is false. Possible values are: true, false. | Optional |
| enable_safe_links_for_teams | Whether to enable Safe Links for Microsoft Teams. Default is false. Possible values are: true, false. | Optional |
| is_enabled | Whether to enable Safe Links protection for email messages. Default is false. Possible values are: true, false. | Optional |
| scan_urls | Whether to enable or disable real-time scanning of clicked links in email messages. Default is false. Possible values are: true, false. | Optional |
| use_translated_notification_text | Whether to use Microsoft Translator to automatically localize the custom notification text that you specified with the CustomNotificationText parameter. Default is false. Possible values are: true, false. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| O365Defender.SafeLinks.AdminDisplayName | String | Policy description. |
| O365Defender.SafeLinks.Policy.AllowClickThrough | Boolean | Whether users are allowed to click through the original URL. |
| O365Defender.SafeLinks.Policy.CustomNotificationText | String | The customized notification text to show to users. |
| O365Defender.SafeLinks.Policy.DeliverMessageAfterScan | Boolean | Whether the mail is delivered after Safe Links scanning was completed. |
| O365Defender.SafeLinks.Policy.DisableUrlRewrite | Boolean | Whether URLs are rewritten (wrapped) in email messages. |
| O365Defender.SafeLinks.Policy.DistinguishedName | String | Policy distinguished name (DN). |
| O365Defender.SafeLinks.Policy.DoNotAllowClickThrough | Boolean | Whether users can click through the original URLs. |
| O365Defender.SafeLinks.Policy.DoNotTrackUserClicks | Boolean | Whether user clicks are tracked. |
| O365Defender.SafeLinks.Policy.DoNotRewriteUrls | Unknown | List of URLs that are not rewritten by Safe Links scanning. |
| O365Defender.SafeLinks.Policy.EnableForInternalSenders | Boolean | Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization. |
| O365Defender.SafeLinks.Policy.EnableOrganizationBranding | Boolean | Whether the organization’s logo is displayed on Safe Links warning and notification pages. |
| O365Defender.SafeLinks.Policy.EnableSafeLinksForTeams | Boolean | Whether the Safe Links policy is enabled for Microsoft Teams. |
| O365Defender.SafeLinks.Policy.ExchangeObjectId | String | Exchange object ID. |
| O365Defender.SafeLinks.Policy.ExchangeVersion | String | The version of the Exchange server. |
| O365Defender.SafeLinks.Policy.Guid | String | The GUID of the Safe Links policy. |
| O365Defender.SafeLinks.Policy.Id | String | The ID of the Safe Links policy. |
| O365Defender.SafeLinks.Policy.Identity | String | The identity of the Safe Links policy. |
| O365Defender.SafeLinks.Policy.IsDefault | Boolean | Whether the Safe Links policy is the default policy. |
| O365Defender.SafeLinks.Policy.IsEnabled | Boolean | Whether Safe Links protection is enabled for email messages. |
| O365Defender.SafeLinks.Policy.IsValid | Boolean | Whether the Safe Links policy is valid. |
| O365Defender.SafeLinks.Policy.Name | String | Policy name. |
| O365Defender.SafeLinks.Policy.ObjectState | String | The Safe Links policy state. |
| O365Defender.SafeLinks.Policy.OrganizationId | String | The organization ID. |
| O365Defender.SafeLinks.Policy.ScanUrls | Boolean | Whether real-time scanning of clicked links in email messages is enabled. |
| O365Defender.SafeLinks.Policy.WhenChanged | Date | The date and time the Safe Links policy was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00. |
| O365Defender.SafeLinks.Policy.WhenChangedUTC | Date | The date and time (in UTC) the Safe Links policy was modified. Time format: YYYY-MM-DDTHH:MM:SSZ |
| O365Defender.SafeLinks.Policy.WhenCreated | Date | The date and time the Safe Links policy was created. Time format: YYYY-MM-DDThh:mm:ss+00:00. |
| O365Defender.SafeLinks.Policy.WhenCreatedUTC | Date | The date and time (in UTC) the Safe Links policy was created. Time format: YYYY-MM-DDTHH:MM:SSZ |
Command Example
o365-defender-safelinks-policy-create name=xsoartest admin_display_name="Description for policy" do_not_allow_click_through=true
Context Example
{
"O365Defender.SafeLinks.Policy(obj.Guid === val.Guid)": [
{
"AdminDisplayName": "Few URL",
"AllowClickThrough": true,
"CustomNotificationText": "Sorry, you cant click through this URL",
"DeliverMessageAfterScan": false,
"DisableUrlRewrite": false,
"DistinguishedName": "CN=xsoartest,CN=Safe Links,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM",
"DoNotAllowClickThrough": false,
"DoNotRewriteUrls": [
"www.test.com",
"https://xsoar.test.com"
],
"DoNotTrackUserClicks": false,
"EnableForInternalSenders": false,
"EnableOrganizationBranding": false,
"EnableSafeLinksForTeams": false,
"ExchangeObjectId": "5796cea3-cfdb-4a99-9956-bf62209118a6",
"ExchangeVersion": "0.20 (15.0.0.0)",
"ExcludedUrls": [
"www.test.com",
"https://xsoar.test.com"
],
"Guid": "5796cea3-cfdb-4a99-9956-bf62209118a6",
"Id": "xsoartest",
"Identity": "xsoartest",
"IsBuiltInProtection": false,
"IsDefault": false,
"IsEnabled": true,
"IsValid": true,
"LocalizedNotificationTextList": [],
"Name": "xsoartest",
"ObjectCategory": "EURPR07A123.PROD.OUTLOOK.COM/Configuration/Schema/ms-Exch-Smart-Links-Protection-Config",
"ObjectClass": [
"top",
"msExchSmartLinksProtectionConfig"
],
"ObjectState": "Unchanged",
"OrganizationId": "EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration",
"OrganizationalUnitRoot": "xsoartest.onmicrosoft.com",
"OriginatingServer": "AM7PR07A05DC123.EURPR07A123.PROD.OUTLOOK.COM",
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecommendedPolicyType": "Custom",
"RunspaceId": "8501abb8-6d7c-45ca-bc0d-4c260d68d248",
"ScanUrls": false,
"TrackClicks": true,
"WhenChanged": "2021-10-21T12:49:09+00:00",
"WhenChangedUTC": "2021-10-21T12:49:09Z",
"WhenCreated": "2021-10-21T12:49:03+00:00",
"WhenCreatedUTC": "2021-10-21T12:49:03Z",
"WhiteListedUrls": "www.test.com,https://xsoar.test.com"
}
]
}
Human Readable Output
Results of o365-defender-safelinks-policy-create
AdminDisplayName AllowClickThrough CustomNotificationText DeliverMessageAfterScan DisableUrlRewrite DistinguishedName DoNotAllowClickThrough DoNotRewriteUrls DoNotTrackUserClicks EnableForInternalSenders EnableOrganizationBranding EnableSafeLinksForTeams ExchangeObjectId ExchangeVersion ExcludedUrls Guid Id Identity IsBuiltInProtection IsDefault IsEnabled IsValid LocalizedNotificationTextList Name ObjectCategory ObjectClass ObjectState OrganizationalUnitRoot OrganizationId OriginatingServer PSComputerName PSShowComputerName RecommendedPolicyType RunspaceId ScanUrls TrackClicks WhenChanged WhenChangedUTC WhenCreated WhenCreatedUTC WhiteListedUrls Few URL true Sorry, you cant click through this URL false false CN=XSOAR Policy,CN=Safe Links,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM false XSOAR Policy EURPR07A123.PROD.OUTLOOK.COM/Configuration/Schema/ms-Exch-Smart-Links-Protection-Config [“top”,”msExchSmartLinksProtectionConfig”] Unchanged xsoartest.onmicrosoft.com EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration AM7PR07A05DC123.EURPR07A123.PROD.OUTLOOK.COM outlook.office365.com false Custom {“value”:”8501abb8-6d7c-45ca-bc0d-4c260d68d248”,”Guid”:”8501abb8-6d7c-45ca-bc0d-4c260d68d248”} false true {“value”:”2021-10-21T12:49:09+00:00”,”DateTime”:”Thursday, October 21, 2021 12:49:09 PM”} {“value”:”2021-10-21T12:49:09Z”,”DateTime”:”Thursday, October 21, 2021 12:49:09 PM”} {“value”:”2021-10-21T12:49:03+00:00”,”DateTime”:”Thursday, October 21, 2021 12:49:03 PM”} {“value”:”2021-10-21T12:49:03Z”,”DateTime”:”Thursday, October 21, 2021 12:49:03 PM”} www.test.com,https://xsoar.test.com
o365-defender-safelinks-policy-update
Update a Safe Links policy.
Base Command
o365-defender-safelinks-policy-update
Input
| Argument Name | Description | Required |
|---|---|---|
| name | A unique name for the Safe Links policy. | Required |
| admin_display_name | The description for the policy. | Optional |
| custom_notification_text | The custom notification text to show to users. | Optional |
| deliver_message_after_scan | Whether to deliver email messages only after Safe Links scanning was completed. When true, messages that contain malicious links are not delivered. Default is false. Possible values are: true, false. | Optional |
| do_not_allow_click_through | Whether to allow users to click through to the original URL on warning pages. Default is false. Possible values are: true, false. | Optional |
| do_not_rewrite_urls | Comma-separated list of URLs that are not rewritten by Safe Links scanning. | Optional |
| do_not_track_user_clicks | Whether to track user clicks related to Safe Links protection of links in email messages. Default is false. Possible values are: true, false. | Optional |
| enable_for_internal_senders | Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization. Default is false. Possible values are: true, false. | Optional |
| enable_organization_branding | Whether to display the organization’s logo on Safe Links warning and notification pages. Default is false. Possible values are: true, false. | Optional |
| enable_safe_links_for_teams | Whether to enable the Safe Links for Microsoft Teams. Default is false. Possible values are: true, false. | Optional |
| is_enabled | Whether to enable Safe Links protection for email messages. Default is false. Possible values are: true, false. | Optional |
| scan_urls | Whether to enable or disable real-time scanning of clicked links in email messages. Default is false. Possible values are: true, false. | Optional |
| use_translated_notification_text | Whether to use Microsoft Translator to automatically localize the custom notification text that you specified with the CustomNotificationText parameter. Default is false. Possible values are: true, false. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| O365Defender.SafeLinks.AdminDisplayName | String | Policy description. |
| O365Defender.SafeLinks.Policy.AllowClickThrough | Boolean | Whether users are allowed to click through the original URL. |
| O365Defender.SafeLinks.Policy.CustomNotificationText | String | The customized notification text to show to users. |
| O365Defender.SafeLinks.Policy.DeliverMessageAfterScan | Boolean | Whether the mail is delivered after Safe Links scanning was completed. |
| O365Defender.SafeLinks.Policy.DisableUrlRewrite | Boolean | Whether URLs are rewritten (wrapped) in email messages. |
| O365Defender.SafeLinks.Policy.DistinguishedName | String | Policy distinguished name (DN). |
| O365Defender.SafeLinks.Policy.DoNotAllowClickThrough | Boolean | Whether users can click through the original URLs. |
| O365Defender.SafeLinks.Policy.DoNotTrackUserClicks | Boolean | Whether user clicks are tracked. |
| O365Defender.SafeLinks.Policy.DoNotRewriteUrls | Unknown | List of URLs that are not rewritten by Safe Links scanning. |
| O365Defender.SafeLinks.Policy.EnableForInternalSenders | Boolean | Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization. |
| O365Defender.SafeLinks.Policy.EnableOrganizationBranding | Boolean | whether the organization’s logo is displayed on Safe Links warning and notification pages. |
| O365Defender.SafeLinks.Policy.EnableSafeLinksForTeams | Boolean | Whether the Safe Links policy is enabled for Microsoft Teams. |
| O365Defender.SafeLinks.Policy.ExchangeObjectId | String | Exchange object ID. |
| O365Defender.SafeLinks.Policy.ExchangeVersion | String | The version of the Exchange server. |
| O365Defender.SafeLinks.Policy.Guid | String | The GUID of the Safe Links policy. |
| O365Defender.SafeLinks.Policy.Id | String | The ID of the Safe Links policy. |
| O365Defender.SafeLinks.Policy.Identity | String | The identity of the Safe Links policy. |
| O365Defender.SafeLinks.Policy.IsDefault | Boolean | Whether the Safe Links policy is the default policy. |
| O365Defender.SafeLinks.Policy.IsEnabled | Boolean | Whether Safe Links protection is enabled for email messages. |
| O365Defender.SafeLinks.Policy.IsValid | Boolean | Whether the Safe Links policy is valid. |
| O365Defender.SafeLinks.Policy.Name | String | Policy name. |
| O365Defender.SafeLinks.Policy.ObjectState | String | The Safe Links policy state. |
| O365Defender.SafeLinks.Policy.OrganizationId | String | The organization ID. |
| O365Defender.SafeLinks.Policy.ScanUrls | Boolean | Whether real-time scanning of clicked links in email messages is enabled. |
| O365Defender.SafeLinks.Policy.WhenChanged | Date | The date and time the Safe Links policy was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00. |
| O365Defender.SafeLinks.Policy.WhenChangedUTC | Date | The date and time (in UTC) the Safe Links policy was modified. Time format: YYYY-MM-DDTHH:MM:SSZ. |
| O365Defender.SafeLinks.Policy.WhenCreated | Date | The date and time the Safe Links policy was created. Time format: YYYY-MM-DDThh:mm:ss+00:00. |
| O365Defender.SafeLinks.Policy.WhenCreatedUTC | Date | The date and time (in UTC) the Safe Links policy was created. Time format: YYYY-MM-DDTHH:MM:SSZ. |
Command Example
o365-defender-safelinks-policy-update name=xsoartest admin_display_name="Description for policy" do_not_allow_click_through=true
Context Example
{
"O365Defender.SafeLinks.Policy(obj.Guid === val.Guid)": [
{
"AdminDisplayName": "Description for policy",
"AllowClickThrough": true,
"CustomNotificationText": "Sorry, you cant click through this URL",
"DeliverMessageAfterScan": false,
"DisableUrlRewrite": false,
"DistinguishedName": "CN=xsoartest policy,CN=Safe Links,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM",
"DoNotAllowClickThrough": false,
"DoNotRewriteUrls": [
"www.test.com",
"https://xsoar.test.com"
],
"DoNotTrackUserClicks": false,
"EnableForInternalSenders": false,
"EnableOrganizationBranding": false,
"EnableSafeLinksForTeams": false,
"ExchangeObjectId": "5796cea3-cfdb-4a99-9956-bf62209118a6",
"ExchangeVersion": "0.20 (15.0.0.0)",
"ExcludedUrls": [
"www.test.com",
"https://xsoar.test.com"
],
"Guid": "5796cea3-cfdb-4a99-9956-bf62209118a6",
"Id": "xsoartest policy",
"Identity": "xsoartest policy",
"IsBuiltInProtection": false,
"IsDefault": false,
"IsEnabled": true,
"IsValid": true,
"LocalizedNotificationTextList": [],
"Name": "xsoartest",
"ObjectCategory": "EURPR07A123.PROD.OUTLOOK.COM/Configuration/Schema/ms-Exch-Smart-Links-Protection-Config",
"ObjectClass": [
"top",
"msExchSmartLinksProtectionConfig"
],
"ObjectState": "Unchanged",
"OrganizationId": "EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration",
"OrganizationalUnitRoot": "xsoartest.onmicrosoft.com",
"OriginatingServer": "AM7PR07A05DC123.EURPR07A123.PROD.OUTLOOK.COM",
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecommendedPolicyType": "Custom",
"RunspaceId": "8501abb8-6d7c-45ca-bc0d-4c260d68d248",
"ScanUrls": false,
"TrackClicks": true,
"WhenChanged": "2021-10-21T12:49:09+00:00",
"WhenChangedUTC": "2021-10-21T12:49:09Z",
"WhenCreated": "2021-10-21T12:49:03+00:00",
"WhenCreatedUTC": "2021-10-21T12:49:03Z",
"WhiteListedUrls": "www.test.com,https://xsoar.test.com"
}
]
}
Human Readable Output
Results of o365-defender-safelinks-policy-list
AdminDisplayName AllowClickThrough CustomNotificationText DeliverMessageAfterScan DisableUrlRewrite DistinguishedName DoNotAllowClickThrough DoNotRewriteUrls DoNotTrackUserClicks EnableForInternalSenders EnableOrganizationBranding EnableSafeLinksForTeams ExchangeObjectId ExchangeVersion ExcludedUrls Guid Id Identity IsBuiltInProtection IsDefault IsEnabled IsValid LocalizedNotificationTextList Name ObjectCategory ObjectClass ObjectState OrganizationalUnitRoot OrganizationId OriginatingServer PSComputerName PSShowComputerName RecommendedPolicyType RunspaceId ScanUrls TrackClicks WhenChanged WhenChangedUTC WhenCreated WhenCreatedUTC WhiteListedUrls Few URL true Sorry, you cant click through this URL false false CN=XSOAR Policy,CN=Safe Links,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM false XSOAR Policy EURPR07A123.PROD.OUTLOOK.COM/Configuration/Schema/ms-Exch-Smart-Links-Protection-Config [“top”,”msExchSmartLinksProtectionConfig”] Unchanged xsoartest.onmicrosoft.com EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration AM7PR07A05DC123.EURPR07A123.PROD.OUTLOOK.COM outlook.office365.com false Custom {“value”:”8501abb8-6d7c-45ca-bc0d-4c260d68d248”,”Guid”:”8501abb8-6d7c-45ca-bc0d-4c260d68d248”} false true {“value”:”2021-10-21T12:49:09+00:00”,”DateTime”:”Thursday, October 21, 2021 12:49:09 PM”} {“value”:”2021-10-21T12:49:09Z”,”DateTime”:”Thursday, October 21, 2021 12:49:09 PM”} {“value”:”2021-10-21T12:49:03+00:00”,”DateTime”:”Thursday, October 21, 2021 12:49:03 PM”} {“value”:”2021-10-21T12:49:03Z”,”DateTime”:”Thursday, October 21, 2021 12:49:03 PM”} www.test.com,https://xsoar.test.com
o365-defender-safelinks-policy-remove
Remove a Safe Links policy.
Base Command
o365-defender-safelinks-policy-remove
Input
| Argument Name | Description | Required |
|---|---|---|
| identity | The identity of the Safe Links policy that you want to remove. Available identity fields of the policy are: Name, Distinguished name (DN), and GUID. | Required |
Context Output
There is no context output for this command.
Command Example
!o365-defender-safelinks-policy-remove identity=XsoarTest
Human Readable Output
Policy with Identity: XsoarTest was removed succesfully
o365-defender-safelinks-rule-list
List Safe Links rules in your cloud-based organization.
Base Command
o365-defender-safelinks-rule-list
Input
| Argument Name | Description | Required |
|---|---|---|
| identity | The identity of the Safe Links rule that you want to view. Available identity fields are: Name, Distinguished name (DN), and GUID. | Optional |
| state | The state of the rules. Possible values are: Enabled, Disabled. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| O365Defender.SafeLinks.Rule.Comments | Unknown | Informative comments for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. |
| O365Defender.SafeLinks.Rule.Conditions | String | The rule condition. |
| O365Defender.SafeLinks.Rule.Description | String | The description of the rule. |
| O365Defender.SafeLinks.Rule.DistinguishedName | String | Rule distinguished name (DN). |
| O365Defender.SafeLinks.Rule.ExceptIfRecipientDomainIs | Unknown | Recipients with email address in the specified domains are excluded. |
| O365Defender.SafeLinks.Rule.ExceptIfSentTo | Unknown | Recipients to be excluded. |
| O365Defender.SafeLinks.Rule.ExceptIfSentToMemberOf | Unknown | Recipients in these groups are excluded. |
| O365Defender.SafeLinks.Rule.Exceptions | Unknown | Rule exceptions. |
| O365Defender.SafeLinks.Rule.Guid | String | The GUID of the rule. |
| O365Defender.SafeLinks.Rule.Identity | String | The identity of the Safe Links rule. |
| O365Defender.SafeLinks.Rule.IsValid | Boolean | Whether the rule is valid. |
| O365Defender.SafeLinks.Rule.Name | String | Rule name. |
| O365Defender.SafeLinks.Rule.ObjectState | String | The state of the rule. |
| O365Defender.SafeLinks.Rule.Priority | Number | The priority of the rule. |
| O365Defender.SafeLinks.Rule.RecipientDomainIs | Unknown | List of domains that are included in the rule. |
| O365Defender.SafeLinks.Rule.RuleVersion.Build | Number | Rule build number. |
| O365Defender.SafeLinks.Rule.RunspaceId | String | Run space ID. |
| O365Defender.SafeLinks.Rule.SafeLinksPolicy | String | The Safe Links policy that’s associated with this Safe Links rule. |
| O365Defender.SafeLinks.Rule.SentTo | Unknown | List of recipients included in the rule. |
| O365Defender.SafeLinks.Rule.SentToMemberOf | Unknown | List of distribution groups, dynamic distribution groups, or mail-enabled security groups included in the rule. |
| O365Defender.SafeLinks.Rule.State | String | The state of the rule. |
| O365Defender.SafeLinks.Rule.WhenChanged | Date | The date and time the rule was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00. |
Command Example
#### Context Example
```json
{
"O365Defender.SafeLinks.Rule(obj.Guid === val.Guid)": {
"Comments": null,
"Conditions": [
"Microsoft.Exchange.MessagingPolicies.Rules.Tasks.SentToPredicate"
],
"Description": "If the message:\r\n\tIs sent to 'xsoartest@xsoar.onmicrosoft.com'\r\nTake the following actions:\r\n\tApply safe links policy \"XSOAR Policy\".\r\n",
"DistinguishedName": "CN=XSOAR Policy,CN=SafeLinksVersioned,CN=Rules,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM",
"ExceptIfRecipientDomainIs": null,
"ExceptIfSentTo": null,
"ExceptIfSentToMemberOf": null,
"Exceptions": null,
"ExchangeVersion": "0.1 (8.0.535.0)",
"Guid": "e5764de3-5495-4512-93f5-fe96d579fbd9",
"Identity": "XSOAR Policy",
"ImmutableId": "e5764de3-5495-4512-93f5-fe96d579fbd9",
"IsValid": true,
"Name": "XSOAR Policy",
"ObjectState": "Unchanged",
"OrganizationId": "EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration",
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"Priority": 2,
"RecipientDomainIs": null,
"RuleVersion": {
"Build": 0,
"Major": 14,
"MajorRevision": 0,
"Minor": 0,
"MinorRevision": 0,
"Revision": 0
},
"RunspaceId": "72b57693-0ddb-45b0-a44f-4d722a352635",
"SafeLinksPolicy": "XSOAR Policy",
"SentTo": [
"xsoartest@xsoar.onmicrosoft.com"
],
"SentToMemberOf": null,
"State": "Enabled",
"WhenChanged": "2021-10-21T12:49:40+00:00"
}
}
Human Readable Output
Results of o365-defender-safelinks-rule-list
Comments Conditions Description DistinguishedName ExceptIfRecipientDomainIs ExceptIfSentTo ExceptIfSentToMemberOf Exceptions ExchangeVersion Guid Identity ImmutableId IsValid Name ObjectState OrganizationId Priority PSComputerName PSShowComputerName RecipientDomainIs RuleVersion RunspaceId SafeLinksPolicy SentTo SentToMemberOf State WhenChanged Changed recipients “Microsoft.Exchange.MessagingPolicies.Rules.Tasks.SentToPredicate” If the message: Is sent to ‘xsoartest@xsoar.onmicrosoft.com’\ Take the following actions: Apply safe links policy “XSOAR Policy”.\ CN=XSOAR Policy,CN=SafeLinksVersioned,CN=Rules,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM 0.1 (8.0.535.0) {“value”:”e5764de3-5495-4512-93f5-fe96d579fbd9”,”Guid”:”e5764de3-5495-4512-93f5-fe96d579fbd9”} XSOAR Policy {“value”:”e5764de3-5495-4512-93f5-fe96d579fbd9”,”Guid”:”e5764de3-5495-4512-93f5-fe96d579fbd9”} true XSOAR Policy Unchanged EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration 2 outlook.office365.com false {“Major”:14,”Minor”:0,”Build”:0,”Revision”:0,”MajorRevision”:0,”MinorRevision”:0} {“value”:”72b57693-0ddb-45b0-a44f-4d722a352635”,”Guid”:”72b57693-0ddb-45b0-a44f-4d722a352635”} XSOAR Policy “xsoartest@xsoar.onmicrosoft.com” Enabled {“value”:”2021-10-21T12:49:40+00:00”,”DateTime”:”Thursday, October 21, 2021 12:49:40 PM”}
o365-defender-safelinks-rule-create
Create a Safe Links rule in your cloud-based organization.
Base Command
o365-defender-safelinks-rule-create
Input
| Argument Name | Description | Required |
|---|---|---|
| name | A unique name for the Safe Links rule. | Required |
| safe_links_policy | The Safe Links policy to associate with this Safe Links rule. | Required |
| comments | An informative comment for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. | Optional |
| enabled | Whether the rule is enabled. Possible values are: true, false. | Optional |
| except_if_recipient_domain_is | A comma-separated list of exceptions of recipients with email address in the specified domains. | Optional |
| except_if_sent_to | A comma-separated list of exceptions of recipients in messages. | Optional |
| except_if_sent_to_member_of | A comma-separated list of exceptions of messages sent to members of groups. | Optional |
| priority | The priority value for the rule to determines the order of rule processing. A lower integer value indicates a higher priority. The value 0 is the highest priority. Rules cannot have the same priority value. | Optional |
| recipient_domain_is | A comma-separated list of recipients with email address in the specified domains. | Optional |
| sent_to | A comma-separated list of recipients in messages. You can use any value that uniquely identifies the recipient. | Optional |
| sent_to_member_of | A comma-separated list of messages sent to members of distribution groups, dynamic distribution groups, or mail-enabled security groups. You can use any value that uniquely identifies the group. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| O365Defender.SafeLinks.Rule.Comments | Unknown | Informative comments for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. |
| O365Defender.SafeLinks.Rule.Conditions | String | The rule condition. |
| O365Defender.SafeLinks.Rule.Description | String | The description of the rule. |
| O365Defender.SafeLinks.Rule.DistinguishedName | String | Rule distinguished name (DN). |
| O365Defender.SafeLinks.Rule.ExceptIfRecipientDomainIs | Unknown | Recipients with an email address in the specified domains are excluded. |
| O365Defender.SafeLinks.Rule.ExceptIfSentTo | Unknown | Recipients to be excluded. |
| O365Defender.SafeLinks.Rule.ExceptIfSentToMemberOf | Unknown | Recipients in these groups are excluded. |
| O365Defender.SafeLinks.Rule.Exceptions | Unknown | Rule exceptions. |
| O365Defender.SafeLinks.Rule.Guid | String | The GUID of the rule. |
| O365Defender.SafeLinks.Rule.Identity | String | The identity of the Safe Links rule. |
| O365Defender.SafeLinks.Rule.IsValid | Boolean | Whether the rule is valid. |
| O365Defender.SafeLinks.Rule.Name | String | Rule name. |
| O365Defender.SafeLinks.Rule.ObjectState | String | The state of the rule. |
| O365Defender.SafeLinks.Rule.Priority | Number | The priority of the rule. |
| O365Defender.SafeLinks.Rule.RecipientDomainIs | Unknown | List of domains that are included in the rule. |
| O365Defender.SafeLinks.Rule.RuleVersion.Build | Number | Rule build number. |
| O365Defender.SafeLinks.Rule.RunspaceId | String | Run space ID. |
| O365Defender.SafeLinks.Rule.SafeLinksPolicy | String | The Safe Links policy that’s associated with this Safe Links rule. |
| O365Defender.SafeLinks.Rule.SentTo | Unknown | List of recipients included in the rule. |
| O365Defender.SafeLinks.Rule.SentToMemberOf | Unknown | List of distribution groups, dynamic distribution groups, or mail-enabled security groups included in the rule. |
| O365Defender.SafeLinks.Rule.State | String | The state of the rule. |
| O365Defender.SafeLinks.Rule.WhenChanged | Date | The date and time the rule was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00. |
Command Example
!o365-defender-safelinks-rule-create name="xsoartest rule" safe_links_policy="xsoartest policy" enabled=true sent_to=xsoartest@xsoar.onmicrosoft.com
Context Example
{
"O365Defender.SafeLinks.Rule(obj.Guid === val.Guid)": {
"Comments": null,
"Conditions": [
"Microsoft.Exchange.MessagingPolicies.Rules.Tasks.SentToPredicate"
],
"Description": "If the message:\r\n\tIs sent to 'xsoartest@xsoar.onmicrosoft.com'\r\nTake the following actions:\r\n\tApply safe links policy \"xsoartest policy"\".\r\n",
"DistinguishedName": "CN=xsoartest rule,CN=SafeLinksVersioned,CN=Rules,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM",
"ExceptIfRecipientDomainIs": null,
"ExceptIfSentTo": null,
"ExceptIfSentToMemberOf": null,
"Exceptions": null,
"ExchangeVersion": "0.1 (8.0.535.0)",
"Guid": "e5764de3-5495-4512-93f5-fe96d579fbd9",
"Identity": "XSOAR Policy",
"ImmutableId": "e5764de3-5495-4512-93f5-fe96d579fbd9",
"IsValid": true,
"Name": "XSOAR Policy",
"ObjectState": "Unchanged",
"OrganizationId": "EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration",
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"Priority": 2,
"RecipientDomainIs": null,
"RuleVersion": {
"Build": 0,
"Major": 14,
"MajorRevision": 0,
"Minor": 0,
"MinorRevision": 0,
"Revision": 0
},
"RunspaceId": "72b57693-0ddb-45b0-a44f-4d722a352635",
"SafeLinksPolicy": "xsoartest policy",
"SentTo": [
"xsoartest@xsoar.onmicrosoft.com"
],
"SentToMemberOf": null,
"State": "Enabled",
"WhenChanged": "2021-10-21T12:49:40+00:00"
}
}
Human Readable Output
Results of o365-defender-safelinks-rule-create
Comments Conditions Description DistinguishedName ExceptIfRecipientDomainIs ExceptIfSentTo ExceptIfSentToMemberOf Exceptions ExchangeVersion Guid Identity ImmutableId IsValid Name ObjectState OrganizationId Priority PSComputerName PSShowComputerName RecipientDomainIs RuleVersion RunspaceId SafeLinksPolicy SentTo SentToMemberOf State WhenChanged Changed recipients “Microsoft.Exchange.MessagingPolicies.Rules.Tasks.SentToPredicate” If the message: Is sent to ‘xsoartest@xsoar.onmicrosoft.com’\ Take the following actions: Apply safe links policy “XSOAR Policy”.\ CN=XSOAR Policy,CN=SafeLinksVersioned,CN=Rules,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM 0.1 (8.0.535.0) {“value”:”e5764de3-5495-4512-93f5-fe96d579fbd9”,”Guid”:”e5764de3-5495-4512-93f5-fe96d579fbd9”} XSOAR Policy {“value”:”e5764de3-5495-4512-93f5-fe96d579fbd9”,”Guid”:”e5764de3-5495-4512-93f5-fe96d579fbd9”} true XSOAR Policy Unchanged EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration 2 outlook.office365.com false {“Major”:14,”Minor”:0,”Build”:0,”Revision”:0,”MajorRevision”:0,”MinorRevision”:0} {“value”:”72b57693-0ddb-45b0-a44f-4d722a352635”,”Guid”:”72b57693-0ddb-45b0-a44f-4d722a352635”} XSOAR Policy “xsoartest@xsoar.onmicrosoft.com” Enabled {“value”:”2021-10-21T12:49:40+00:00”,”DateTime”:”Thursday, October 21, 2021 12:49:40 PM”}
o365-defender-safelinks-rule-update
Update a given Safe Links rule.
Base Command
o365-defender-safelinks-rule-update
Input
| Argument Name | Description | Required |
|---|---|---|
| name | A unique name for the Safe Links rule. | Required |
| safe_links_policy | The Safe Links policy to associate with this Safe Links rule. | Required |
| comments | An informative comment for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. | Optional |
| enabled | Whether the rule is enabled. Possible values are: true, false. | Optional |
| except_if_recipient_domain_is | A comma-separated list of exceptions of recipients with an email address in the specified domains. | Optional |
| except_if_sent_to | A comma-separated list of exceptions of recipients in messages. | Optional |
| except_if_sent_to_member_of | A comma-separated list of exceptions of messages sent to members of groups. | Optional |
| priority | The priority value for the rule to determines the order of rule processing. A lower integer value indicates a higher priority. The value 0 is the highest priority. Rules cannot have the same priority value. | Optional |
| recipient_domain_is | A comma-separated list of recipients with an email address in the specified domains. | Optional |
| sent_to | A comma-separated list of recipients in messages. You can use any value that uniquely identifies the recipient. | Optional |
| sent_to_member_of | A comma-separated list of messages sent to members of distribution groups, dynamic distribution groups, or mail-enabled security groups. You can use any value that uniquely identifies the group. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| O365Defender.SafeLinks.Rule.Comments | Unknown | Informative comments for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. |
| O365Defender.SafeLinks.Rule.Conditions | String | The rule condition. |
| O365Defender.SafeLinks.Rule.Description | String | The description of the rule. |
| O365Defender.SafeLinks.Rule.DistinguishedName | String | Rule distinguished name (DN). |
| O365Defender.SafeLinks.Rule.ExceptIfRecipientDomainIs | Unknown | Recipients with email address in the specified domains are excluded. |
| O365Defender.SafeLinks.Rule.ExceptIfSentTo | Unknown | Recipients to be excluded. |
| O365Defender.SafeLinks.Rule.ExceptIfSentToMemberOf | Unknown | Recipients in these groups are excluded. |
| O365Defender.SafeLinks.Rule.Exceptions | Unknown | Rule exceptions. |
| O365Defender.SafeLinks.Rule.Guid | String | The GUID of the rule. |
| O365Defender.SafeLinks.Rule.Identity | String | The identity of the Safe Links rule. |
| O365Defender.SafeLinks.Rule.IsValid | Boolean | Whether the rule is valid. |
| O365Defender.SafeLinks.Rule.Name | String | Rule name. |
| O365Defender.SafeLinks.Rule.ObjectState | String | The state of the rule. |
| O365Defender.SafeLinks.Rule.Priority | Number | The priority of the rule. |
| O365Defender.SafeLinks.Rule.RecipientDomainIs | Unknown | List of domains that are included in the rule. |
| O365Defender.SafeLinks.Rule.RuleVersion.Build | Number | Rule build number. |
| O365Defender.SafeLinks.Rule.RunspaceId | String | Run space ID. |
| O365Defender.SafeLinks.Rule.SafeLinksPolicy | String | The Safe Links policy that’s associated with this Safe Links rule. |
| O365Defender.SafeLinks.Rule.SentTo | Unknown | List of recipients included in the rule. |
| O365Defender.SafeLinks.Rule.SentToMemberOf | Unknown | List of distribution groups, dynamic distribution groups, or mail-enabled security groups included in the rule. |
| O365Defender.SafeLinks.Rule.State | String | The state of the rule. |
| O365Defender.SafeLinks.Rule.WhenChanged | Date | The date and time the rule was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00. |
Command Example
!o365-defender-safelinks-rule-update name=XSOAR Rule safe_links_policy=XSOAR Policy comments="Description of the updated rule"
Context Example
{
"O365Defender.SafeLinks.Rule(obj.Guid === val.Guid)": {
"Comments": "Description of the updated rule",
"Conditions": [
"Microsoft.Exchange.MessagingPolicies.Rules.Tasks.SentToPredicate"
],
"Description": "If the message:\r\n\tIs sent to 'xsoartest@xsoar.onmicrosoft.com'\r\nTake the following actions:\r\n\tApply safe links policy \"XSOAR Policy\".\r\n",
"DistinguishedName": "CN=XSOAR Policy,CN=SafeLinksVersioned,CN=Rules,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM",
"ExceptIfRecipientDomainIs": null,
"ExceptIfSentTo": null,
"ExceptIfSentToMemberOf": null,
"Exceptions": null,
"ExchangeVersion": "0.1 (8.0.535.0)",
"Guid": "e5764de3-5495-4512-93f5-fe96d579fbd9",
"Identity": "XSOAR Policy",
"ImmutableId": "e5764de3-5495-4512-93f5-fe96d579fbd9",
"IsValid": true,
"Name": "XSOAR Rule",
"ObjectState": "Unchanged",
"OrganizationId": "EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration",
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"Priority": 2,
"RecipientDomainIs": null,
"RuleVersion": {
"Build": 0,
"Major": 14,
"MajorRevision": 0,
"Minor": 0,
"MinorRevision": 0,
"Revision": 0
},
"RunspaceId": "72b57693-0ddb-45b0-a44f-4d722a352635",
"SafeLinksPolicy": "XSOAR Policy",
"SentTo": [
"xsoartest@xsoar.onmicrosoft.com"
],
"SentToMemberOf": null,
"State": "Enabled",
"WhenChanged": "2021-10-21T12:49:40+00:00"
}
}
Human Readable Output
Results of o365-defender-safelinks-rule-update
Comments Conditions Description DistinguishedName ExceptIfRecipientDomainIs ExceptIfSentTo ExceptIfSentToMemberOf Exceptions ExchangeVersion Guid Identity ImmutableId IsValid Name ObjectState OrganizationId Priority PSComputerName PSShowComputerName RecipientDomainIs RuleVersion RunspaceId SafeLinksPolicy SentTo SentToMemberOf State WhenChanged Changed recipients “Microsoft.Exchange.MessagingPolicies.Rules.Tasks.SentToPredicate” If the message: Is sent to ‘xsoartest@xsoar.onmicrosoft.com’\ Take the following actions: Apply safe links policy “XSOAR Policy”.\ CN=XSOAR Policy,CN=SafeLinksVersioned,CN=Rules,CN=Transport Settings,CN=Configuration,CN=xsoartest.onmicrosoft.com,CN=ConfigurationUnits,DC=EURPR07A123,DC=PROD,DC=OUTLOOK,DC=COM 0.1 (8.0.535.0) {“value”:”e5764de3-5495-4512-93f5-fe96d579fbd9”,”Guid”:”e5764de3-5495-4512-93f5-fe96d579fbd9”} XSOAR Policy {“value”:”e5764de3-5495-4512-93f5-fe96d579fbd9”,”Guid”:”e5764de3-5495-4512-93f5-fe96d579fbd9”} true XSOAR Policy Unchanged EURPR07A123.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/xsoartest.onmicrosoft.com - EURPR07A123.PROD.OUTLOOK.COM/ConfigurationUnits/xsoartest.onmicrosoft.com/Configuration 2 outlook.office365.com false {“Major”:14,”Minor”:0,”Build”:0,”Revision”:0,”MajorRevision”:0,”MinorRevision”:0} {“value”:”72b57693-0ddb-45b0-a44f-4d722a352635”,”Guid”:”72b57693-0ddb-45b0-a44f-4d722a352635”} XSOAR Policy “xsoartest@xsoar.onmicrosoft.com” Enabled {“value”:”2021-10-21T12:49:40+00:00”,”DateTime”:”Thursday, October 21, 2021 12:49:40 PM”}
o365-defender-safelinks-detailed-report-get
Get detailed information about Safe Links results for the last 7 days. Yesterday is the most recent date that you can specify.
Base Command
o365-defender-safelinks-detailed-report-get
Input
| Argument Name | Description | Required |
|---|---|---|
| start_date | Start date of the date range in MM-DD-YYYY format.Yesterday is the most recent date that you can specify. You can’t specify a date that’s older than 7 days. Possible values are: . | Required |
| end_date | End date of the date range in MM-DD-YYYY format.Yesterday is the most recent date that you can specify. You can’t specify a date that’s older than 7 days. Possible values are: . | Required |
| domain | filters the results by the domain in the URL. Possible values are: . | Optional |
| app_names | filters the results by the app where the link was found. You can enter multiple values separated by commas e.g “Value1,Value2,…ValueN”. Possible values are: Email Client, OfficeDocs, Teams. | Optional |
| action | filters the results by action. You can enter multiple values separated by commas e.g Value1,Value2,…ValueN. Possible values are: Allowed, Blocked, ClickedDuringScan, ClickedEvenBlocked, Scanning, TenantAllowed, TenantBlocked, TenantBlockedAndClickedThrough. | Optional |
| recipient_address | filters the results by the recipient’s email address. Possible values are: . | Optional |
| page | Page number of the results you want to view. Valid input for this parameter is an integer between 1 and 1000. The default value is 1. Possible values are: . | Optional |
| page_size | Specifies the maximum number of entries per page. Valid input for this parameter is an integer between 1 and 5000. The default value is 1000. Possible values are: . | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| O365Defender.SafeLinks.DetailedReport.Data.ClickTime | Date | Time the url was clicked. |
| O365Defender.SafeLinks.DetailedReport.Data.InternalMessageId | String | Internal message id. |
| O365Defender.SafeLinks.DetailedReport.Data.ClientMessageId | String | Client message id. |
| O365Defender.SafeLinks.DetailedReport.Data.SenderAddress | String | Sender of the email with the clicked URL. |
| O365Defender.SafeLinks.DetailedReport.Data.RecipientAddress | String | Receiver of the email with the clicked URL. |
| O365Defender.SafeLinks.DetailedReport.Data.Url | String | Clicked URL. |
| O365Defender.SafeLinks.DetailedReport.Data.UrlDomain | String | Domain of th clicked URL. |
| O365Defender.SafeLinks.DetailedReport.Data.Action | String | Action type. |
| O365Defender.SafeLinks.DetailedReport.Data.AppName | String | App where the link was found. |
| O365Defender.SafeLinks.DetailedReport.Data.SourceId | Unknown | Source id. |
| O365Defender.SafeLinks.DetailedReport.Data.Organization | String | Organization. |
| O365Defender.SafeLinks.DetailedReport.Data.DetectedBy | Unknown | |
| O365Defender.SafeLinks.DetailedReport.Data.UrlType | Unknown | |
| O365Defender.SafeLinks.DetailedReport.Data.Flags | Number | 0: Allowed 1: Blocked 2: ClickedEvenBlocked 3: ClickedDuringScan |
| O365Defender.SafeLinks.DetailedReport.ReportId | Number | The report id, unique for every run |
Command example
!o365-defender-safelinks-detailed-report-get end_date=08-01-2022 start_date=07-31-2022
Context Example
{
"O365Defender": {
"SafeLinks": {
"DetailedReport": {
"Data": [
{
"Action": "Allowed",
"AppName": "Email Client",
"ClickTime": "2022-08-01T10:12:49",
"ClientMessageId": null,
"DetectedBy": "ATP safe links",
"EndDate": "0001-01-01T00:00:00",
"Flags": 0,
"InternalMessageId": "dc6ebe31-e968-4cf8-a4b4-08da73a65b1c",
"Organization": "test.onmicrosoft.com",
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecipientAddress": "test@test.onmicrosoft.com",
"RunspaceId": "93d2c78c-db42-41a0-b67c-5f72881b7338",
"SenderAddress": null,
"SourceId": null,
"StartDate": "0001-01-01T00:00:00",
"Url": "http://go.microsoft.com/",
"UrlDomain": "go.microsoft.com",
"UrlType": ""
}
],
"ReportId": "93d2c78c-db42-41a0-b67c-5f72881b7338"
}
}
}
}
Human Readable Output
Results of o365-defender-safelinks-detailed-report-get
| Action | AppName | ClickTime | ClientMessageId | DetectedBy | EndDate | Flags | InternalMessageId | Organization | PSComputerName | PSShowComputerName | RecipientAddress | RunspaceId | SenderAddress | SourceId | StartDate | Url | UrlDomain | UrlType |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Allowed | Email Client | {“value”:”2022-08-01T10:12:49”,”DateTime”:”Monday, August 1, 2022 10:12:49 AM”} | ATP safe links | {“value”:”0001-01-01T00:00:00”,”DateTime”:”Monday, January 1, 0001 12:00:00 AM”} | 0 | {“value”:”dc6ebe31-e968-4cf8-a4b4-08da73a65b1c”,”Guid”:”dc6ebe31-e968-4cf8-a4b4-08da73a65b1c”} | test.onmicrosoft.com | outlook.office365.com | false | test@test.onmicrosoft.com | {“value”:”39cbdab4-5b97-4f20-bb17-b0d1848183a6”,”Guid”:”39cbdab4-5b97-4f20-bb17-b0d1848183a6”} | {“value”:”0001-01-01T00:00:00”,”DateTime”:”Monday, January 1, 0001 12:00:00 AM”} | http://go.microsoft.com/ | go.microsoft.com |
o365-defender-safelinks-aggregate-report-get
general information about Safe Links results for the last 90 days. Yesterday is the most recent date that you can specify.
Base Command
o365-defender-safelinks-aggregate-report-get
Input
| Argument Name | Description | Required |
|---|---|---|
| start_date | Start date of the date range in MM-DD-YYYY format.Yesterday is the most recent date that you can specify. You can’t specify a date that’s older than 90 days. Possible values are: . | Required |
| end_date | End date of the date range in MM-DD-YYYY format.YYesterday is the most recent date that you can specify. You can’t specify a date that’s older than 90 days. Possible values are: . | Required |
| app_names | filters the results by the app where the link was found. You can enter multiple values separated by commas e.g “Value1,Value2,…ValueN”. Possible values are: Email Client, OfficeDocs, Teams. | Optional |
| action | filters the results by action. You can enter multiple values separated by commas e.g Value1,Value2,…ValueN. Possible values are: Allowed, Blocked, ClickedDuringScan, ClickedEvenBlocked, Scanning, TenantAllowed, TenantBlocked, TenantBlockedAndClickedThrough. | Optional |
| summerize_by | Returns totals based on the values you specify. Summarizing reduces the amount of data that’s retrieved for the report, and delivers the report faster. By default the summrize is by Action. Possible values are: Action, App. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| O365Defender.SafeLinks.AggregateReport.Data.App | String | App where the link was found. |
| O365Defender.SafeLinks.AggregateReport.Data.Action | String | Action type. |
| O365Defender.SafeLinks.AggregateReport.Data.MessageCount | Number | Number of messages with a link. |
| O365Defender.SafeLinks.AggregateReport.Data.RecipientCount | Number | Number of recipients of the link. |
| O365Defender.SafeLinks.AggregateReport.ReportId | Number | The report id, unique for every run |
Command example
!o365-defender-safelinks-aggregate-report-get end_date=08-01-2022 start_date=07-31-2022
Context Example
{
"O365Defender": {
"SafeLinks": {
"AggregateReport": {
"Data": [
{
"Action": "Allowed",
"App": "",
"EndDate": "0001-01-01T00:00:00",
"MessageCount": 0,
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecipientCount": 0,
"RunspaceId": "e3633f6c-e9b5-4c9d-9acc-8f669b28a974",
"StartDate": "0001-01-01T00:00:00"
},
{
"Action": "TenantAllowed",
"App": "",
"EndDate": "0001-01-01T00:00:00",
"MessageCount": 0,
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecipientCount": 0,
"RunspaceId": "e3633f6c-e9b5-4c9d-9acc-8f669b28a974",
"StartDate": "0001-01-01T00:00:00"
},
{
"Action": "Blocked",
"App": "",
"EndDate": "0001-01-01T00:00:00",
"MessageCount": 0,
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecipientCount": 0,
"RunspaceId": "e3633f6c-e9b5-4c9d-9acc-8f669b28a974",
"StartDate": "0001-01-01T00:00:00"
},
{
"Action": "TenantBlocked",
"App": "",
"EndDate": "0001-01-01T00:00:00",
"MessageCount": 0,
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecipientCount": 0,
"RunspaceId": "e3633f6c-e9b5-4c9d-9acc-8f669b28a974",
"StartDate": "0001-01-01T00:00:00"
},
{
"Action": "ClickedEvenBlocked",
"App": "",
"EndDate": "0001-01-01T00:00:00",
"MessageCount": 0,
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecipientCount": 0,
"RunspaceId": "e3633f6c-e9b5-4c9d-9acc-8f669b28a974",
"StartDate": "0001-01-01T00:00:00"
},
{
"Action": "TenantBlockedAndClickedThrough",
"App": "",
"EndDate": "0001-01-01T00:00:00",
"MessageCount": 0,
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecipientCount": 0,
"RunspaceId": "e3633f6c-e9b5-4c9d-9acc-8f669b28a974",
"StartDate": "0001-01-01T00:00:00"
},
{
"Action": "Scanning",
"App": "",
"EndDate": "0001-01-01T00:00:00",
"MessageCount": 0,
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecipientCount": 0,
"RunspaceId": "e3633f6c-e9b5-4c9d-9acc-8f669b28a974",
"StartDate": "0001-01-01T00:00:00"
},
{
"Action": "ClickedDuringScan",
"App": "",
"EndDate": "0001-01-01T00:00:00",
"MessageCount": 0,
"PSComputerName": "outlook.office365.com",
"PSShowComputerName": false,
"RecipientCount": 0,
"RunspaceId": "e3633f6c-e9b5-4c9d-9acc-8f669b28a974",
"StartDate": "0001-01-01T00:00:00"
}
],
"ReportId": "e3633f6c-e9b5-4c9d-9acc-8f669b28a974"
}
}
}
}
Human Readable Output
Results of o365-defender-safelinks-aggregate-report-get
| Action | App | EndDate | MessageCount | PSComputerName | PSShowComputerName | RecipientCount | RunspaceId | StartDate |
|---|---|---|---|---|---|---|---|---|
| Allowed | {“value”:”0001-01-01T00:00:00”,”DateTime”:”Monday, January 1, 0001 12:00:00 AM”} | 0 | outlook.office365.com | false | 0 | {“value”:”0063bc64-9230-43a9-91b3-10829ec2801f”,”Guid”:”0063bc64-9230-43a9-91b3-10829ec2801f”} | {“value”:”0001-01-01T00:00:00”,”DateTime”:”Monday, January 1, 0001 12:00:00 AM”} |
Known Limitations
- Safe Links does not work on mail-enabled public folders.
- Safe Links protection is available in the following locations:
- Office 365 apps: Safe Links protection for Office 365 apps is available in supported desktop, mobile, and web apps. You configure Safe Links protection for Office 365 apps in the global setting that are outside of Safe Links policies. For instructions, see Configure global settings for Safe Links settings in Microsoft Defender for Office 365.
- Microsoft Teams: Safe Links protection for links in Teams conversations, group chats, or from channels is also controlled by Safe Links policies. There is no default Safe Links policy, so to get the protection of Safe Links in Teams, you need to create one or more Safe Links policies.
- Email messages: Safe Links protection for links in email messages is controlled by Safe Links policies. There is no default Safe Links policy, so to get the protection of Safe Links in email messages, you need to create one or more Safe Links policies.
- Allow up to 30 minutes for a new or updated policy to be applied.
- When using the
o365-defender-safelinks-detail-report-getcommand, note the following:- The date range can’t be more than seven days.
- Yesterday is the most recent date that you can specify.
- The start date can’t be older than 10 days from today.
Configuration parameters
url— Exchange Online URL (required)credentials— Email / User Principal Name (Required)insecure— Trust any certificate (not secure)
Commands (13)
-
o365-defender-safelinks-aggregate-report-getgeneral information about Safe Links results for the last 90 days. Yesterday is the most recent date that you can specify.
-
o365-defender-safelinks-auth-completeCompletes the OAuth2.0 authorization process.
-
o365-defender-safelinks-auth-startStarts the OAuth2.0 authorization process.
-
o365-defender-safelinks-auth-testTests the OAuth2.0 authorization process.
-
o365-defender-safelinks-detail-report-getDeprecatedDeprecated, use o365-defender-safelinks-detailed-report-get instead. Gets detailed information about Safe Links results for the last 7 days. Yesterday is the most recent date you can specify. Currently, the date range can't be more than seven days.
-
o365-defender-safelinks-detailed-report-getGet detailed information about Safe Links results for the last 7 days. Yesterday is the most recent date that you can specify.
-
o365-defender-safelinks-policy-createCreate a new Safe Links policy.
-
o365-defender-safelinks-policy-listList the Safe Links policies in your cloud-based organization.
-
o365-defender-safelinks-policy-removeRemove a Safe Links policy.
-
o365-defender-safelinks-policy-updateUpdate a Safe Links policy.
-
o365-defender-safelinks-rule-createCreate a Safe Links rule in your cloud-based organization.
-
o365-defender-safelinks-rule-listList Safe Links rules in your cloud-based organization.
-
o365-defender-safelinks-rule-updateUpdate a given Safe Links rule.
category: Utilities provider: Microsoft sectionorder: - Connect - Collect commonfields: id: O365 Defender SafeLinks - Single User version: -1 configuration: - display: Exchange Online URL name: url defaultvalue: https://outlook.office365.com type: 0 required: true section: Connect - display: Email / User Principal Name (Required) displaypassword: Password (Required for Basic authentication only) name: credentials type: 9 section: Connect required: false - display: Trust any certificate (not secure) name: insecure type: 8 section: Connect advanced: true required: false description: Deprecated. Use O365 Defender SafeLinks instead. Enables URL scanning, rewriting inbound email messages in the mail flow, time-of-click URL verification, and links in email messages and other locations. display: O365 Defender SafeLinks - Single User (Deprecated) name: O365 Defender SafeLinks - Single User script: commands: - name: o365-defender-safelinks-auth-start arguments: [] description: Starts the OAuth2.0 authorization process. - name: o365-defender-safelinks-auth-complete arguments: [] description: Completes the OAuth2.0 authorization process. - name: o365-defender-safelinks-auth-test arguments: [] description: Tests the OAuth2.0 authorization process. - name: o365-defender-safelinks-policy-list arguments: - name: identity description: 'The identity of the Safe Links policy that you want to view. Available identity fields of the policy are: Name, Distinguished name (DN), and GUID.' outputs: - contextPath: O365Defender.SafeLinks.AdminDisplayName description: Policy description. type: String - contextPath: O365Defender.SafeLinks.Policy.AllowClickThrough description: Whether users are allowed to click through the original URL. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.CustomNotificationText description: The customized notification text to show to users. type: String - contextPath: O365Defender.SafeLinks.Policy.DeliverMessageAfterScan description: Whether the mail is delivered after Safe Links scanning was completed. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DisableUrlRewrite description: Whether URLs are rewritten (wrapped) in email messages. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DistinguishedName description: Policy distinguished name (DN). type: String - contextPath: O365Defender.SafeLinks.Policy.DoNotAllowClickThrough description: Whether users can click through the original URLs. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DoNotTrackUserClicks description: Whether user clicks are tracked. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DoNotRewriteUrls description: List of URLs that are not rewritten by Safe Links scanning. type: Unknown - contextPath: O365Defender.SafeLinks.Policy.EnableForInternalSenders description: Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.EnableOrganizationBranding description: Whether the organization's logo is displayed on Safe Links warning and notification pages. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.EnableSafeLinksForTeams description: Whether the Safe Links policy is enabled for Microsoft Teams. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.ExchangeObjectId description: Exchange object ID. type: String - contextPath: O365Defender.SafeLinks.Policy.ExchangeVersion description: The version of the Exchange server. type: String - contextPath: O365Defender.SafeLinks.Policy.Guid description: The GUID of the Safe Links policy. type: String - contextPath: O365Defender.SafeLinks.Policy.Id description: The ID of the Safe Links policy. type: String - contextPath: O365Defender.SafeLinks.Policy.Identity description: The identity of the Safe Links policy. type: String - contextPath: O365Defender.SafeLinks.Policy.IsDefault description: Whether the Safe Links policy is the default policy. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.IsEnabled description: Whether Safe Links protection is enabled for email messages. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.IsValid description: Whether the Safe Links policy is valid. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.Name description: Policy name. type: String - contextPath: O365Defender.SafeLinks.Policy.ObjectState description: The Safe Links policy state. type: String - contextPath: O365Defender.SafeLinks.Policy.OrganizationId description: The organization ID. type: String - contextPath: O365Defender.SafeLinks.Policy.ScanUrls description: Whether real-time scanning of clicked links in email messages is enabled. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.WhenChanged description: 'The date and time the Safe Links policy was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00.' type: Date - contextPath: O365Defender.SafeLinks.Policy.WhenChangedUTC description: 'The date and time (in UTC) the Safe Links policy was modified. Time format: YYYY-MM-DDTHH:MM:SSZ.' type: Date - contextPath: O365Defender.SafeLinks.Policy.WhenCreated description: 'The date and time the Safe Links policy was created. Time format: YYYY-MM-DDThh:mm:ss+00:00.' type: Date - contextPath: O365Defender.SafeLinks.Policy.WhenCreatedUTC description: 'The date and time (in UTC) the Safe Links policy was created. Time format: YYYY-MM-DDTHH:MM:SSZ.' type: Date description: List the Safe Links policies in your cloud-based organization. - name: o365-defender-safelinks-policy-create arguments: - name: name description: A unique name for the Safe Links policy. required: true - name: admin_display_name description: The description for the policy. - name: custom_notification_text description: The custom notification text to show to users. - name: deliver_message_after_scan description: Whether to deliver email messages only after Safe Links scanning was completed. When true, messages that contain malicious links are not delivered. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: do_not_allow_click_through description: Whether to allow users to click through to the original URL on warning pages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: do_not_rewrite_urls description: Comma-separated list of URLs that are not rewritten by Safe Links scanning. - name: do_not_track_user_clicks description: Whether to track user clicks related to Safe Links protection of links in email messages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: enable_for_internal_senders description: Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization.Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: enable_organization_branding description: Whether to display the organization's logo on Safe Links warning and notification pages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: enable_safe_links_for_teams description: Whether to enable Safe Links for Microsoft Teams. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: is_enabled description: Whether to enable Safe Links protection for email messages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: scan_urls description: Whether to enable or disable real-time scanning of clicked links in email messages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: use_translated_notification_text description: Whether to use Microsoft Translator to automatically localize the custom notification text that you specified with the CustomNotificationText parameter. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' outputs: - contextPath: O365Defender.SafeLinks.AdminDisplayName description: Policy description. type: String - contextPath: O365Defender.SafeLinks.Policy.AllowClickThrough description: Whether users are allowed to click through the original URL. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.CustomNotificationText description: The customized notification text to show to users. type: String - contextPath: O365Defender.SafeLinks.Policy.DeliverMessageAfterScan description: Whether the mail is delivered after Safe Links scanning was completed. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DisableUrlRewrite description: Whether URLs are rewritten (wrapped) in email messages. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DistinguishedName description: Policy distinguished name (DN). type: String - contextPath: O365Defender.SafeLinks.Policy.DoNotAllowClickThrough description: Whether users can click through the original URLs. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DoNotTrackUserClicks description: Whether user clicks are tracked. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DoNotRewriteUrls description: List of URLs that are not rewritten by Safe Links scanning. type: Unknown - contextPath: O365Defender.SafeLinks.Policy.EnableForInternalSenders description: Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.EnableOrganizationBranding description: Whether the organization's logo is displayed on Safe Links warning and notification pages. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.EnableSafeLinksForTeams description: Whether the Safe Links policy is enabled for Microsoft Teams. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.ExchangeObjectId description: Exchange object ID. type: String - contextPath: O365Defender.SafeLinks.Policy.ExchangeVersion description: The version of the Exchange server. type: String - contextPath: O365Defender.SafeLinks.Policy.Guid description: The GUID of the Safe Links policy. type: String - contextPath: O365Defender.SafeLinks.Policy.Id description: The ID of the Safe Links policy. type: String - contextPath: O365Defender.SafeLinks.Policy.Identity description: The identity of the Safe Links policy. type: String - contextPath: O365Defender.SafeLinks.Policy.IsDefault description: Whether the Safe Links policy is the default policy. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.IsEnabled description: Whether Safe Links protection is enabled for email messages. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.IsValid description: Whether the Safe Links policy is valid. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.Name description: Policy name. type: String - contextPath: O365Defender.SafeLinks.Policy.ObjectState description: The Safe Links policy state. type: String - contextPath: O365Defender.SafeLinks.Policy.OrganizationId description: The organization ID. type: String - contextPath: O365Defender.SafeLinks.Policy.ScanUrls description: Whether real-time scanning of clicked links in email messages is enabled. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.WhenChanged description: 'The date and time the Safe Links policy was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00.' type: Date - contextPath: O365Defender.SafeLinks.Policy.WhenChangedUTC description: 'The date and time (in UTC) the Safe Links policy was modified. Time format: YYYY-MM-DDTHH:MM:SSZ' type: Date - contextPath: O365Defender.SafeLinks.Policy.WhenCreated description: 'The date and time the Safe Links policy was created. Time format: YYYY-MM-DDThh:mm:ss+00:00.' type: Date - contextPath: O365Defender.SafeLinks.Policy.WhenCreatedUTC description: 'The date and time (in UTC) the Safe Links policy was created. Time format: YYYY-MM-DDTHH:MM:SSZ' type: Date description: Create a new Safe Links policy. - name: o365-defender-safelinks-policy-update arguments: - name: name description: A unique name for the Safe Links policy. required: true - name: admin_display_name description: The description for the policy. - name: custom_notification_text description: The custom notification text to show to users. - name: deliver_message_after_scan description: Whether to deliver email messages only after Safe Links scanning was completed. When true, messages that contain malicious links are not delivered. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: do_not_allow_click_through description: Whether to allow users to click through to the original URL on warning pages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: do_not_rewrite_urls description: Comma-separated list of URLs that are not rewritten by Safe Links scanning. - name: do_not_track_user_clicks description: Whether to track user clicks related to Safe Links protection of links in email messages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: enable_for_internal_senders description: Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: enable_organization_branding description: Whether to display the organization's logo on Safe Links warning and notification pages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: enable_safe_links_for_teams description: Whether to enable the Safe Links for Microsoft Teams. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: is_enabled description: Whether to enable Safe Links protection for email messages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: scan_urls description: Whether to enable or disable real-time scanning of clicked links in email messages. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' - name: use_translated_notification_text description: Whether to use Microsoft Translator to automatically localize the custom notification text that you specified with the CustomNotificationText parameter. Default is false. auto: PREDEFINED predefined: - 'true' - 'false' outputs: - contextPath: O365Defender.SafeLinks.AdminDisplayName description: Policy description. type: String - contextPath: O365Defender.SafeLinks.Policy.AllowClickThrough description: Whether users are allowed to click through the original URL. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.CustomNotificationText description: The customized notification text to show to users. type: String - contextPath: O365Defender.SafeLinks.Policy.DeliverMessageAfterScan description: Whether the mail is delivered after Safe Links scanning was completed. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DisableUrlRewrite description: Whether URLs are rewritten (wrapped) in email messages. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DistinguishedName description: Policy distinguished name (DN). type: String - contextPath: O365Defender.SafeLinks.Policy.DoNotAllowClickThrough description: Whether users can click through the original URLs. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DoNotTrackUserClicks description: Whether user clicks are tracked. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.DoNotRewriteUrls description: List of URLs that are not rewritten by Safe Links scanning. type: Unknown - contextPath: O365Defender.SafeLinks.Policy.EnableForInternalSenders description: Whether the Safe Links policy is applied to messages sent between internal senders and internal recipients within the same Exchange Online organization. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.EnableOrganizationBranding description: whether the organization's logo is displayed on Safe Links warning and notification pages. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.EnableSafeLinksForTeams description: Whether the Safe Links policy is enabled for Microsoft Teams. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.ExchangeObjectId description: Exchange object ID. type: String - contextPath: O365Defender.SafeLinks.Policy.ExchangeVersion description: The version of the Exchange server. type: String - contextPath: O365Defender.SafeLinks.Policy.Guid description: The GUID of the Safe Links policy. type: String - contextPath: O365Defender.SafeLinks.Policy.Id description: The ID of the Safe Links policy. type: String - contextPath: O365Defender.SafeLinks.Policy.Identity description: The identity of the Safe Links policy. type: String - contextPath: O365Defender.SafeLinks.Policy.IsDefault description: Whether the Safe Links policy is the default policy. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.IsEnabled description: Whether Safe Links protection is enabled for email messages. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.IsValid description: Whether the Safe Links policy is valid. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.Name description: Policy name. type: String - contextPath: O365Defender.SafeLinks.Policy.ObjectState description: The Safe Links policy state. type: String - contextPath: O365Defender.SafeLinks.Policy.OrganizationId description: The organization ID. type: String - contextPath: O365Defender.SafeLinks.Policy.ScanUrls description: Whether real-time scanning of clicked links in email messages is enabled. type: Boolean - contextPath: O365Defender.SafeLinks.Policy.WhenChanged description: 'The date and time the Safe Links policy was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00.' type: Date - contextPath: O365Defender.SafeLinks.Policy.WhenChangedUTC description: 'The date and time (in UTC) the Safe Links policy was modified. Time format: YYYY-MM-DDTHH:MM:SSZ.' type: Date - contextPath: O365Defender.SafeLinks.Policy.WhenCreated description: 'The date and time the Safe Links policy was created. Time format: YYYY-MM-DDThh:mm:ss+00:00.' type: Date - contextPath: O365Defender.SafeLinks.Policy.WhenCreatedUTC description: 'The date and time (in UTC) the Safe Links policy was created. Time format: YYYY-MM-DDTHH:MM:SSZ.' type: Date description: Update a Safe Links policy. - name: o365-defender-safelinks-policy-remove arguments: - name: identity description: 'The identity of the Safe Links policy that you want to remove. Available identity fields of the policy are: Name, Distinguished name (DN), and GUID.' required: true outputs: [] description: Remove a Safe Links policy. - name: o365-defender-safelinks-rule-list arguments: - name: identity description: 'The identity of the Safe Links rule that you want to view. Available identity fields are: Name, Distinguished name (DN), and GUID.' - name: state description: The state of the rules. auto: PREDEFINED predefined: - Enabled - Disabled outputs: - contextPath: O365Defender.SafeLinks.Rule.Comments description: Informative comments for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.Conditions description: The rule condition. type: String - contextPath: O365Defender.SafeLinks.Rule.Description description: The description of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.DistinguishedName description: Rule distinguished name (DN). type: String - contextPath: O365Defender.SafeLinks.Rule.ExceptIfRecipientDomainIs description: Recipients with email address in the specified domains are excluded. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.ExceptIfSentTo description: Recipients to be excluded. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.ExceptIfSentToMemberOf description: Recipients in these groups are excluded. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.Exceptions description: Rule exceptions. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.Guid description: The GUID of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.Identity description: The identity of the Safe Links rule. type: String - contextPath: O365Defender.SafeLinks.Rule.IsValid description: Whether the rule is valid. type: Boolean - contextPath: O365Defender.SafeLinks.Rule.Name description: Rule name. type: String - contextPath: O365Defender.SafeLinks.Rule.ObjectState description: The state of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.Priority description: The priority of the rule. type: Number - contextPath: O365Defender.SafeLinks.Rule.RecipientDomainIs description: List of domains that are included in the rule. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.RuleVersion.Build description: Rule build number. type: Number - contextPath: O365Defender.SafeLinks.Rule.RunspaceId description: Run space ID. type: String - contextPath: O365Defender.SafeLinks.Rule.SafeLinksPolicy description: The Safe Links policy that's associated with this Safe Links rule. type: String - contextPath: O365Defender.SafeLinks.Rule.SentTo description: List of recipients included in the rule. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.SentToMemberOf description: List of distribution groups, dynamic distribution groups, or mail-enabled security groups included in the rule. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.State description: The state of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.WhenChanged description: 'The date and time the rule was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00.' type: Date description: List Safe Links rules in your cloud-based organization. - name: o365-defender-safelinks-rule-create description: Create a Safe Links rule in your cloud-based organization. arguments: - name: name description: A unique name for the Safe Links rule. required: true - name: safe_links_policy description: The Safe Links policy to associate with this Safe Links rule. required: true - name: comments description: An informative comment for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. - name: enabled description: Whether the rule is enabled. auto: PREDEFINED predefined: - 'true' - 'false' - name: except_if_recipient_domain_is description: A comma-separated list of exceptions of recipients with email address in the specified domains. isArray: true - name: except_if_sent_to description: A comma-separated list of exceptions of recipients in messages. isArray: true - name: except_if_sent_to_member_of description: A comma-separated list of exceptions of messages sent to members of groups. isArray: true - name: priority description: The priority value for the rule to determines the order of rule processing. A lower integer value indicates a higher priority. The value 0 is the highest priority. Rules cannot have the same priority value. - name: recipient_domain_is description: A comma-separated list of recipients with email address in the specified domains. isArray: true - name: sent_to description: A comma-separated list of recipients in messages. You can use any value that uniquely identifies the recipient. isArray: true - name: sent_to_member_of description: A comma-separated list of messages sent to members of distribution groups, dynamic distribution groups, or mail-enabled security groups. You can use any value that uniquely identifies the group. isArray: true outputs: - contextPath: O365Defender.SafeLinks.Rule.Comments description: Informative comments for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.Conditions description: The rule condition. type: String - contextPath: O365Defender.SafeLinks.Rule.Description description: The description of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.DistinguishedName description: Rule distinguished name (DN). type: String - contextPath: O365Defender.SafeLinks.Rule.ExceptIfRecipientDomainIs description: Recipients with an email address in the specified domains are excluded. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.ExceptIfSentTo description: Recipients to be excluded. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.ExceptIfSentToMemberOf description: Recipients in these groups are excluded. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.Exceptions description: Rule exceptions. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.Guid description: The GUID of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.Identity description: The identity of the Safe Links rule. type: String - contextPath: O365Defender.SafeLinks.Rule.IsValid description: Whether the rule is valid. type: Boolean - contextPath: O365Defender.SafeLinks.Rule.Name description: Rule name. type: String - contextPath: O365Defender.SafeLinks.Rule.ObjectState description: The state of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.Priority description: The priority of the rule. type: Number - contextPath: O365Defender.SafeLinks.Rule.RecipientDomainIs description: List of domains that are included in the rule. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.RuleVersion.Build description: Rule build number. type: Number - contextPath: O365Defender.SafeLinks.Rule.RunspaceId description: Run space ID. type: String - contextPath: O365Defender.SafeLinks.Rule.SafeLinksPolicy description: The Safe Links policy that's associated with this Safe Links rule. type: String - contextPath: O365Defender.SafeLinks.Rule.SentTo description: List of recipients included in the rule. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.SentToMemberOf description: List of distribution groups, dynamic distribution groups, or mail-enabled security groups included in the rule. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.State description: The state of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.WhenChanged description: 'The date and time the rule was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00.' type: Date - name: o365-defender-safelinks-rule-update description: Update a given Safe Links rule. arguments: - name: name description: A unique name for the Safe Links rule. required: true - name: safe_links_policy description: The Safe Links policy to associate with this Safe Links rule. required: true - name: comments description: An informative comment for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. - name: enabled description: Whether the rule is enabled. auto: PREDEFINED predefined: - 'true' - 'false' - name: except_if_recipient_domain_is description: A comma-separated list of exceptions of recipients with an email address in the specified domains. isArray: true - name: except_if_sent_to description: A comma-separated list of exceptions of recipients in messages. isArray: true - name: except_if_sent_to_member_of description: A comma-separated list of exceptions of messages sent to members of groups. isArray: true - name: priority description: The priority value for the rule to determines the order of rule processing. A lower integer value indicates a higher priority. The value 0 is the highest priority. Rules cannot have the same priority value. - name: recipient_domain_is description: A comma-separated list of recipients with an email address in the specified domains. isArray: true - name: sent_to description: A comma-separated list of recipients in messages. You can use any value that uniquely identifies the recipient. isArray: true - name: sent_to_member_of description: A comma-separated list of messages sent to members of distribution groups, dynamic distribution groups, or mail-enabled security groups. You can use any value that uniquely identifies the group. isArray: true outputs: - contextPath: O365Defender.SafeLinks.Rule.Comments description: Informative comments for the rule, such as what the rule is used for or how it has changed over time. The length of the comment cannot exceed 1024 characters. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.Conditions description: The rule condition. type: String - contextPath: O365Defender.SafeLinks.Rule.Description description: The description of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.DistinguishedName description: Rule distinguished name (DN). type: String - contextPath: O365Defender.SafeLinks.Rule.ExceptIfRecipientDomainIs description: Recipients with email address in the specified domains are excluded. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.ExceptIfSentTo description: Recipients to be excluded. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.ExceptIfSentToMemberOf description: Recipients in these groups are excluded. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.Exceptions description: Rule exceptions. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.Guid description: The GUID of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.Identity description: The identity of the Safe Links rule. type: String - contextPath: O365Defender.SafeLinks.Rule.IsValid description: Whether the rule is valid. type: Boolean - contextPath: O365Defender.SafeLinks.Rule.Name description: Rule name. type: String - contextPath: O365Defender.SafeLinks.Rule.ObjectState description: The state of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.Priority description: The priority of the rule. type: Number - contextPath: O365Defender.SafeLinks.Rule.RecipientDomainIs description: List of domains that are included in the rule. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.RuleVersion.Build description: Rule build number. type: Number - contextPath: O365Defender.SafeLinks.Rule.RunspaceId description: Run space ID. type: String - contextPath: O365Defender.SafeLinks.Rule.SafeLinksPolicy description: The Safe Links policy that's associated with this Safe Links rule. type: String - contextPath: O365Defender.SafeLinks.Rule.SentTo description: List of recipients included in the rule. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.SentToMemberOf description: List of distribution groups, dynamic distribution groups, or mail-enabled security groups included in the rule. type: Unknown - contextPath: O365Defender.SafeLinks.Rule.State description: The state of the rule. type: String - contextPath: O365Defender.SafeLinks.Rule.WhenChanged description: 'The date and time the rule was modified. Time format: YYYY-MM-DDThh:mm:ss+00:00.' type: Date - name: o365-defender-safelinks-detail-report-get description: Deprecated, use o365-defender-safelinks-detailed-report-get instead. Gets detailed information about Safe Links results for the last 7 days. Yesterday is the most recent date you can specify. Currently, the date range can't be more than seven days. deprecated: true arguments: - name: start_date description: |- The start date of the date range. Yesterday is the most recent date you can specify, and the start date can't be earlier than 10 days before today. Currently, the date range can't be more than seven days. Date format: mm/dd/yyyy required: true - name: end_date description: |- The end date of the date range. Currently, the date range can't be more than seven days. If no value was provided, the end date is set to the date of the command execution. Date format: mm/dd/yyyy. required: true - name: action description: Filters the results by action. You can specify multiple values separated by commas. Can be "Allowed", "Blocked", "ClickedEvenBlocked", or "ClickedDuringScan". auto: PREDEFINED predefined: - Allowed - Blocked - ClickedEvenBlocked - ClickedDuringScan - name: app_names description: Filters the results by the app where the link was found. You can specify multiple values separated by commas. Can be "Email Client", "Excel", "OneNote", "Others", "Outlook", "PowerPoint", "Teams", "Visio", or "Word". auto: PREDEFINED predefined: - Email Client - Excel - OneNote - Others - Outlook - PowerPoint - Teams - Visio - Word - name: domain description: Filters the results by the specified domain in the URL. You can specify multiple values separated by commas. - name: recipient_address description: Filters the results by the given recipient's email address. You can specify multiple values separated by commas. - name: page description: Sets the page number of the results you want to view. Valid input is a number between 1 and 1000. The default value is 1. outputs: - contextPath: O365SafeLinksStats.DetailReport.ClickedTime description: The date the link was clicked. type: date - contextPath: O365SafeLinksStats.DetailReport.Recipient description: The recipient that received the link. type: string - contextPath: O365SafeLinksStats.DetailReport.URL description: The URL that was clicked. type: string - contextPath: O365SafeLinksStats.DetailReport.UrlBlocked description: The URL was detected as malicious by Safe Links (only the initial block, not subsequent clicks), or the user clicked the URL while the scan was in progress (users are taken to a notification page that asks them to try again after the scan is complete). type: string - contextPath: O365SafeLinksStats.DetailReport.UrlClicked description: The URL is blocked, but the applicable Safe Links policy has the DoNotAllowClickThrough parameter value set to false (click through is allowed). Updated policies aren't applied to existing messages that have already been scanned. New or updated policies are applied to new messages that are received after the policy is applied to the mailbox. type: string - contextPath: O365SafeLinksStats.DetailReport.ClickAction description: 'The action of a specific click. Possible values are: • None: Unable to capture the verdict for the URL. The user may have clicked through the URL. • Allowed: The user was allowed to navigate to the URL. • Blocked: The user was blocked from navigating to the URL. • Pending verdict: The user was presented with the detonation pending page. • Blocked overridden: The user was blocked from navigating to the URL; however, the user overrode the block to navigate to the URL. • Pending verdict bypassed: The user was presented with the detonation page; however, the user overrode the page to navigate to the URL. • Error: The user was presented with the error page. This can also mean there was an error in capturing the verdict. • Failure: There was an unknown exception while capturing the verdict. The user may have clicked through the URL.' type: string - contextPath: O365SafeLinksStats.DetailReport.Workload description: The workload of the delivered link. type: string - contextPath: O365SafeLinksStats.DetailReport.AppName description: The application name. type: string - name: o365-defender-safelinks-detailed-report-get description: Get detailed information about Safe Links results for the last 7 days. Yesterday is the most recent date that you can specify. arguments: - name: start_date description: Start date of the date range in MM-DD-YYYY format. Yesterday is the most recent date that you can specify. You can't specify a date that's older than 7 days. required: true defaultValue: '' predefined: - '' - name: end_date description: End date of the date range in MM-DD-YYYY format. Yesterday is the most recent date that you can specify. You can't specify a date that's older than 7 days. required: true defaultValue: '' predefined: - '' - name: domain description: ' filters the results by the domain in the URL.' isArray: true defaultValue: '' predefined: - '' - name: app_names description: ' filters the results by the app where the link was found. You can enter multiple values separated by commas e.g "Value1,Value2,...ValueN".' isArray: true defaultValue: '' predefined: - Email Client - OfficeDocs - Teams auto: PREDEFINED - name: action description: filters the results by action. You can enter multiple values separated by commas e.g Value1,Value2,...ValueN. isArray: true defaultValue: '' predefined: - Allowed - Blocked - ClickedDuringScan - ClickedEvenBlocked - Scanning - TenantAllowed - TenantBlocked - TenantBlockedAndClickedThrough auto: PREDEFINED - name: recipient_address description: " filters the results by the recipient's email address." isArray: true defaultValue: '' predefined: - '' - name: page description: Page number of the results you want to view. Valid input for this parameter is an integer between 1 and 1000. The default value is 1. defaultValue: '' predefined: - '' - name: page_size description: Specifies the maximum number of entries per page. Valid input for this parameter is an integer between 1 and 5000. The default value is 1000. defaultValue: '' predefined: - '' outputs: - contextPath: O365Defender.SafeLinks.DetailedReport.Data.ClickTime description: Time the url was clicked. type: Date - contextPath: O365Defender.SafeLinks.DetailedReport.Data.InternalMessageId description: Internal message id. type: String - contextPath: O365Defender.SafeLinks.DetailedReport.Data.ClientMessageId description: Client message id. type: String - contextPath: O365Defender.SafeLinks.DetailedReport.Data.SenderAddress description: Sender of the email with the clicked URL. type: String - contextPath: O365Defender.SafeLinks.DetailedReport.Data.RecipientAddress description: Receiver of the email with the clicked URL. type: String - contextPath: O365Defender.SafeLinks.DetailedReport.Data.Url description: Clicked URL. type: String - contextPath: O365Defender.SafeLinks.DetailedReport.Data.UrlDomain description: Domain of th clicked URL. type: String - contextPath: O365Defender.SafeLinks.DetailedReport.Data.Action description: Action type. type: String - contextPath: O365Defender.SafeLinks.DetailedReport.Data.AppName description: App where the link was found. type: String - contextPath: O365Defender.SafeLinks.DetailedReport.Data.SourceId description: Source id. type: Unknown - contextPath: O365Defender.SafeLinks.DetailedReport.Data.Organization description: Organization. type: String - contextPath: O365Defender.SafeLinks.DetailedReport.Data.DetectedBy description: '' type: Unknown - contextPath: O365Defender.SafeLinks.DetailedReport.Data.UrlType description: '' type: Unknown - contextPath: O365Defender.SafeLinks.DetailedReport.Data.Flags description: '0: Allowed 1: Blocked 2: ClickedEvenBlocked 3: ClickedDuringScan' type: Number - contextPath: O365Defender.SafeLinks.DetailedReport.ReportId description: The report id, unique for every run type: Number - name: o365-defender-safelinks-aggregate-report-get description: general information about Safe Links results for the last 90 days. Yesterday is the most recent date that you can specify. arguments: - name: start_date description: Start date of the date range in MM-DD-YYYY format. Yesterday is the most recent date that you can specify. You can't specify a date that's older than 90 days. required: true defaultValue: '' predefined: - '' - name: end_date description: End date of the date range in MM-DD-YYYY format. Yesterday is the most recent date that you can specify. You can't specify a date that's older than 90 days. required: true defaultValue: '' predefined: - '' - name: app_names description: ' filters the results by the app where the link was found. You can enter multiple values separated by commas e.g "Value1,Value2,...ValueN".' isArray: true defaultValue: '' predefined: - Email Client - OfficeDocs - Teams auto: PREDEFINED - name: action description: filters the results by action. You can enter multiple values separated by commas e.g Value1,Value2,...ValueN. isArray: true defaultValue: '' predefined: - Allowed - Blocked - ClickedDuringScan - ClickedEvenBlocked - Scanning - TenantAllowed - TenantBlocked - TenantBlockedAndClickedThrough auto: PREDEFINED - name: summerize_by description: Returns totals based on the values you specify. Summarizing reduces the amount of data that's retrieved for the report, and delivers the report faster. By default the summrize is by Action. defaultValue: '' predefined: - Action - App auto: PREDEFINED outputs: - contextPath: O365Defender.SafeLinks.AggregateReport.Data.App description: App where the link was found. type: String - contextPath: O365Defender.SafeLinks.AggregateReport.Data.Action description: Action type. type: String - contextPath: O365Defender.SafeLinks.AggregateReport.Data.MessageCount description: Number of messages with a link. type: Number - contextPath: O365Defender.SafeLinks.AggregateReport.Data.RecipientCount description: Number of recipients of the link. type: Number - contextPath: O365Defender.SafeLinks.AggregateReport.ReportId description: The report id, unique for every run type: Number runonce: false script: '-' type: powershell dockerimage: demisto/powershell-ubuntu:7.4.1.86201 deprecated: true fromversion: 6.0.0 tests: - No Test