v1

latestOpenAPI 3.0.02026-07-17166300328.1 KB
Servers

Edit server

put/servers/edit/{serverId}

Path parameters

string required
OR
string uuid required
Example:12345

UUID or numeric ID of the server

Request body

idstring
namestring
urlstring
authkeystring
org_idstring
pushboolean
pullboolean
push_sightingsboolean
push_galaxy_clustersboolean
pull_galaxy_clustersboolean
lastpulledidstring nullable
lastpushedidstring nullable
organizationstring nullable
remote_org_idstring
publish_without_emailboolean
unpublish_eventboolean
self_signedboolean
pull_rulesstring

Stringified JSON rules for pulling events from this server.

push_rulesstring

Stringified JSON rules for pushing events from this server.

cert_filestring byte nullable

Base64 encoded certificate

client_cert_filestring byte nullable

Base64 encoded client certificate

internalboolean
skip_proxyboolean
caching_enabledboolean
prioritystring nullable
cache_timestampboolean

Example request

{
  "id": "12345",
  "name": "Phishing Server",
  "url": "https://misppriv.circl.lu",
  "authkey": "894c8d095180c7ea28789092e96ca6424199aa4f",
  "org_id": "12345",
  "lastpulledid": "12345",
  "lastpushedid": "12345",
  "remote_org_id": "12345",
  "pull_rules": "{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]},\"url_params\":\"\"}",
  "push_rules": "{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]}}",
  "priority": "1"
}

Response

Server response

Example response

{
  "Server": {
    "id": "12345",
    "name": "Phishing Server",
    "url": "https://misppriv.circl.lu",
    "authkey": "894c8d095180c7ea28789092e96ca6424199aa4f",
    "org_id": "12345",
    "lastpulledid": "12345",
    "lastpushedid": "12345",
    "remote_org_id": "12345",
    "pull_rules": "{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]},\"url_params\":\"\"}",
    "push_rules": "{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]}}",
    "priority": "1"
  }
}