Extract IP Addresses from Array of JSON Objects
POST /Command/GetIPsFromJSONObject
Scans a JSON Object and extracts all IP addresses into a list
Body Parameters Username
string
Required
The username of your D3 SOAR account.
Site
string
Required
The D3 SOAR site to run the remote command.
Input
array<JSON Object>
Optional
JSON Object containing IP addresses
Body Sample Data application/json
JSON
{
"Username": "Admin",
"Site": "Security Operations",
"CommandParams": {
"Input": [
{
"IP": "192.168.1.242"
},
{
"IP": "127.0.0.1"
},
{
"IP": "55.99.44.12"
}
]
}
}
application/json error
string
The error message if the API request has failed.
returnData
JSON Object
The return data from the API request.
JSON
{
"error": "",
"returnData": {
"Status": "Successful",
"Data": {
"InternalIPs": [
"192.168.1.242",
"127.0.0.1"
],
"ExternalIPs": [
"55.99.44.12"
]
}
}
}
application/json Error
string
A error message when the API request fails.
JSON
{"Error": "The body of the request must be a valid JSON object"}
application/json Error
string
A error message when the API request fails.
JSON
{"Error": "Invalid authentication key."}
application/json Error
string
A error message when the API request fails.
JSON
{"Error": "The request exceeds rate limits or is otherwise blocked by rate limiting policies."}
application/json Error
string
A error message when the API request fails.
JSON
{"Error": "Unexpected Error."}