Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gmail integration query - change default value #27908

Merged
merged 11 commits into from
Jul 5, 2023
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