Skip to content

Commit

Permalink
Gmail integration query - change default value (demisto#27908)
Browse files Browse the repository at this point in the history
* Change gmail default value for "query" to "label:Inbox"

* Add to readme that gmail value for "query" should be "label:Inbox"

* Add to readme that gmail value for "query" should be "label:Inbox"

* RN

* RN

* Gmail docker

* after merge from master

* RN

* RN
  • Loading branch information
tomer-pan authored and xsoar-bot committed Jul 26, 2023
1 parent 7b77a20 commit 2831540
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Packs/CommonScripts/Scripts/EmailAskUser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Asks a user a question via email and process the reply directly into the investi

Cortex XSOAR can use email responses within the system, e.g. when an external user's approval is required. To do this, you will create an email template with multiple choice options (e.g. Reply "Yes" if you approve and "No" if you do not).

**Before starting, you will need to configure an integration capable for sending and receiving emails, such as: Mail Listener v2 and Mail Sender (New), GMail, EWS O365, O365 Outlook Mail Single User. The instance that will receive the response must be set to fetch incidents.**
**Before starting, you will need to configure an integration capable for sending and receiving emails, such as: Mail Listener v2 and Mail Sender (New), GMail, EWS O365, O365 Outlook Mail Single User. The instance that will receive the response must be set to fetch incidents. In Gmail, if not configured, please set the `query` to `label:Inbox` or any other query that filters out the `Sent` folder .**

The user who receives the mail will respond accordingly and when an answer is received, it will trigger a task to handle the response.
This is a two-step task. The first, is to send an email asking the user for information. The second step, is to receive the answer and trigger a process of handling it in Cortex XSOAR.
Expand Down
3 changes: 2 additions & 1 deletion Packs/Gmail/Integrations/Gmail/Gmail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ configuration:
type: 0
additionalinfo: Used for searching emails in the inbox. The query language follows the Gmail query specification. For example, "from:example@demisto.com is:unread".
section: Collect
defaultvalue: "label:Inbox"
- display: Events user key
name: queryUserKey
type: 0
Expand Down Expand Up @@ -1640,7 +1641,7 @@ script:
- contextPath: Gmail.ForwardingAddress.verificationStatus
description: Indicates whether this address has been verified and is usable for forwarding.
type: String
dockerimage: demisto/google-api-py3:1.0.0.63203
dockerimage: demisto/google-api-py3:1.0.0.64634
isfetch: true
runonce: false
script: '-'
Expand Down
7 changes: 7 additions & 0 deletions Packs/Gmail/ReleaseNotes/1_3_11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#### Integrations

##### Gmail
- Updated the Docker image to: *demisto/google-api-py3:1.0.0.64634*.

- Changed the default value of the `query` parameter to `label:Inbox`.
2 changes: 1 addition & 1 deletion Packs/Gmail/pack_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Gmail",
"description": "Gmail API and user management (This integration replaces the Gmail functionality in the GoogleApps API and G Suite integration).",
"support": "xsoar",
"currentVersion": "1.3.10",
"currentVersion": "1.3.11",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 2831540

Please sign in to comment.