Symantec Messaging Gateway
This connector is used to block and unblock domains, email addresses, and IP addresses in Swimlane Turbine.
Prerequisites
A Server URL, Username and password is required to authenticate Symantec Messaging Gateway connector.
Capabilities
This Connector provides the following capabilities:
- Block Domain
- Block Email
- Block IP
- Get Blocked Domains
- Get Blocked IPs
- Unblock Domain
- Unblock Email
- Unblock IP
Notes
- This integration was integrated and tested with Symantec Messaging Gateway v10.6.4.
Limitations
- Symantec Messaging Gateway does not have a REST API, therefore the integration parses HTML response using the Beautiful Soup package. It also sends and gets data through it.
- The integration adds and removes IoCs to the relevant default Bad Sender lists, and not custom ones.
Configurations
Symantec Messaging HTTP Basic Authentication
Authenticates using username and password.
Configuration Parameters
Parameter | Description | Type | Required |
|---|---|---|---|
url | A URL to the target host. | string | Required |
username | Username | string | Required |
password | Password | string | Required |
verify_ssl | Verify SSL certificate | boolean | Optional |
http_proxy | A proxy to route requests through. | string | Optional |
Actions
Block Domain
Blocking a domain involves creating filtering policies to prevent emails from specific domains from reaching your email system.
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
domain | string | Required | Parameter for Block Domain |
Input Example
{"domain":"blogspot.lu"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Type | string | Type of the resource |
Contents | string | Response content |
ContentsFormat | string | Response content |
ReadableContentsFormat | string | Response content |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"Type":"note","Contents":"Blocked Successfully","ContentsFormat":"json","ReadableContentsFormat":"markdown"}}
Block Email
Block email prevent specific emails or types of emails from reaching your email system.
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
string | Required | Parameter for Block Email |
Input Example
{"email":"[email protected]"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Type | string | Type of the resource |
Contents | string | Response content |
ContentsFormat | string | Response content |
ReadableContentsFormat | string | Response content |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"Type":"note","Contents":"Blocked Successfully","ContentsFormat":"json","ReadableContentsFormat":"markdown"}}
Block IP
Blocking an IP address involves creating filtering policies to prevent emails from specific IP addresses from reaching your email system.
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
ip | string | Required | IP address to block. |
Input Example
{"ip":"8.8.8.8"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Type | string | Type of the resource |
Contents | string | Response content |
ContentsFormat | string | Response content |
ReadableContentsFormat | string | Response content |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"Type":"note","Contents":"Blocked Successfully","ContentsFormat":"json","ReadableContentsFormat":"markdown"}}
Get Blocked Domains
Get list of blocked domains.
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Type | string | Type of the resource |
Contents | string | Response content |
ContentsFormat | string | Response content |
ReadableContentsFormat | string | Response content |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"Type":"note","Contents":"abc.org, abc.in","ContentsFormat":"json","ReadableContentsFormat":"markdown"}}
Get Blocked IPs
Get list of blocked IPs.
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Type | string | Type of the resource |
Contents | string | Response content |
ContentsFormat | string | Response content |
ReadableContentsFormat | string | Response content |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"Type":"note","Contents":"1.2.3.4, 8.8.8.8","ContentsFormat":"json","ReadableContentsFormat":"markdown"}}
Unblock Domain
Unblocking a domain involves modification of filtering policies to allow emails from the previously blocked domain.
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
domain | string | Required | Parameter for Unblock Domain |
Input Example
{"domain":"google.com"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Type | string | Type of the resource |
Contents | string | Response content |
ContentsFormat | string | Response content |
ReadableContentsFormat | string | Response content |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"Type":"note","Contents":"Unblocked Successfully","ContentsFormat":"json","ReadableContentsFormat":"markdown"}}
Unblock Email
Unblocking an email involves releasing an email from quarantine or adjusting filtering policies.
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
string | Required | Parameter for Unblock Email |
Input Example
{"email":"[email protected]"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Type | string | Type of the resource |
Contents | string | Response content |
ContentsFormat | string | Response content |
ReadableContentsFormat | string | Response content |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"Type":"note","Contents":"Unblocked Successfully","ContentsFormat":"json","ReadableContentsFormat":"markdown"}}
Unblock IP
Unblocking an IP address involves modifying your filtering policies to allow emails from a previously blocked IP address.
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
ip | string | Required | IP address to block. |
Input Example
{"ip":"8.8.8.8"}
Output
Parameter | Type | Description |
|---|---|---|
status_code | number | HTTP status code of the response |
reason | string | Response reason phrase |
Type | string | Type of the resource |
Contents | string | Response content |
ContentsFormat | string | Response content |
ReadableContentsFormat | string | Response content |
Output Example
{"status_code":200,"response_headers":{},"reason":"OK","json_body":{"Type":"note","Contents":"Unblocked Successfully","ContentsFormat":"json","ReadableContentsFormat":"markdown"}}
Response Headers
Header | Description | Example |
|---|---|---|
Content-Type | The media type of the resource | application/json |
Date | The date and time at which the message was originated | Thu, 01 Jan 2024 00:00:00 GMT |