Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<WorkflowParameterValues xmlns="http://qradar.ibm.com/UniversalCloudRESTAPI/WorkflowParameterValues/V2">
<Value name="api_host" value="threatfox-api.abuse.ch/api/v1/" />
</WorkflowParameterValues>
16 changes: 16 additions & 0 deletions Community Developed/Abuse API/Threat Fox/threatfox.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Workflow name="Threat Fox" version="1.0" xmlns="http://qradar.ibm.com/UniversalCloudRESTAPI/Workflow/V2">
<Parameters>
<Parameter name="api_host" label="API Host" required="true"/>
</Parameters>
<Actions>
<CallEndpoint url="https://${/api_host}" method="POST" savePath="/response">
<RequestHeader name="Accept" value="application/json" />
<RequestBody type="application/json" encoding="UTF-8">
{ "query": "get_iocs", "days": 1}
</RequestBody>
</CallEndpoint>
<ForEach item="/sample" items="/response/body/data">
<PostEvent path="/sample" source="threatfox"/>
</ForEach>
</Actions>
</Workflow>