List discovery campaign(s)

List all the existing discovery campaign(s)

Responses
  • 200 Discovery campaign list

    Array [

    _id
    string (Internal ID) required

    Object internal ID

    name
    string required

    The name of the discovery campaign

    authorizationLevels
    object (models.discovery.campaign.DiscoveryCampaignAuthorizationLevels) required

    The authorization levels of the discovery campaign

    eventOnSuccess
    boolean required

    Whether to log a Horizon event in case of success

    eventOnWarning
    boolean required

    Whether to log a Horizon event in case of warning

    eventOnFailure
    boolean required

    Whether to log a Horizon event in case of failure

    enabled
    boolean required

    Whether 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

    ]

  • 204 No discovery campaign defined or insufficient permissions
  • 401 Authentication error
  • 403 Forbidden action
  • 500 Unexpected internal server error