-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
BuildEWSQuery.yml
51 lines (51 loc) · 1.21 KB
/
BuildEWSQuery.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
commonfields:
id: BuildEWSQuery
version: -1
name: BuildEWSQuery
script: ''
type: python
subtype: python3
tags:
- ews
comment: Returns an EWS query according to the automation's arguments.
system: true
args:
- name: from
default: true
description: The value of the email's "From" attribute.
- name: subject
description: The value of the email's "Subject" attribute.
- name: attachmentName
description: The value of the email's "attachmentName" attribute.
- name: body
description: The value of the email's "Body" attribute.
- name: searchThisWeek
auto: PREDEFINED
predefined:
- "true"
- "false"
description: Limit the search to the current week (true/false).
defaultValue: "true"
- name: stripSubject
auto: PREDEFINED
predefined:
- "true"
- "false"
description: Removes the prefix from the subject of reply and forward messages (e.g., FW:).
defaultValue: "true"
- name: escapeColons
auto: PREDEFINED
predefined:
- "true"
- "false"
description: Escape from colon (true/false).
defaultValue: "false"
outputs:
- contextPath: EWS.Query
description: The result query
type: string
scripttarget: 0
tests:
- buildewsquery_test
fromversion: 5.0.0
dockerimage: demisto/python3:3.10.12.63474