The following are the REST calls for ExtraHop Networks Adaptive Plugin:
Add Threat Request
PUT http://<Gateway_url>/edge/domain-list Header auth Basic <token> Content-Type: application/JSON { “domains”: “domains1, domains2” }
POST http://<Gateway_url>/rest_login Content-Type: application/JSON { "username": "<gateway_username>", "password": "<gateway_password>", "bam_url": "<Address_Manager_IP>" }
Parameter | Description |
---|---|
username | The username of the Gateway user |
password | The password of the Gateway user |
bam_url | The IP address of the Address Manager server that BlueCat Gateway is configured to connect to. |
Successful response
200 OK Content-Type: text/html BAMAuthToken: p4QGYMTU4NzU3NjI4MDY5MDphcGk=
Auto Heal PTR Request
POST http://<Gateway_url>/auto-heal Header auth Basic <token> Content-Type: application/JSON { “ip_address”: “10.10.10.10” }