Push one or more discovery events
Push one or more discovery events for a specific discovery feed session on a discovery campaign
The discovery events to be pushed
Array [
|
code
string
requiredThe code of the event to raise in the discovery events
Enum
NETSCAN
IMPORTSCAN-UPDATE
NETSCAN-UPDATE
IMPORTSCAN-REGISTER
LOCALIMPORT-REGISTER
LOCALSCAN-UPDATE
ACME-UPDATE
WEBRA-UPDATE
LOCALIMPORT
WEBRA-REGISTER
SESSION-START
NETIMPORT-REGISTER
ACME-REGISTER
EST-REGISTER
NETIMPORT-UPDATE
SESSION-END
WEBRA
LOCALIMPORT-UPDATE
EST
IMPORTSCAN
LOCALSCAN
NETSCAN-REGISTER
ACME
NETIMPORT
EST-UPDATE
UNKNOWN
LOCALSCAN-REGISTER
|
|
campaign
string
requiredThe name of the discovery campaign concerned by the event |
|
status
string
requiredThe type of event to raise
Enum
success
warning
failure
|
|
sessionId
string | null
The ID of the discovery feed session |
|
errorCode
string | null
The error code of the event |
|
errorMessage
string | null
The error message of the event |
|
timestamp
integer | null
When did the event occur (Unix timestamp in milliseconds) |
|
removeAt
integer | null
|
|
clientVersion
string | null
The version of the discovery client that raised the event |
|
clientIp
string | null
The IP of the machine where the Horizon client is running from |
|
clientId
string | null
|
|
actorId
string | null
The identifier of the principal that was used when the event was raised |
|
certificateId
string | null
The ID of the certificate concerned by the event (in Horizon) |
|
hostname
string | null
The hostname concerned by the event |
|
ip
string | null
The IP address concerned by the event |
|
port
integer | null
The TCP port concerned by the event |
|
source
string | null
The type of discovery that raised the event |
]
-
201 Discovery event successfully registered
-
204 Registering discovery event for the considered status is disabled on the considered discovery campaign
-
400 Bad request
-
401 Unauthorized request
-
403 Forbidden action
-
404 Discovery campaign not found
-
500 Internal server error