Check IP Reputation
LAST UPDATED: AUG 07, 2024
Get the reputation of external IPs from the system reputation integrations
Implementation | System |
Command Category | Cyber Utility |
Tags | REPUTATION ARTIFACT IP |
Inputs
Parameter Name | Required/Optional | Description | Sample Data |
---|---|---|---|
externalIPs | Required | The external IPs |
CODE
|
Return Reputation Raw Data | Optional | Whether to return raw data of artifact's reputation | Yes |
Return Reputation's HTML | Optional | Whether to return beautified HTML based on artifact's reputation | Yes |
Output
Remote Command API
The D3 command API allows you to send requests to D3 SOAR to execute this utility command via REST API.
Request
POST
https:/{base_url}/{api_namespace}/api/Command/CheckIPReputation
Headers
Please refer to the page Webhook Configuration Guide - Authentication Method: API Keys for more details.
Request Body
{
"Username": <Username here>,
"Site": <Site here>,
"CommandParams": {
"externalIPs": <The external Ips>,
"Return Reputation Raw Data": <Whether to return raw data of artifact's reputation>,
"Return Reputation's HTML": "<Whether to return beautified HTML based on artifact's reputation>
}
}
Body Parameters
Parameter Name | Type | Required/Optional | Description |
---|---|---|---|
Username |
| Required | The username of your D3 SOAR account. |
Site |
| Required | The D3 SOAR site to run the remote command. |
externalIPs |
| Required | The external Ips |
Return Reputation Raw Data |
| Optional | Whether to return raw data of artifact's reputation |
Return Reputation's HTML |
| Optional | Whether to return beautified HTML based on artifact's reputation |
Sample Request
SAMPLE DATA
{
"Username": "Admin",
"Site": "Security Operations",
"CommandParams": {
"externalIPs": [
"8.8.8.8"
],
"Return Reputation Raw Data": "Yes",
"Return Reputation's HTML": "Yes"
}
}
Response
Response Fields
Field Name | Type | Description |
---|---|---|
error |
| The error message if the API request has failed. |
keyFields |
| The key field from the API request. |
returnData |
| The return data from the API request. |
rawData |
| The raw data from the API request. |
contextData |
| The context data from the API request. |
Sample Response
{
"error": "",
"keyFields": {
"IP":["8.8.8.8"],
"RiskLevel":["High"]
},
"returnData": "Succeed",
"rawData": [
{
"IP": "8.8.8.8",
"RiskLevel": "Low",
"RiskLevelID": 3,
"RawData": {
"ip": "8.8.8.8",
"queries": {
"getinfo": {
"ipint": 134744072,
"ip_status": 0,
"reputation": 80,
"riskLevel": 3
}
}
},
"BeautifiedHtml": "<table class='cc-table horizontal-table'><tr><th>Type</th><th>Indicator</th><th>Reputation Score</th><th>Category Group</th><th>D3 Risk Level</th></tr><tr><td>IPv4</td><td>8.8.8.8</td><td>80</td><td>None</td><td>3</td></tr></table>"
}
],
"contextData": [
{
"IP": "8.8.8.8",
"RiskLevel": "Low",
"RiskLevelID": 3,
"RawData": {
"ip": "8.8.8.8",
"queries": {
"getinfo": {
"ipint": 134744072,
"ip_status": 0,
"reputation": 80,
"riskLevel": 3
}
}
},
"BeautifiedHtml": "<table class='cc-table horizontal-table'><tr><th>Type</th><th>Indicator</th><th>Reputation Score</th><th>Category Group</th><th>D3 Risk Level</th></tr><tr><td>IPv4</td><td>8.8.8.8</td><td>80</td><td>None</td><td>3</td></tr></table>"
}
]
}