-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
O365DefenderSafeLinksSingleUser.yml
965 lines (965 loc) · 45 KB
/
O365DefenderSafeLinksSingleUser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
category: Utilities
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: 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
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
fromversion: 6.0.0
tests:
- No Test