-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
315b560
commit 03e01e6
Showing
11 changed files
with
38 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ Minimum Product Version: 6.1.1 | |
This app provides the ability to send email using SMTP | ||
|
||
[comment]: # " File: README.md" | ||
[comment]: # " Copyright (c) 2016-2023 Splunk Inc." | ||
[comment]: # " Copyright (c) 2016-2024 Splunk Inc." | ||
[comment]: # "" | ||
[comment]: # " Licensed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt)" | ||
[comment]: # "" | ||
|
@@ -307,7 +307,7 @@ Some points to note: <ul> <li>Only files present in the <b>vault</b> can be atta | |
#### Action Parameters | ||
PARAMETER | REQUIRED | DESCRIPTION | TYPE | CONTAINS | ||
--------- | -------- | ----------- | ---- | -------- | ||
**from** | optional | Sender Address, domain can not include 'phantom', 'splunk', or 'cisco' | string | `sender_email` | ||
**from** | optional | Sender Address, domain can not include 'phantom', 'splunk', or 'cisco' | string | `email` | ||
**to** | required | List of recipients email addresses | string | `email` | ||
**cc** | optional | List of recipients email addresses to include on cc line | string | `email` | ||
**bcc** | optional | List of recipients email addresses to include on bcc line | string | `email` | ||
|
@@ -324,7 +324,7 @@ action_result.parameter.attachments | string | `vault id` | ab2b2ccfba08ea53 | |
action_result.parameter.bcc | string | `email` | [email protected] | ||
action_result.parameter.body | string | | Test body | ||
action_result.parameter.cc | string | `email` | [email protected] | ||
action_result.parameter.from | string | `sender_email` | [email protected] | ||
action_result.parameter.from | string | `email` | [email protected] | ||
action_result.parameter.headers | string | | {"Subject": "Test1", "To": "[email protected]"} | ||
action_result.parameter.subject | string | | Test | ||
action_result.parameter.to | string | `email` | [email protected] | ||
|
@@ -367,7 +367,7 @@ If the <b>from</b> parameter is not provided, then the action will consider the | |
#### Action Parameters | ||
PARAMETER | REQUIRED | DESCRIPTION | TYPE | CONTAINS | ||
--------- | -------- | ----------- | ---- | -------- | ||
**from** | optional | Sender Address, domain can not include 'phantom', 'splunk', or 'cisco' | string | `sender_email` | ||
**from** | optional | Sender Address, domain can not include 'phantom', 'splunk', or 'cisco' | string | `email` | ||
**to** | required | List of recipients email addresses | string | `email` | ||
**cc** | optional | List of recipients email addresses to include on cc line | string | `email` | ||
**bcc** | optional | List of recipients email addresses to include on bcc line | string | `email` | ||
|
@@ -404,7 +404,7 @@ action_result.parameter.content_id2 | string | | | |
action_result.parameter.content_id3 | string | | | ||
action_result.parameter.content_id4 | string | | | ||
action_result.parameter.content_id5 | string | | | ||
action_result.parameter.from | string | `sender_email` | [email protected] | ||
action_result.parameter.from | string | `email` | [email protected] | ||
action_result.parameter.headers | string | | {"Subject": "Test1", "To": "[email protected]"} | ||
action_result.parameter.html_body | string | | <html><h2>HTML heading</h2><body>HTML body.</body></html> | ||
action_result.parameter.subject | string | | Test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
**Unreleased** | ||
* Added restrictions for `splunk`, `phantom` and `cisco` domains for 'from' input in **send email** and **send htmlemail** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,21 +5,21 @@ | |
"publisher": "Splunk", | ||
"type": "email", | ||
"main_module": "smtp_connector.py", | ||
"app_version": "3.1.1", | ||
"app_version": "3.2.0", | ||
"utctime_updated": "2024-03-06T13:04:08.000000Z", | ||
"package_name": "phantom_smtp", | ||
"product_vendor": "Generic", | ||
"product_name": "SMTP", | ||
"product_version_regex": ".*", | ||
"min_phantom_version": "6.1.1", | ||
"min_phantom_version": "6.2.0", | ||
"rest_handler": "request_handler.handle_request", | ||
"license": "Copyright (c) 2016-2024 Splunk Inc.", | ||
"logo": "logo_splunk.svg", | ||
"logo_dark": "logo_splunk_dark.svg", | ||
"python_version": "3", | ||
"fips_compliant": true, | ||
"latest_tested_versions": [ | ||
"smtp.gmail.com, smtp.office365.com September 26, 2023" | ||
"smtp.gmail.com, smtp.office365.com May 6, 2024" | ||
], | ||
"configuration": { | ||
"server": { | ||
|
@@ -139,7 +139,7 @@ | |
"data_type": "string", | ||
"order": 0, | ||
"contains": [ | ||
"sender_email" | ||
"email" | ||
], | ||
"primary": true | ||
}, | ||
|
@@ -253,7 +253,7 @@ | |
"data_path": "action_result.parameter.from", | ||
"data_type": "string", | ||
"contains": [ | ||
"sender_email" | ||
"email" | ||
], | ||
"example_values": [ | ||
"[email protected]" | ||
|
@@ -409,7 +409,7 @@ | |
"order": 0, | ||
"primary": true, | ||
"contains": [ | ||
"sender_email" | ||
"email" | ||
] | ||
}, | ||
"to": { | ||
|
@@ -614,7 +614,7 @@ | |
"data_path": "action_result.parameter.from", | ||
"data_type": "string", | ||
"contains": [ | ||
"sender_email" | ||
"email" | ||
], | ||
"example_values": [ | ||
"[email protected]" | ||
|
@@ -701,10 +701,6 @@ | |
], | ||
"pip39_dependencies": { | ||
"wheel": [ | ||
{ | ||
"module": "beautifulsoup4", | ||
"input_file": "wheels/py3/beautifulsoup4-4.9.1-py3-none-any.whl" | ||
}, | ||
{ | ||
"module": "bleach", | ||
"input_file": "wheels/py3/bleach-6.0.0-py3-none-any.whl" | ||
|
@@ -713,14 +709,6 @@ | |
"module": "bleach_allowlist", | ||
"input_file": "wheels/shared/bleach_allowlist-1.0.3-py2.py3-none-any.whl" | ||
}, | ||
{ | ||
"module": "six", | ||
"input_file": "wheels/shared/six-1.16.0-py2.py3-none-any.whl" | ||
}, | ||
{ | ||
"module": "soupsieve", | ||
"input_file": "wheels/py3/soupsieve-2.5-py3-none-any.whl" | ||
}, | ||
{ | ||
"module": "tinycss2", | ||
"input_file": "wheels/py3/tinycss2-1.1.1-py3-none-any.whl" | ||
|
@@ -731,4 +719,4 @@ | |
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.