Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion api_app/connectors_manager/connectors/email_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ def run(self) -> dict:
body=body,
)
base_eml.send()
return {"receiver": self._job.observable_name}
return {
"subject": base_eml.subject,
"from": base_eml.from_email,
"to": base_eml.to,
"body": base_eml.body,
}

def update(self) -> bool:
pass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"base_path": "api_app.connectors_manager.connectors",
},
"name": "EmailSender",
"description": "Send email",
"description": "Send a generic email",
"disabled": False,
"soft_time_limit": 60,
"routing_key": "default",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"base_path": "api_app.connectors_manager.connectors",
},
"name": "AbuseSubmitter",
"description": "Send email to request the takedown of a malicious domain",
"description": "Send an email to request to take down a malicious domain.",
"disabled": False,
"soft_time_limit": 60,
"routing_key": "default",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"related_connector_configs": [],
"playbook_to_execute": "Send_Abuse_Email",
"name": "AbuseIpToSubmission",
"description": "Pivot for plugins Abusix that executes playbook Send_Abuse_Email",
"description": "This Plugin leverages results from the Abusix analyzer to "
"extract the abuse contacts of an IP address to pivot to "
"the AbuseSubmitter connector.",
"disabled": False,
"soft_time_limit": 60,
"routing_key": "default",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"related_connector_configs": [],
"playbook_to_execute": "Abuse_IP",
"name": "TakedownRequestToAbuseIp",
"description": "Pivot for plugins Classic_DNS, CloudFlare_DNS, DNS0_EU, "
"Google_DNS, Quad9_DNS that executes playbook Abuse_IP",
"description": "This Plugin leverages results from DNS resolver analyzers "
"to extract a valid IP address to pivot to the Abusix analyzer.",
"disabled": False,
"soft_time_limit": 60,
"routing_key": "default",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"connectors": ["AbuseSubmitter"],
"pivots": [],
"for_organization": False,
"description": "Send email to take down malicious domain",
"description": "Playbook containing the AbuseSubmitter connector to send an email "
"to request to take down a malicious domain. "
"It is executed after the Abuse_IP playbook.",
"disabled": False,
"type": ["generic"],
"runtime_configuration": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"connectors": [],
"pivots": ["AbuseIpToSubmission"],
"for_organization": False,
"description": "Execute abusix then execute playbook Send_Abuse_Email",
"description": "Playbook containing the Abusix analyzer. "
"It is executed after the Takedown_Request playbook.",
"disabled": False,
"type": ["ip"],
"runtime_configuration": {
Expand Down