Trustwave Secure Email Gateway
TrustwaveSEG Pack.#
This Integration is part of theTrustwave SEG is a secure messaging solution that protects businesses and users from email-borne threats, including phishing, blended threats, and spam. Trustwave Secure Email Gateway also delivers improved policy enforcement and data leakage prevention. This integration was integrated and tested with version 10 of trustwave secure email gateway.
#
Configure trustwave secure email gateway on Cortex XSOARNavigate to Settings > Integrations > Servers & Services.
Search for trustwave secure email gateway.
Click Add instance to create and configure a new integration instance.
Parameter Description Required Hostname or IP Hostname or IP address (localhost or 127.0.0.1). True SEG Configuration Service Port Used for retrieving a token for the commands. True SEG API Port Used for accessing the API console. True User Credentials True Trust any certificate (not secure) False Use system proxy settings False Click Test to validate the URLs, token, and connection.
#
CommandsYou can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
#
trustwave-seg-get-versionGets Trustwave version information.
#
Base Commandtrustwave-seg-get-version
#
InputThere are no input arguments for this command.
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.Version.configVersion | Number | The configuration version. |
TrustwaveSEG.Version.productVersion | String | The product version. |
TrustwaveSEG.Version.rpcInterfaceVersion | Number | The RPC interface version. |
#
Command Example!trustwave-seg-get-version
#
Context Example#
Human Readable Output#
Version Information
Config Version Product Version 39 10.0.1.2030
#
trustwave-seg-automatic-config-backup-listReturns a list of automatic configuration backups.
#
Base Commandtrustwave-seg-automatic-config-backup-list
#
InputThere are no input arguments for this command.
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.AutomaticBackupConfig.fileSize | Number | The file size of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.filename | String | The filename of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.backupTime | Number | The backup time of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.backupTimeStr | Date | The backup time string of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.backupType | String | The backup type of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.backupUser | String | The back up user of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.commitDescription | String | The commit description of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.commitSetId | Number | The commit set ID of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.commitUser | String | The commit user of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.configVersion | Number | The configuration version of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.containsDkimKeys | Boolean | Whether there are DomainKeys Identified Mail (DKIM) keys for the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.info.productVersion | String | The product version of the automatic configuration backup. |
TrustwaveSEG.AutomaticBackupConfig.lastModified | Number | The date the automatic backup configuration was last modified. |
#
Command Example!trustwave-seg-automatic-config-backup-list
#
Context Example#
Human Readable Output#
Automatic Configured Backups
Filename Contains Dkim Keys Backup User Product Version Config Version Commit Description Backup Type MailMarshal-10.0.1-ManualBackup_10-May-2021-05-40-05 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-AutomaticBackup_09-May-2021-16-00-00 false admin 10.0.1.2030 39 Files updates automatically applied. full MailMarshal-10.0.1-AutomaticBackup_08-May-2021-16-00-00 false admin 10.0.1.2030 39 Files updates automatically applied. full MailMarshal-10.0.1-AutomaticBackup_07-May-2021-16-00-00 false admin 10.0.1.2030 39 Files updates automatically applied. full MailMarshal-10.0.1-AutomaticBackup_06-May-2021-16-00-00 false admin 10.0.1.2030 39 Files updates automatically applied. full MailMarshal-10.0.1-ManualBackup_06-May-2021-04-32-55 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-ManualBackup_06-May-2021-00-26-20 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-ManualBackup_06-May-2021-00-20-25 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-ManualBackup_05-May-2021-23-43-56 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-ManualBackup_05-May-2021-23-41-20 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-AutomaticBackup_05-May-2021-16-00-00 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-ManualBackup_05-May-2021-05-31-09 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-ManualBackup_05-May-2021-05-28-09 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-ManualBackup_05-May-2021-05-25-31 false admin 10.0.1.2030 39 Files updates automatically applied. full MailMarshal-10.0.1-ManualBackup_05-May-2021-05-21-50 false admin 10.0.1.2030 39 Files updates automatically applied. full MailMarshal-10.0.1-ManualBackup_05-May-2021-05-17-51 false admin 10.0.1.2030 39 Files updates automatically applied. full MailMarshal-10.0.1-ManualBackup_05-May-2021-00-04-56 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-ManualBackup_05-May-2021-00-03-35 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-AutomaticBackup_04-May-2021-16-00-00 false admin 10.0.1.2030 39 Files updates automatically applied. full MailMarshal-10.0.1-ManualBackup_03-May-2021-23-50-35 false admin 10.0.1.2030 39 Committing Marshal RBL credentials update full MailMarshal-10.0.1-AutomaticBackup_03-May-2021-16-00-00 false admin 10.0.1.2030 39 Files updates automatically applied. full
#
trustwave-seg-automatic-config-backup-restoreRestores a specific automatic configuration backup.
#
Base Commandtrustwave-seg-automatic-config-backup-restore
#
InputArgument Name | Description | Required |
---|---|---|
name | The name of the backup to restore (e.g., MailMarshal-10.0.1-ManualBackup_11-Apr-2021-05-00-10). | Required |
timeout | The timeout for the request in seconds. This request might take a while. If the request fails due to a connectivity error, try to add more time to this argument. Default is 30. | Optional |
include_dkim | Whether DKIM (DomainKeys Identified Mail) should be used. Possible values are: true, false. Default is false. | Optional |
dkim_password | If include_dkim is true, the DKIM password for the action. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.AutomaticBackupRestore.errors | String | The errors of the AutomaticBackupRestore. |
TrustwaveSEG.AutomaticBackupRestore.reason | String | The reason for the AutomaticBackupRestore. |
TrustwaveSEG.AutomaticBackupRestore.warnings | String | The warnings of the AutomaticBackupRestore. |
#
Command Example!trustwave-seg-automatic-config-backup-restore name="MailMarshal-10.0.1-ManualBackup_05-May-2021-05-25-31" timeout=200
#
Context Example#
Human Readable Output#
Automatic Configuration Backup Restore Completed
Name Reason Warnings MailMarshal-10.0.1-ManualBackup_05-May-2021-05-25-31 backup restored DKIM password not set - DKIM restore is ignored.
#
trustwave-seg-automatic-config-backup-runRun automatic backup now.
#
Base Commandtrustwave-seg-automatic-config-backup-run
#
InputArgument Name | Description | Required |
---|---|---|
timeout | The timeout for the request in seconds. This request might take a while. If the request fails due to a connectivity error, try to add more seconds to the timeout. Default is 30. | Optional |
include_dkim | Choose if DKIM (DomainKeys Identified Mail) should be used. Possible values are: true, false. Default is false. | Optional |
dkim_password | If include_dkim equals true - Please specify the DKIM password (defaults to configured password). | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.AutomaticBackupRun.backupName | String | The backup name of the automatic backup run. |
TrustwaveSEG.AutomaticBackupRun.reason | String | The reason for the automatic backup run. |
#
Command Example!trustwave-seg-automatic-config-backup-run
#
Context Example#
Human Readable Output#
Automatic Configuration Backup Run Completed
Backup Name Reason MailMarshal-10.0.1-ManualBackup_10-May-2021-05-50-37 backup successful
#
trustwave-seg-list-alertsGets a list of current alerts.
#
Base Commandtrustwave-seg-list-alerts
#
InputArgument Name | Description | Required |
---|---|---|
active_only | Whether to return only active alarms. Possible values are: true, false. Default is false. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.Alert.active | Boolean | The activity of the alert. |
TrustwaveSEG.Alert.description | String | The description of the alert. |
TrustwaveSEG.Alert.node | Number | The node of the alert. |
TrustwaveSEG.Alert.source | String | The source of the alert. |
TrustwaveSEG.Alert.triggered | Number | The trigger of the alert. |
TrustwaveSEG.Alert.type | Number | The type of the alert. |
#
Command Example!trustwave-seg-list-alerts
#
Context Example#
Human Readable Output#
Alerts
Description Active Node Source Triggered MMEngine is now running false 1 Engine 20/04/2021, 12:12:48 MMSender is now running false 1 Sender 20/04/2021, 12:06:14 MMReceiver is now running false 1 Receiver 20/04/2021, 12:06:14 MMEngine has stopped false 1 Engine 20/04/2021, 11:36:42 MMSender has stopped false 1 Sender 20/04/2021, 11:36:42 MMReceiver has stopped false 1 Receiver 20/04/2021, 11:36:42
#
trustwave-seg-statisticsGets Trustwave SEG statistics. Must provide a start time or time range.
#
Base Commandtrustwave-seg-statistics
#
InputArgument Name | Description | Required |
---|---|---|
time_range | An optional time range, i.e., 3 months, 1 week, 1 day ago, etc. | Optional |
start_time | Start time in the format of: YYYY-mm-ddTHH:MM:SSZ or i.e., 3 months, 1 week, 1 day ago, etc. Given only the start_time, end_time will be set to the current time. | Optional |
end_time | End time in the format of: YYYY-mm-ddTHH:MM:SSZ or i.e., 3 months, 1 week, 1 day ago, etc. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.Statistics.maliciousUrls | Number | The number of malicious URLs in the statistics. |
TrustwaveSEG.Statistics.msgsBlendedThreats | Number | The number blended threats messages in the statistics. |
TrustwaveSEG.Statistics.msgsIn | Number | The number of incoming messages in the statistics. |
TrustwaveSEG.Statistics.msgsInternal | Number | The number of internal messages in the statistics. |
TrustwaveSEG.Statistics.msgsOut | Number | The number of outgoing messages in the statistics. |
TrustwaveSEG.Statistics.msgsSpam | Number | The number of spam messages in the statistics. |
TrustwaveSEG.Statistics.msgsVirus | Number | The number of virus messages in the statistics. |
TrustwaveSEG.Statistics.numQuarantined | Number | The number of quarantined messages in the statistics. |
TrustwaveSEG.Statistics.numQuarantinesPerMsg | Number | The number of quarantines per message in the statistics. |
TrustwaveSEG.Statistics.pFolders | Number | The number of pFolders in the statistics. |
TrustwaveSEG.Statistics.pThreats | Number | The number of pThreats in the statistics. |
TrustwaveSEG.Statistics.safeClicks | Number | The number of safe clicks in the statistics.in the statistics. |
TrustwaveSEG.Statistics.unsafeClicks | Number | The number of unsafe clicks |
TrustwaveSEG.Statistics.unsafeUrls | Number | The number of unsafe URLs in the statistics. |
TrustwaveSEG.Statistics.urlsFound | Number | The number of URLs found in the statistics. |
TrustwaveSEG.Statistics.urlsRewritten | Number | The number of urls rewritten in the statistics. |
TrustwaveSEG.Statistics.virusDetected | Number | The number of viruses detected in the statistics. |
TrustwaveSEG.Statistics.virusScanned | Number | The number of virus-scanned statistics. |
#
Command Example!trustwave-seg-statistics time_range="1 day ago"
#
Context Example#
Human Readable Output#
Statistics Information between 09/05/2021, 12:50:34 to 10/05/2021, 12:50:34
Msgs In Msgs Out Malicious Urls Msgs Blended Threats Msgs Spam Msgs Virus Num Quarantined Unsafe Clicks Unsafe Urls Virus Detected 0 0 0 0 0 0 0 0 0 0
#
trustwave-seg-list-serversGets a list of servers.
#
Base Commandtrustwave-seg-list-servers
#
InputThere are no input arguments for this command.
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.Server.configCommitSetId | Number | The configuration commit set ID of the server. |
TrustwaveSEG.Server.configTimeStamp | Number | The configuration timestamp of the server. |
TrustwaveSEG.Server.disconnectedReason | String | Disconnected reason for the server. |
TrustwaveSEG.Server.isActive | Boolean | Activation status of the Server. |
TrustwaveSEG.Server.isConfigDeferred | Boolean | Whether the configuration of the server is deferred. |
TrustwaveSEG.Server.lastConnected | Number | Last connected time of the server. |
TrustwaveSEG.Server.osVersion | String | The operating system version of the server. |
TrustwaveSEG.Server.pServiceStatus.description | String | The description of the server. |
TrustwaveSEG.Server.pServiceStatus.lastError | Unknown | Last error of the server. |
TrustwaveSEG.Server.pServiceStatus.name | String | The name of the server. |
TrustwaveSEG.Server.pServiceStatus.serviceId | Number | The service ID of the server. |
TrustwaveSEG.Server.pServiceStatus.state | Number | The state of the server. |
TrustwaveSEG.Server.productVersion | String | The product version of the server. |
TrustwaveSEG.Server.serverDescription | String | The description of the server. |
TrustwaveSEG.Server.serverId | Number | The ID of the server. |
TrustwaveSEG.Server.serverLocation | String | The location of the server. |
TrustwaveSEG.Server.serverName | String | The name of the server. |
TrustwaveSEG.Server.timeZoneName | String | Timezone name of the server. |
TrustwaveSEG.Server.timeZoneOffset | Number | Timezone offset of the server. |
#
Command Example!trustwave-seg-list-servers
#
Context Example#
Human Readable Output#
Servers Details
Server Name Server Id Product Version Is Active Server Location Services DEV-TRUSTWAVE 1 10.0.1.2030 true test Receiver, Engine, Sender
#
trustwave-seg-get-serverGets server details.
#
Base Commandtrustwave-seg-get-server
#
InputArgument Name | Description | Required |
---|---|---|
server_id | The ID of the server from which to retrieve information. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.Server.configCommitSetId | Number | The configuration commit set ID of the server. |
TrustwaveSEG.Server.configTimeStamp | Number | The configuration timestamp of the server. |
TrustwaveSEG.Server.disconnectedReason | String | Disconnected reason for the server. |
TrustwaveSEG.Server.isActive | Boolean | Activation status of the Server. |
TrustwaveSEG.Server.isConfigDeferred | Boolean | Whether the configuration of the server is deferred. |
TrustwaveSEG.Server.lastConnected | Number | Last connected time of the server. |
TrustwaveSEG.Server.osVersion | String | The operating system version of the server. |
TrustwaveSEG.Server.pServiceStatus.description | String | The description of the server. |
TrustwaveSEG.Server.pServiceStatus.lastError | Unknown | Last error of the server. |
TrustwaveSEG.Server.pServiceStatus.name | String | The name of the server. |
TrustwaveSEG.Server.pServiceStatus.serviceId | Number | The service ID of the server. |
TrustwaveSEG.Server.pServiceStatus.state | Number | The state of the server. |
TrustwaveSEG.Server.productVersion | String | The product version of the server. |
TrustwaveSEG.Server.serverDescription | String | The description of the server. |
TrustwaveSEG.Server.serverId | Number | The ID of the server. |
TrustwaveSEG.Server.serverLocation | String | The location of the server. |
TrustwaveSEG.Server.serverName | String | The name of the server. |
TrustwaveSEG.Server.timeZoneName | String | Timezone name of the server. |
TrustwaveSEG.Server.timeZoneOffset | Number | Timezone offset of the server. |
#
Command Example!trustwave-seg-get-server server_id="1"
#
Context Example#
Human Readable Output#
Server Details. ID: 1
Server Name Server Id Product Version Is Active Server Location Services DEV-TRUSTWAVE 1 10.0.1.2030 false test Receiver, Engine, Sender
#
trustwave-seg-list-classificationsGets a list of classifications.
#
Base Commandtrustwave-seg-list-classifications
#
InputThere are no input arguments for this command.
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.Classification.code | Number | The code of the classification. |
TrustwaveSEG.Classification.id | Number | The ID of the classification. |
TrustwaveSEG.Classification.name | String | The name of the classification. |
TrustwaveSEG.Classification.type | Number | The type of the classification. |
#
Command Example!trustwave-seg-list-classifications
#
Context Example#
Human Readable Output#
Classifications
Id Name 1 Folders 2 Mail Recycle Bin 3 Dead Letters 4 Unpacking 5 Routing 6 Undetermined 7 Malformed 8 Virus 9 Spam 10 Archiving 11 Delivered successfully 12 Temporarily undeliverable 13 Undeliverable 14 Message killed 15 Delivery not tried 16 Delivered successfully over TLS 17 Temporarily undeliverable due to TLS 18 Operator passthrough 19 Operator deleted 20 Operator forwarded 21 Operator reprocessed 22 Operator continued 23 Operator sent to recycle bin 24 Operator restored from recycle bin 25 Operator emptied recycle bin 26 User deleted 27 Forwarded to Trustwave as spam 28 Forwarded to Trustwave as not spam 29 Message viewed in console 30 Deleted by rules 31 Sent History 32 DMARC Reports 33 BEC - Executive Name 34 Suspect 35 Spoofed 36 Junk 37 Archive In 38 Archive Out 39 Language 40 Parked Large Files 41 Oversize 42 Awaiting Challenge - Response 43 Attachment Type - Executables 44 Attachment Type - Images 45 Attachment Type - Video and Sound 46 Attachment Type - Encrypted 47 Attachment Type - Unknown 48 Policy Breaches 49 Policy Breaches - SEC 50 Policy Breaches - SOX 51 Attachment Type - Documents 52 Suspect Images 53 Policy Breaches - HIPAA 54 Spam - Confirmed 55 Spam - Scams 56 Spam - Suspected 57 TLS Failures 58 DKIM Failures 59 DKIM Signing Failures 60 Malware 61 Malware - Virus Scanner Errors 62 Malware - Suspected 63 SenderID Failures 64 Suspect URLs 65 Malware - AMAX 66 Malformed PDF 67 DMARC Failures - Quarantine policy 68 DMARC Failures - Reject policy 69 BEC - Fraud Filter 70 BEC - Domain Similarity 71 Product Info Request 72 Contains a CV 73 Has Multiple Recipients 74 Message to Old Domain 75 Release Requests
#
trustwave-seg-list-quarantine-foldersGets a list of folders.
#
Base Commandtrustwave-seg-list-quarantine-folders
#
InputThere are no input arguments for this command.
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.Folder.description | String | The description of the folder. |
TrustwaveSEG.Folder.folderId | Number | The ID of the folder. |
TrustwaveSEG.Folder.folderType | Number | The type of the folder. |
TrustwaveSEG.Folder.iconIndex | Number | The icon index of the folder. |
TrustwaveSEG.Folder.isDeleted | Boolean | Whether the folder is deleted. |
TrustwaveSEG.Folder.isFingerprintingEnabled | Boolean | Whether fingerprinting is enabled for the folder. |
TrustwaveSEG.Folder.isPassThru | Boolean | Whether pass thru is enabled for the folder. |
TrustwaveSEG.Folder.isPublishedInbound | Boolean | Whether the folder is published inbound. |
TrustwaveSEG.Folder.isPublishedOutbound | Boolean | Whether the folder is published outbound. |
TrustwaveSEG.Folder.isReadOnly | Boolean | Whether the folder is read-only. |
TrustwaveSEG.Folder.name | String | The name of the folder. |
TrustwaveSEG.Folder.numFiles | Number | The number of files in the folder. |
TrustwaveSEG.Folder.parentId | Number | The parent ID of the folder. |
TrustwaveSEG.Folder.path | String | The path of the folder. |
TrustwaveSEG.Folder.retention | Number | The retention of the folder. |
TrustwaveSEG.Folder.securityDescription | String | The security description of the folder. |
#
Command Example!trustwave-seg-list-quarantine-folders
#
Context Example#
Human Readable Output#
Quarantine Folders
Folder Id Name Description Is Deleted Is Read Only Num Files Retention 1 Folders false false 5 7 2 Mail Recycle Bin false false 0 7 3 Dead Letters false false 0 7 4 Unpacking Contains messages that could not be processed due to file corruption or other problems with structure. false false 0 7 5 Routing Contains messages that could not be delivered due to a DNS lookup problem or other issues. false false 0 7 7 Undetermined Contains messages that returned an unexpected result from virus scanning or an external command. false false 0 7 8 Malformed Contains messages that were blocked or could not be processed due to problems with encoding. false false 0 7 9 Virus Contains messages that could not be fully unpacked but are classified as containing a virus. false false 0 7 10 Spam Contains messages that could not be fully unpacked but are classified as spam. false false 0 7 11 Archiving Contains messages that could not be delivered to the Archive. false false 0 7 1000 Sent History Contains historic logs for delivered email. false true 0 7 1001 DMARC Reports An archive folder for inbound messages with attached DMARC Reports for the local domains. false true 0 7 1002 BEC - Executive Name Contains messages that match an Executive Name in the From: field. false false 0 7 1003 Suspect Contains messages with attachments deemed suspect, such as undesirable file extensions. false false 0 7 1004 Spoofed Contains messages that are identified as spoofed by the blocked spoofed messages rule. false false 0 7 1005 Junk Generic folder for unwanted messages such as chain letters and hoaxes. false false 0 7 1006 Archive In An archive folder for all inbound messages. By default, messages are kept for 3 months. false true 3 0 1007 Archive Out An archive folder for all outbound messages. By default, messages are kept for 3 months. false true 2 93 1008 Language Contains messages blocked because they contain profanity. false false 0 7 1009 Parked Large Files Used for temporarily 'parking' large outbound messages or message mailouts until after business hours. false false 0 0 1010 Oversize Used for quarantining large messages that exceed a threshold. false false 0 7 1011 Awaiting Challenge - Response A folder that holds messages awaiting a response in order to be released. false false 0 3 1012 Attachment Type - Executables Contains messages with identified executable attachments. false false 0 7 1013 Attachment Type - Images Used for messages that contain an attached image. false false 0 7 1014 Attachment Type - Video and Sound Contains messages with sound or video attachments, such as MP3 or AVI files. false false 0 7 1015 Attachment Type - Encrypted Used for messages with encrypted attachments, such as encrypted archive files. false false 0 7 1016 Attachment Type - Unknown Contains messages with binary files of an unknown type. false false 0 7 1017 Policy Breaches Generic folder for messages that breach company policy. false false 0 7 1018 Policy Breaches - SEC Contains messages which may indicate possible SEC compliance issues. false false 0 365 1019 Policy Breaches - SOX Contains messages which trigger keywords which may indicate possible Sarbanes-Oxley compliance issues. false false 0 365 1020 Attachment Type - Documents Contains messages with document attachments, such as PDF files. false false 0 7 1021 Suspect Images Used by the integrated Image Analyzer component to hold images that may be Pornographic. false false 0 7 1022 Policy Breaches - HIPAA Contains messages that trigger health-related keywords which may indicate possible HIPAA compliance issues. false false 0 365 1023 Spam - Confirmed Used where there is a high degree of confidence that the messages are spam. The folder is not end-user managed. false false 0 7 1024 Spam - Scams Suspected 419, Lottery and other scam emails. false false 0 7 1025 Spam - Suspected Used where the message is suspected as spam. The folder is end-user managed. false false 0 7 1026 TLS Failures Contains messages that failed to meet TLS criteria. false false 0 7 1027 DKIM Failures Contains messages that failed to pass DKIM verification. false false 0 7 1028 DKIM Signing Failures Contains messages that could not have a DKIM signature applied. false false 0 7 1029 Malware Messages tagged as having malware by an anti-virus scanner. false false 0 7 1030 Malware - Virus Scanner Errors Messages that have caused the anti-virus scanner to report an error. false false 0 7 1031 Malware - Suspected Messages suspected of having malicious content by one of the gateway's threat filters. false false 0 7 1032 SenderID Failures Contains messages that failed to pass SenderID verification. false false 0 7 1033 Suspect URLs Contains messages that include suspect URLs. false false 0 7 1034 Malware - AMAX Contains messages suspected of having malicious content by the Advanced Malware and Exploit Detection (AMAX) filter. false false 0 7 1035 Malformed PDF Contains messages with PDF attachments that are malformed or corrupt. false false 0 7 1036 DMARC Failures - Quarantine policy Contains messages that failed to pass DMARC verification, where the DMARC policy for message disposition was "quarantine". false false 0 7 1037 DMARC Failures - Reject policy Contains messages that failed to pass DMARC verification, where the DMARC policy for message disposition was "reject". false false 0 7 1038 BEC - Fraud Filter Contains messages detected by the BEC Fraud Filter. false false 0 7 1039 BEC - Domain Similarity Contains messages where the From: domain is similar to a local domain. false false 0 7
#
trustwave-seg-list-quarantine-folders-with-day-infoGets a list of folders with current day information.
#
Base Commandtrustwave-seg-list-quarantine-folders-with-day-info
#
InputThere are no input arguments for this command.
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.Folder.dayItems | Unknown | The items of the day for the folder. |
TrustwaveSEG.Folder.description | String | The description of the folder. |
TrustwaveSEG.Folder.folderId | Number | The ID of the folder. |
TrustwaveSEG.Folder.folderType | Number | The type of the folder. |
TrustwaveSEG.Folder.iconIndex | Number | The icon index of the folder. |
TrustwaveSEG.Folder.isDeleted | Boolean | Whether the folder is deleted. |
TrustwaveSEG.Folder.isFingerprintingEnabled | Boolean | Whether fingerprinting is enabled for the folder. |
TrustwaveSEG.Folder.isPassThru | Boolean | Whether pass thru is enabled for the folder. |
TrustwaveSEG.Folder.isPublishedInbound | Boolean | Whether the folder is published inbound. |
TrustwaveSEG.Folder.isPublishedOutbound | Boolean | Whether the folder is published outbound. |
TrustwaveSEG.Folder.isReadOnly | Boolean | Whether the is folder read-only. |
TrustwaveSEG.Folder.name | String | The name of the folder. |
TrustwaveSEG.Folder.numFiles | Number | The number of files in the folder. |
TrustwaveSEG.Folder.parentId | Number | The parent ID of the folder. |
TrustwaveSEG.Folder.path | String | The path of the folder. |
TrustwaveSEG.Folder.retention | Number | The retention of the folder. |
TrustwaveSEG.Folder.securityDescription | String | The security description of the folder. |
#
Command Example!trustwave-seg-list-quarantine-folders-with-day-info
#
Context Example#
Human Readable Output#
Quarantine Folders with Day Info
Folder Id Name Description Num Files Is Deleted Is Read Only Retention 1007 Archive Out An archive folder for all outbound messages. By default, messages are kept for 3 months. 2 false true 93
#
trustwave-seg-list-day-info-by-quarantine-folderGet the current day information for a folder.
#
Base Commandtrustwave-seg-list-day-info-by-quarantine-folder
#
InputArgument Name | Description | Required |
---|---|---|
folder_id | The ID of the folder with quarantine day information. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.DayInfo.endTime | Number | The end time of the day information. |
TrustwaveSEG.DayInfo.numFiles | Number | The number of files of the day information. |
TrustwaveSEG.DayInfo.startTime | Number | The start time of the day information. |
#
Command Example!trustwave-seg-list-day-info-by-quarantine-folder folder_id=1006
#
Human Readable Output#
Quarantine Folder with Day Info. ID: 1006No entries.
#
trustwave-seg-find-quarantine-messageFind message by specified parameters.
#
Base Commandtrustwave-seg-find-quarantine-message
#
InputArgument Name | Description | Required |
---|---|---|
time_range | An optional time range of the search, i.e., 3 months, 1 week, 1 day ago, etc. | Optional |
start_time | Start time of the search in the format: YYYY-mm-ddTHH:MM:SSZ or i.e., 3 months, 1 week, 1 day ago, etc. Given only the start_time, end_time will be set to the current time. | Optional |
end_time | End time of the search in the format: YYYY-mm-ddTHH:MM:SSZ or i.e., 3 months, 1 week, 1 day ago, etc. | Optional |
max_rows | The number of rows to return from the API. Default to 10. Default is 10. | Optional |
folder_id | The ID of the folder in which to search for information (e.g., 1006). | Optional |
message_name | The name of the message to search for. | Optional |
classification | The classification ID. Can be found by using the classification command (e.g., 37). | Optional |
from_user | The email address from which the message was sent. | Optional |
to_user | The email address to which the message was sent. | Optional |
to_domain | The domain to which the message was sent. | Optional |
min_size | The minimum size in bytes of the message (e.g., 0). | Optional |
max_size | The maximum size in bytes of the message (e.g., 1024). | Optional |
subject | The subject of the message. (e.g., "some subject"). | Optional |
search_history | Whether the search should include the history. Possible values are: true, false. | Optional |
forwards | Whether the search should include forwarded messages. Possible values are: true, false. | Optional |
block_number | The block number of the message (e.g., 106098471075840). | Optional |
search_blank_subject | Whether the search should include messages with a blank subject. Possible values are: true, false. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
TrustwaveSEG.Message.actionType | Number | The action type of the message. |
TrustwaveSEG.Message.blockNumber | Number | The block number of the message. |
TrustwaveSEG.Message.blockRecipientIndex | Number | The block recipient index of the message. |
TrustwaveSEG.Message.classification | Number | The classification of the message. |
TrustwaveSEG.Message.deleted | Number | The number of the deleted message. |
TrustwaveSEG.Message.description | String | The description of the message. |
TrustwaveSEG.Message.edition | String | The edition of the message. |
TrustwaveSEG.Message.folderId | Number | The folder ID of the message. |
TrustwaveSEG.Message.hasAttachments | Boolean | Whether the message has attachments. |
TrustwaveSEG.Message.messageBody | String | The body of the message. |
TrustwaveSEG.Message.messageName | String | The name of the message. |
TrustwaveSEG.Message.recipient | String | The recipient of the message. |
TrustwaveSEG.Message.sender | String | The sender of the message. |
TrustwaveSEG.Message.serverId | Number | The server ID of the message. |
TrustwaveSEG.Message.sessionNumber | Number | The session number of the message. |
TrustwaveSEG.Message.size | Number | The size of the message. |
TrustwaveSEG.Message.subject | String | The subject of the message. |
TrustwaveSEG.Message.timeArrived | Number | The time the message arrived. |
TrustwaveSEG.Message.timeLogged | Number | The time the message was logged. |
TrustwaveSEG.Message.unicodeSubject | String | The unicode subject of the message. |
#
Command Example!trustwave-seg-find-quarantine-message max_rows=10 time_range="3 month"
#
Context Example#
Human Readable Output#
Find Quarantine Messages Results
Subject Description Block Number Edition Folder Id Message Name Recipient Server Id Time Logged This is the subject line - Message Archiving : Archive All Inbound Messages 106115282632704 6082e3b60013 1006 B6082e3b60000 test@example.com 1 1619190710 This is the subject line - Message Archiving : Archive All Inbound Messages 106112687144960 608249030012 1006 B608249020000 test@example.com 1 1619151106 This isafdsafasgfaiysgfsaidghfuisf sdgsgsd the subject line - Message Archiving : Archive All Outbound Messages 106109128212480 608174e50003 1007 B608174e50000 test@example.com 1 1619096805 This isafdsafasgfaiysgfsaidghfuisf sdgsgsd the subject line - Message Archiving : Archive All Outbound Messages 106106651148288 6080e13e0000 1007 B6080e1390000 test@example.com 1 1619059003 This is the subject line - Message Archiving : Archive All Inbound Messages 106098471075840 607ef9ae0000 1006 B607ef9ac0000 test@example.com 1 1618934189
#
trustwave-seg-spiderlabs-forward-quarantine-message-as-spamForwards a message to Spiderlabs as spam.
#
Base Commandtrustwave-seg-spiderlabs-forward-quarantine-message-as-spam
#
InputArgument Name | Description | Required |
---|---|---|
block_number | The block number of the message to search for (e.g., 106098471075840). Can be retrieved from the find message endpoint. | Required |
edition | Edition of the message (e.g., "607ef9ae0000"). Can be retrieved from the find message endpoint. | Required |
folder_id | Folder ID of the message (e.g., 1006). Can be retrieved from the find message endpoint. | Required |
message_name | The name of the message (e.g., "B607ef9ac0000"). Can be retrieved from the find message endpoint. | Required |
recipient | The recipient of the message (e.g., email@example.com). Can be retrieved from the find message endpoint. | Required |
server_id | The server ID of the message (e.g., 1). Can be retrieved from the find message endpoint. . | Required |
time_logged | The time the message was logged (e.g., 1618934189). Can be retrieved from the find message endpoint. . | Required |
spam_report_message | The message that should be shown with the message on Spiderlabs. (e.g., "This message is spam..."). | Required |
is_spam | Whether the message is spam. Possible values are true, false. | Required |
#
Context OutputThere is no context output for this command.
#
Command Example!trustwave-seg-spiderlabs-forward-quarantine-message-as-spam block_number=106098471075840 edition=607ef9ae0000 folder_id=1006 is_spam="true" message_name=B607ef9ac0000 recipient=test@example.com server_id=1 spam_report_notification_from_address="This is a spam" time_logged=1618934189 spam_report_message="This is a spam"
#
Human Readable OutputThe message was forwarded to Spiderlabs.