/
CiscoEmailSecurityApplianceIronPortV2.yml
executable file
·972 lines (972 loc) · 32.8 KB
/
CiscoEmailSecurityApplianceIronPortV2.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
966
967
968
969
970
971
972
commonfields:
id: CiscoESA
version: -1
name: CiscoESA
display: Cisco ESA
category: Network Security
description: The Cisco Email Security Appliance is an email security gateway product. It is designed to detect and block a wide variety of email-born threats, such as malware, spam and phishing attempts.
configuration:
- name: base_url
display: Server URL
required: true
type: 0
additionalinfo: Base URL, e.g., https://XXX.eu.iphmx.com
- name: credentials
display: Username
required: true
type: 9
additionalinfo: ""
displaypassword: Password
- name: max_fetch
display: Maximum incidents per fetch
defaultvalue: 50
type: 0
additionalinfo: Default is 50. Maximum is 100.
required: false
- name: first_fetch
display: First fetch timestamp
defaultvalue: 7 days
type: 0
additionalinfo: |-
Timestamp in ISO format or <number> <time unit>,
e.g., 2022-01-01T00:00:00.000Z, 12 hours, 7 days, 3 months, now.
required: false
- name: filter_by
display: Filter by
type: 15
additionalinfo: The message field by which to fetch results.
options:
- from_address
- to_address
- subject
required: false
- name: filter_operator
display: Filter operator
type: 15
additionalinfo: The message field operator by which to fetch results.
options:
- contains
- is
- begins_with
- ends_with
- does_not_contain
required: false
- name: filter_value
display: Filter value
type: 0
additionalinfo: The message filter value by which to fetch results.
required: false
- name: recipient_filter_operator
display: Recipient filter operator
type: 15
additionalinfo: The message recipient filter operator by which to fetch results.
options:
- contains
- is
- begins_with
- ends_with
- does_not_contain
required: false
- name: recipient_filter_value
display: Recipient filter value
type: 0
additionalinfo: The message recipient filter value by which to fetch results.
required: false
- name: jwt_token_expiration_period
display: Time to live for JWT session token (in minutes).
defaultvalue: 30
type: 0
required: false
- name: proxy
display: Use system proxy settings
defaultvalue: "false"
type: 8
additionalinfo:
required: false
- display: Trust any certificate (not secure)
name: insecure
type: 8
defaultvalue: "false"
additionalinfo:
required: false
- display: Incident type
name: incidentType
type: 13
required: false
- display: Fetch incidents
name: isFetch
type: 8
required: false
script:
script: ""
type: python
subtype: python3
dockerimage: demisto/python3:3.10.12.68714
isfetch: true
commands:
- name: cisco-esa-spam-quarantine-message-search
description: Search messages in the spam quarantine.
arguments:
- name: start_date
description: |-
Start date in ISO format or <number> <time unit>,
e.g., 2022-01-01T00:00:00.000Z, 12 hours, 7 days, 3 months, now.
required: true
- name: end_date
description: |-
End date in ISO format or <number> <time unit>,
e.g., 2022-01-01T00:00:00.000Z, 12 hours, 7 days, 3 months, now.
required: true
- name: filter_by
description: The message field by which to filter the results.
auto: PREDEFINED
predefined:
- from_address
- to_address
- subject
- name: filter_operator
description: Filter operator by which to filter the results.
auto: PREDEFINED
predefined:
- contains
- is
- begins_with
- ends_with
- does_not_contain
- name: filter_value
description: The value to search for. This is a user defined value. D.g., filterValue=abc.com.
- name: recipient_filter_operator
description: Recipient operator filter by which to filter the results.
auto: PREDEFINED
predefined:
- contains
- is
- begins_with
- ends_with
- does_not_contain
- name: recipient_filter_value
description: Recipient filter by which to filter the results.
- name: order_by
description: The attribute by which to order the data in the response.
auto: PREDEFINED
predefined:
- from_address
- date
- subject
- size
- name: order_dir
description: Results order direction.
auto: PREDEFINED
predefined:
- asc
- desc
- name: page
description: |-
Page number of paginated results.
Minimum value: 1.
- name: page_size
description: Number of results per page. Maximum value 100.
- name: limit
defaultValue: 50
description: The maximum number of records to retrieve.
outputs:
- contextPath: CiscoESA.SpamQuarantineMessage.envelopeRecipient
description: Recipient email address.
type: String
- contextPath: CiscoESA.SpamQuarantineMessage.toAddress
description: Recipient email address.
type: String
- contextPath: CiscoESA.SpamQuarantineMessage.subject
description: Email subject.
type: String
- contextPath: CiscoESA.SpamQuarantineMessage.date
description: Email due date.
type: String
- contextPath: CiscoESA.SpamQuarantineMessage.fromAddress
description: Sender email address.
type: String
- contextPath: CiscoESA.SpamQuarantineMessage.size
description: email size.
type: String
- contextPath: CiscoESA.SpamQuarantineMessage.mid
description: Message ID.
type: Number
- name: cisco-esa-spam-quarantine-message-get
description: Get spam quarantine message details.
arguments:
- name: message_id
description: Message ID.
required: true
outputs:
- type: String
contextPath: CiscoESA.SpamQuarantineMessage.envelopeRecipient
description: Message recipient.
- type: String
contextPath: CiscoESA.SpamQuarantineMessage.toAddress
description: Message recipient.
- type: String
contextPath: CiscoESA.SpamQuarantineMessage.messageBody
description: Message body.
- type: String
contextPath: CiscoESA.SpamQuarantineMessage.date
description: Message date.
- type: String
contextPath: CiscoESA.SpamQuarantineMessage.fromAddress
description: Message sender.
- type: String
contextPath: CiscoESA.SpamQuarantineMessage.subject
description: Message subject.
- type: Number
contextPath: CiscoESA.SpamQuarantineMessage.mid
description: Message ID.
- name: cisco-esa-spam-quarantine-message-release
description: Release quarantine emails.
arguments:
- name: message_ids
description: A comma-separated list of message IDs.
required: true
isArray: true
outputs: []
- name: cisco-esa-spam-quarantine-message-delete
description: Delete quarantine emails.
arguments:
- name: message_ids
description: A comma-separated list of message IDs to delete.
required: true
isArray: true
outputs: []
- name: cisco-esa-list-entry-get
description: Get spam quarantine blocklist/safelist entry.
arguments:
- name: entry_type
description: List entry type.
required: true
auto: PREDEFINED
predefined:
- blocklist
- safelist
- name: page
description: |-
Page number of paginated results.
Minimum value: 1.
- name: page_size
description: Number of results per page. Maximum value 100.
- name: limit
defaultValue: 50
description: The maximum number of records to retrieve.
- name: order_by
description: The attribute by which to order the data in the response.
auto: PREDEFINED
predefined:
- recipient
- sender
- name: order_dir
description: Results order direction.
auto: PREDEFINED
predefined:
- asc
- desc
- name: view_by
description: View results by.
defaultValue: recipient
auto: PREDEFINED
predefined:
- recipient
- sender
- name: search
description: |-
Search for recipients or senders in blocklist/safelist with 'contains' operator.
e.g., test@test.com, test.com
This is only supported for the argument view_by=recipient.
outputs:
- type: String
contextPath: CiscoESA.ListEntry.Blocklist.senderList
description: Block list sender list.
- type: String
contextPath: CiscoESA.ListEntry.Blocklist.recipientAddress
description: Block list recipient address.
- type: String
contextPath: CiscoESA.ListEntry.Blocklist.recipientList
description: Block list recipient list.
- type: String
contextPath: CiscoESA.ListEntry.Blocklist.senderAddress
description: Block list sender address.
- type: String
contextPath: CiscoESA.ListEntry.Safelist.senderList
description: Safe list sender list.
- type: String
contextPath: CiscoESA.ListEntry.Safelist.recipientAddress
description: Safe list recipient address.
- type: String
contextPath: CiscoESA.ListEntry.Safelist.recipientList
description: Safe list recipient list.
- type: String
contextPath: CiscoESA.ListEntry.Safelist.senderAddress
description: Safe list sender address.
- name: cisco-esa-list-entry-add
description: Add spam quarantine blocklist/safelist entry.
arguments:
- name: entry_type
description: List entry type.
required: true
auto: PREDEFINED
predefined:
- blocklist
- safelist
- name: view_by
description: |-
Add list entry by recipient/sender.
When view_by = recipient, recipient_addresses and sender_list are mandatory.
When view_by = sender, sender_addresses and recipient_list are mandatory.
defaultValue: recipient
auto: PREDEFINED
predefined:
- recipient
- sender
- name: recipient_addresses
description: A comma-separated list of recipient addresses to add.
isArray: true
- name: sender_list
description: A comma-separated list of senders to add.
isArray: true
- name: sender_addresses
description: A comma-separated list of sender addresses to add.
isArray: true
- name: recipient_list
description: A comma-separated list of recipients to add.
isArray: true
outputs: []
- name: cisco-esa-list-entry-append
description: Append spam quarantine blocklist/safelist entry.
arguments:
- name: entry_type
description: List entry type.
required: true
auto: PREDEFINED
predefined:
- blocklist
- safelist
- name: view_by
description: |-
Append list entry by recipient/sender.
When view_by = recipient, recipient_addresses and sender_list are mandatory.
When view_by = sender, sender_addresses and recipient_list are mandatory.
defaultValue: recipient
auto: PREDEFINED
predefined:
- recipient
- sender
- name: recipient_list
description: A comma-separated list of recipients to append.
isArray: true
- name: sender_list
description: A comma-separated list of senders to append.
- name: recipient_addresses
description: A comma-separated list of recipient addresses to append.
- name: sender_addresses
description: A comma-separated list of sender addresses to append.
outputs: []
- name: cisco-esa-list-entry-edit
description: Edit spam quarantine blocklist/safelist entry. Using this command will override the existing value.
arguments:
- name: entry_type
description: List entry type.
required: true
auto: PREDEFINED
predefined:
- blocklist
- safelist
- name: view_by
description: |-
Edit list entry by recipient/sender.
When view_by = recipient, recipient_addresses and sender_list are mandatory.
When view_by = sender, sender_addresses and recipient_list are mandatory.
defaultValue: recipient
auto: PREDEFINED
predefined:
- recipient
- sender
- name: recipient_list
description: A comma-separated list of recipients to edit.
isArray: true
- name: sender_list
description: A comma-separated list of senders to edit.
- name: recipient_addresses
description: A comma-separated list of recipient addresses to edit.
- name: sender_addresses
description: A comma-separated list of sender addresses to edit.
outputs: []
- name: cisco-esa-list-entry-delete
description: Delete spam quarantine blocklist/safelist entry.
arguments:
- name: entry_type
description: List entry type.
required: true
auto: PREDEFINED
predefined:
- blocklist
- safelist
- name: view_by
description: |-
Delete list entry by recipient/sender.
When view_by = recipient, recipient_list is mandatory.
When view_by = sender, sender_list is mandatory.
defaultValue: recipient
auto: PREDEFINED
predefined:
- recipient
- sender
- name: recipient_list
description: List of recipient/sender addresses to delete.
isArray: true
- name: sender_list
description: List of recipient/sender addresses to delete.
isArray: true
outputs: []
- name: cisco-esa-message-search
description: Search tracking messages.
arguments:
- name: start_date
description: |-
Start date in ISO format or <number> <time unit>,
e.g., 2022-01-01T00:00:00.000Z, 12 hours, 7 days, 3 months, now.
required: true
- name: end_date
description: |-
End date in ISO format or <number> <time unit>,
e.g., 2022-01-01T00:00:00.000Z, 12 hours, 7 days, 3 months, now.
required: true
- name: page
description: |-
Page number of paginated results.
Minimum value: 1.
- name: page_size
description: Number of results per page. Maximum value 100.
- name: limit
defaultValue: 50
description: The maximum number of records to retrieve.
- name: sender_filter_operator
description: Sender filter operator.
auto: PREDEFINED
predefined:
- contains
- is
- begins_with
- name: sender_filter_value
description: Sender filter value.
- name: recipient_filter_operator
description: Recipient filter operator.
auto: PREDEFINED
predefined:
- contains
- is
- begins_with
- name: recipient_filter_value
description: Recipient filter value.
- name: subject_filter_operator
description: Subject filter operator.
auto: PREDEFINED
predefined:
- contains
- is
- begins_with
- name: subject_filter_value
description: Subject filter value.
- name: attachment_name_operator
description: Attachment name operator.
auto: PREDEFINED
predefined:
- contains
- is
- begins_with
- name: attachment_name_value
description: Attachment name value.
- name: file_sha_256
description: |-
SHA256 must be 64 characters long and can contain only "0-9" and "a-f" characters.
e.g. e0d123e5f316bef78bfdf5a008837577e0d123e5f316bef78bfdf5a008837577
- name: custom_query
description: |-
Custom query for cisco ESA's advanced filters.
Syntax: <key>=<value>;<key>=<value>;<key>=<value>
e.g., graymail=True;message_delivered=True
outputs:
- type: String
contextPath: CiscoESA.Message.hostName
description: Email gateway hostname.
- type: String
contextPath: CiscoESA.Message.friendly_from
description: Friendly formatted sender email address.
- type: String
contextPath: CiscoESA.Message.isCompleteData
description: Whether the entire data was pulled.
- type: String
contextPath: CiscoESA.Message.messageStatus
description: Message delivery status.
- type: String
contextPath: CiscoESA.Message.recipientMap
description: Recipients list.
- type: String
contextPath: CiscoESA.Message.senderIp
description: Sender IP address.
- type: String
contextPath: CiscoESA.Message.mailPolicy
description: Matched mail policy.
- type: String
contextPath: CiscoESA.Message.senderGroup
description: Matched sender group.
- type: String
contextPath: CiscoESA.Message.subject
description: Subject of email message.
- type: Number
contextPath: CiscoESA.Message.mid
description: Message ID.
- type: String
contextPath: CiscoESA.Message.senderDomain
description: Domain of email message sender.
- type: String
contextPath: CiscoESA.Message.finalSubject
description: Extended email subject.
- type: String
contextPath: CiscoESA.Message.direction
description: Message direction, incoming or outgoing.
- type: Number
contextPath: CiscoESA.Message.icid
description: An Injection Connection ID (ICID). A numerical identifier for an individual SMTP connection to the system.
- type: String
contextPath: CiscoESA.Message.replyTo
description: Email message reply to.
- type: String
contextPath: CiscoESA.Message.timestamp
description: Time of the email message.
- type: String
contextPath: CiscoESA.Message.messageID
description: Extended message ID.
- type: String
contextPath: CiscoESA.Message.verdictChart
description: Verdict visual chart ID.
- type: String
contextPath: CiscoESA.Message.recipient
description: Recipients email addresses list.
- type: String
contextPath: CiscoESA.Message.sender
description: Sender email address.
- type: String
contextPath: CiscoESA.Message.serialNumber
description: Cisco ESA email gateway serial number.
- type: Number
contextPath: CiscoESA.Message.allIcid
description: ICIDs list.
- type: String
contextPath: CiscoESA.Message.sbrs
description: Sender Base Reputation Scores.
- name: cisco-esa-message-details-get
description: Get message details.
arguments:
- name: serial_number
description: Email gateway serial number.
required: true
- name: message_ids
description: Message ID list.
required: true
isArray: true
- name: injection_connection_id
description: Injection connection ID.
outputs:
- type: String
contextPath: CiscoESA.Message.sdrAge
description: Sender domain reputation age.
- type: String
contextPath: CiscoESA.Message.attachments
description: Message attachments.
- type: String
contextPath: CiscoESA.Message.hostName
description: Email gateway hostname.
- type: Boolean
contextPath: CiscoESA.Message.isCompleteData
description: Whether the entire data was pulled.
- type: String
contextPath: CiscoESA.Message.messageStatus
description: Message delivery status.
- type: String
contextPath: CiscoESA.Message.mailPolicy
description: Matched mail policy.
- type: String
contextPath: CiscoESA.Message.senderGroup
description: Matched sender group.
- type: String
contextPath: CiscoESA.Message.subject
description: Subject of email message.
- type: Boolean
contextPath: CiscoESA.Message.showSummaryTimeBox
description: Whether to display the summary timebox.
- type: String
contextPath: CiscoESA.Message.sdrCategory
description: Sender domain reputation category.
- type: Number
contextPath: CiscoESA.Message.mid
description: Message ID.
- type: String
contextPath: CiscoESA.Message.sendingHostSummary.reverseDnsHostname
description: Sending host reverse DNS hostname.
- type: String
contextPath: CiscoESA.Message.sendingHostSummary.ipAddress
description: Sending host IP address.
- type: String
contextPath: CiscoESA.Message.sendingHostSummary.sbrsScore
description: Sending host sender base reputation scores.
- type: String
contextPath: CiscoESA.Message.direction
description: Message direction, incoming or outgoing.
- type: String
contextPath: CiscoESA.Message.smtpAuthId
description: SMTP authorization ID.
- type: String
contextPath: CiscoESA.Message.midHeader
description: Message ID header.
- type: String
contextPath: CiscoESA.Message.timestamp
description: Email message time.
- type: Boolean
contextPath: CiscoESA.Message.showDLP
description: Whether the DLP report is available.
- type: String
contextPath: CiscoESA.Message.messageSize
description: Email message size.
- type: String
contextPath: CiscoESA.Message.sdrReputation
description: Sender domain reputation.
- type: Boolean
contextPath: CiscoESA.Message.showURL
description: Whether the URL report is available.
- type: String
contextPath: CiscoESA.Message.recipient
description: Message recipient email address.
- type: String
contextPath: CiscoESA.Message.sender
description: Message sender email address.
- type: Boolean
contextPath: CiscoESA.Message.showAMP
description: Whether the AMP report is available.
- type: String
contextPath: CiscoESA.Message.summary.timestamp
description: Event summary time.
- type: String
contextPath: CiscoESA.Message.summary.description
description: Event summary description
- type: Boolean
contextPath: CiscoESA.Message.summary.lastEvent
description: Whether this is the last summary event.
- type: Number
contextPath: CiscoESA.Message.allIcid
description: ICIDs list.
- type: String
contextPath: CiscoESA.Message.headerFrom
description: Email message header from.
- name: cisco-esa-message-amp-details-get
description: Get message AMP summary details.
arguments:
- name: serial_number
description: Email gateway serial number.
required: true
- name: message_ids
description: Message ID list.
required: true
isArray: true
outputs:
- type: String
contextPath: CiscoESA.AMPDetail.sdrAge
description: Sender domain reputation age.
- type: String
contextPath: CiscoESA.AMPDetail.attachments
description: Message attachments.
- type: String
contextPath: CiscoESA.AMPDetail.hostName
description: Email gateway hostname.
- type: String
contextPath: CiscoESA.AMPDetail.direction
description: Message direction, incoming or outgoing.
- type: String
contextPath: CiscoESA.AMPDetail.messageStatus
description: Message delivery status.
- type: String
contextPath: CiscoESA.AMPDetail.senderGroup
description: Matched sender group.
- type: String
contextPath: CiscoESA.AMPDetail.subject
description: Email message subject.
- type: String
contextPath: CiscoESA.AMPDetail.sdrCategory
description: Sender domain reputation category.
- type: Number
contextPath: CiscoESA.AMPDetail.mid
description: Message ID.
- type: String
contextPath: CiscoESA.AMPDetail.ampDetails.timestamp
description: AMP event summary details timestamp.
- type: String
contextPath: CiscoESA.AMPDetail.ampDetails.description
description: AMP event summary details description.
- type: Boolean
contextPath: CiscoESA.AMPDetail.ampDetails.lastEvent
description: AMP event summary details last event.
- type: String
contextPath: CiscoESA.AMPDetail.smtpAuthId
description: SMTP authorization ID.
- type: String
contextPath: CiscoESA.AMPDetail.midHeader
description: Message ID header.
- type: String
contextPath: CiscoESA.AMPDetail.timestamp
description: Email message time.
- type: String
contextPath: CiscoESA.AMPDetail.messageSize
description: Email message size.
- type: String
contextPath: CiscoESA.AMPDetail.sdrThreatLevels
description: Sender domain reputation threat levels.
- type: String
contextPath: CiscoESA.AMPDetail.sdrReputation
description: Sender domain reputation.
- type: String
contextPath: CiscoESA.AMPDetail.recipient
description: Message recipient email address.
- type: String
contextPath: CiscoESA.AMPDetail.sender
description: Message sender email address.
- type: Boolean
contextPath: CiscoESA.AMPDetail.showAMPDetails
description: Whether to show AMP details.
- type: Number
contextPath: CiscoESA.AMPDetail.allIcid
description: ICIDs list.
- type: String
contextPath: CiscoESA.AMPDetail.headerFrom
description: Email header from.
- name: cisco-esa-message-dlp-details-get
description: Get message DLP summary details.
arguments:
- name: serial_number
description: Email gateway serial number.
required: true
- name: message_ids
description: Message ID list.
required: true
isArray: true
outputs:
- type: String
contextPath: CiscoESA.DLPDetail.direction
description: Message direction, incoming or outgoing.
- type: String
contextPath: CiscoESA.DLPDetail.smtpAuthId
description: SMTP authorization ID.
- type: String
contextPath: CiscoESA.DLPDetail.sdrAge
description: Sender domain reputation age.
- type: String
contextPath: CiscoESA.DLPDetail.sender
description: Message sender email address.
- type: String
contextPath: CiscoESA.DLPDetail.midHeader
description: Message ID header.
- type: String
contextPath: CiscoESA.DLPDetail.timestamp
description: Email message time.
- type: String
contextPath: CiscoESA.DLPDetail.sdrCategory
description: Sender domain reputation category.
- type: String
contextPath: CiscoESA.DLPDetail.hostName
description: Email gateway hostname.
- type: Number
contextPath: CiscoESA.DLPDetail.mid
description: Message ID.
- type: String
contextPath: CiscoESA.DLPDetail.attachments
description: Message attachments.
- type: String
contextPath: CiscoESA.DLPDetail.messageSize
description: Email message size.
- type: String
contextPath: CiscoESA.DLPDetail.dlpDetails.violationSeverity
description: DLP details violation severity.
- type: String
contextPath: CiscoESA.DLPDetail.dlpDetails.dlpMatchedContent.messagePartMatch.classifier
description: DLP matched content classifier.
- type: String
contextPath: CiscoESA.DLPDetail.dlpDetails.dlpMatchedContent.messagePartMatch.classifierMatch
description: DLP matched content classifier match.
- type: String
contextPath: CiscoESA.DLPDetail.dlpDetails.dlpMatchedContent.messagePart
description: DLP matched content message part.
- type: String
contextPath: CiscoESA.DLPDetail.dlpDetails.mid
description: DLP message ID.
- type: Number
contextPath: CiscoESA.DLPDetail.dlpDetails.riskFactor
description: DLP risk factor.
- type: String
contextPath: CiscoESA.DLPDetail.dlpDetails.dlpPolicy
description: DLP policy.
- type: String
contextPath: CiscoESA.DLPDetail.sdrThreatLevels
description: Sender domain reputation threat levels.
- type: String
contextPath: CiscoESA.DLPDetail.sdrReputation
description: Sender domain reputation.
- type: String
contextPath: CiscoESA.DLPDetail.messageStatus
description: Message delivery status.
- type: Number
contextPath: CiscoESA.DLPDetail.allIcid
description: ICIDs list.
- type: String
contextPath: CiscoESA.DLPDetail.senderGroup
description: Matched sender group.
- type: String
contextPath: CiscoESA.DLPDetail.recipient
description: Message recipient email address.
- type: String
contextPath: CiscoESA.DLPDetail.subject
description: Email message subject.
- type: String
contextPath: CiscoESA.DLPDetail.headerFrom
description: Email header from.
- name: cisco-esa-message-url-details-get
description: Get message URL summary details.
arguments:
- name: serial_number
description: Email gateway serial number.
required: true
- name: message_ids
description: Message ID list.
required: true
isArray: true
outputs:
- type: String
contextPath: CiscoESA.URLDetail.sdrAge
description: Sender domain reputation age.
- type: String
contextPath: CiscoESA.URLDetail.attachments
description: Message attachments.
- type: Boolean
contextPath: CiscoESA.URLDetail.showURLDetails
description: Whether to show URL event details.
- type: String
contextPath: CiscoESA.URLDetail.urlDetails.timestamp
description: URL event details timestamp.
- type: String
contextPath: CiscoESA.URLDetail.urlDetails.description
description: URL event details description.
- type: String
contextPath: CiscoESA.URLDetail.hostName
description: Email gateway hostname.
- type: String
contextPath: CiscoESA.URLDetail.direction
description: Message direction, incoming or outgoing.
- type: String
contextPath: CiscoESA.URLDetail.messageStatus
description: Message delivery status.
- type: String
contextPath: CiscoESA.URLDetail.senderGroup
description: Matched sender group.
- type: String
contextPath: CiscoESA.URLDetail.subject
description: Email message subject.
- type: String
contextPath: CiscoESA.URLDetail.sdrCategory
description: Sender domain reputation category.
- type: Number
contextPath: CiscoESA.URLDetail.mid
description: Message ID.
- type: String
contextPath: CiscoESA.URLDetail.smtpAuthId
description: SMTP authorization ID.
- type: String
contextPath: CiscoESA.URLDetail.midHeader
description: Message ID header.
- type: String
contextPath: CiscoESA.URLDetail.timestamp
description: Email message time.
- type: String
contextPath: CiscoESA.URLDetail.messageSize
description: Email message size.
- type: String
contextPath: CiscoESA.URLDetail.sdrThreatLevels
description: Sender domain reputation threat levels.
- type: String
contextPath: CiscoESA.URLDetail.sdrReputation
description: Sender domain reputation.
- type: String
contextPath: CiscoESA.URLDetail.recipient
description: Message recipient email address.
- type: String
contextPath: CiscoESA.URLDetail.sender
description: Message sender email address.
- type: Number
contextPath: CiscoESA.URLDetail.allIcid
description: ICIDs list.
- type: String
contextPath: CiscoESA.URLDetail.headerFrom
description: Email header from.
- name: cisco-esa-report-get
description: |-
Get statistics reports.
Note that each report type is compatible with different arguments.
Refer to Addendum for Cisco Secure Email Gateway ("Secure Email Reporting" sheet in the file), to view the dedicated arguments for each report type.
https://www.cisco.com/c/dam/en/us/td/docs/security/esa/esa14-0/api/AsyncOS-14-0-API-Addendum.xlsx
arguments:
- name: report_type
description: Report Type.
defaultValue: mail_incoming_traffic_summary
auto: PREDEFINED
predefined:
- mail_incoming_traffic_summary
- reporting_system
- mail_vof_threat_summary
- mail_vof_specific_threat_summary
- mail_amp_threat_summary
- name: custom_report_type
description: |-
Custom report type.
Specify this argument to get a report that does not exist in the report_type argument.
- name: start_date
description: |-
Start date in ISO format or <number> <time unit>,
e.g., 2022-01-01T00:00:00.000Z, 12 hours, 7 days, 3 months, now.
required: true
- name: end_date
description: |-
End date in ISO format or <number> <time unit>,
e.g., 2022-01-01T00:00:00.000Z, 12 hours, 7 days, 3 months, now.
required: true
- name: order_by
description: The attribute by which to order the data in the response. For example, orderBy=total_clean_recipients
- name: order_dir
description: The report sort order direction.
auto: PREDEFINED
predefined:
- asc
- desc
- name: top
description: The number of records with the highest values to return.
- name: filter_value
description: The filter value to search for.
- name: filter_by
description: The filter field to use. Filter the data to be retrieved according to the filter property and value.
- name: filter_operator
description: The filter operator. Filter the response data based on the value specified.
auto: PREDEFINED
predefined:
- begins_with
- is
outputs:
- type: String
contextPath: CiscoESA.Report.type
description: Report type.
- type: Number
contextPath: CiscoESA.Report.resultSet
description: Report results summary.
fromversion: 6.5.0
tests:
- No tests (auto formatted)