Update a discovery campaign
Update an existing discovery campaign's information
Discovery campaign to update
name
string
requiredThe name of the discovery campaign |
authorizationLevels
object (DiscoveryCampaignAuthorizationLevels)
required
The authorization levels of the discovery campaign |
eventOnSuccess
boolean
requiredWhether to log a Horizon event in case of success |
eventOnWarning
boolean
requiredWhether to log a Horizon event in case of warning |
eventOnFailure
boolean
requiredWhether to log a Horizon event in case of failure |
enabled
boolean
requiredWhether the discovery campaign is enabled, i.e. whether it can be fed |
description
string | null
The description of the discovery campaign |
hosts
array of string | null
The hosts to be scanned by the discovery campaign |
ports
array of string | null
The ports to be scanned by the discovery campaign |
gradingPolicies
array of string | null
The grading policies to apply to grade the discovered certificates on this campaign |
-
200 Discovery campaign successfully updated
_idstring (Internal ID) requiredObject internal ID
namestring requiredThe name of the discovery campaign
authorizationLevelsobject (DiscoveryCampaignAuthorizationLevels) requiredThe authorization levels of the discovery campaign
eventOnSuccessboolean requiredWhether to log a Horizon event in case of success
eventOnWarningboolean requiredWhether to log a Horizon event in case of warning
eventOnFailureboolean requiredWhether to log a Horizon event in case of failure
enabledboolean requiredWhether the discovery campaign is enabled, i.e. whether it can be fed
descriptionstring | nullThe description of the discovery campaign
hostsarray of string | nullThe hosts to be scanned by the discovery campaign
portsarray of string | nullThe ports to be scanned by the discovery campaign
gradingPoliciesarray of string | nullThe grading policies to apply to grade the discovered certificates on this campaign
-
400 Unable to update the discovery campaign
-
401 Authentication error
-
403 Forbidden action
-
404 Discovery campaign not found
-
500 Unexpected internal server error