Skip to main content

Update Discovery Asset

PUT 

/discovery/assets/:id/

Update Discovery Asset

Request

Path Parameters

    id stringrequired

Body

required
    name stringrequired

    Possible values: <= 256 characters

    state stringrequired

    Possible values: [NEW, ACTIVE, HIDDEN, ARCHIVED]

    • NEW - New
    • ACTIVE - Active
    • HIDDEN - Hidden
    • ARCHIVED - Archived
    owners object[]

    Discovery asset owners.

  • Array [
  • name stringrequired

    Possible values: <= 255 characters

    Name of the label.
    The maximum length is 255 characters.

    color stringrequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9#_-]*$

    Color of the label, in RGB hexadecimal format prefixed with "#".
    For example, "#00FF00" for green.

  • ]
  • comment stringnullablerequired

    Comment on the object.

    labels object[]
  • Array [
  • name stringrequired

    Possible values: <= 255 characters

    Name of the label.
    The maximum length is 255 characters.

    color stringrequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9#_-]*$

    Color of the label, in RGB hexadecimal format prefixed with "#".
    For example, "#00FF00" for green.

  • ]

Responses

Schema
    id stringrequired

    A unique Base58 value identifying this object.

    account stringrequired

    A unique Base58 value identifying this object.

    name stringrequired

    Possible values: <= 256 characters

    url stringrequired
    type stringrequired

    Possible values: [web, api]

    • web - Web
    • api - API
    last_seen date-timerequired
    first_seen date-timerequired
    sources object[]required
  • Array [
  • id stringrequired

    Possible values: <= 255 characters

    name stringrequired

    Possible values: <= 256 characters

  • ]
  • technologies stringrequired
    authorities stringrequired
    risk integernullablerequired

    Possible values: [0, 10, 20, 30, null]

    • 0 - NA
    • 10 - Low
    • 20 - Normal
    • 30 - High
    score stringrequired

    Possible values: [``, A+, A, B, C, D, E, F, R]

    • `` -
    • A+ - A+
    • A - A
    • B - B
    • C - C
    • D - D
    • E - E
    • F - F
    • R - R
    security_headers_url stringrequired
    state stringrequired

    Possible values: [NEW, ACTIVE, HIDDEN, ARCHIVED]

    • NEW - New
    • ACTIVE - Active
    • HIDDEN - Hidden
    • ARCHIVED - Archived
    screenshot urinullablerequired
    target objectrequired
    id stringrequired

    A unique Base58 value identifying this object.

    name stringrequired

    Possible values: <= 255 characters

    Name of the target.
    The maximum length is 255 characters.

    desc stringnullablerequired

    Description of the target.
    Defaults to "".

    running_scan objectrequired

    Current scan running for the target.

    id stringrequired

    A unique Base58 value identifying this object.

    status stringrequired

    Possible values: [canceled, canceling, completed, completed_with_errors, failed, paused, pausing, queued, resuming, started, under_review, finishing_up]

    Status of the scan:

    • canceled - Canceled
    • canceling - Canceling
    • completed - Completed
    • completed_with_errors - Completed with errors - DEPRECATED
    • failed - Failed
    • paused - Paused
    • pausing - Pausing
    • queued - Queued
    • resuming - Resuming
    • started - Started
    • under_review - Under Review
    • finishing_up - Finishing up
    started date-timenullablerequired

    Date and time of when the scan started.

    completed date-timenullablerequired

    Date and time of when the scan was completed.

    scan_profile stringrequired

    ID for the Scan Profile

    lows integernullablerequired

    Number of vulnerability findings with low severity.

    mediums integernullablerequired

    Number of vulnerability findings with medium severity.

    highs integernullablerequired

    Number of vulnerability findings with high severity.

    created date-timerequired
    crawler object

    Status of the crawler.

    state stringrequired

    State of the crawler execution.
    For example, "started" or "ended".

    status string[]required

    List with two numbers where the first is the crawled URLs and the second is the total of URLs to crawl.

    warning object[]required

    List of warnings occurred during the crawler execution.

  • Array [
  • code stringrequired

    Warning code.

    message stringrequired

    Warning message.

  • ]
  • error object[]required

    List of errors occurred during the crawler execution.

  • Array [
  • code stringrequired
    message stringrequired
  • ]
  • full_status objectrequired

    Detailed information on the crawler execution.

    type stringrequired

    Type of information.
    The value is "feedback".

    iid uuidrequired

    Internal information.

    aid uuidrequired

    Internal information.

    ts stringrequired

    Timestamp of the crawler execution.

    subtype stringrequired

    Sub-type of the type of information.
    The value is "status".

    stage stringrequired

    Stage of the scan.
    The value is "crawler".

    module stringrequired

    Module of the crawler that is executing.

    data objectrequired

    Further details on the crawler execution.

    type stringrequired

    Type of information.
    The value is "feedback".

    countTimeoutEndpoints integerrequired

    Number of requests with timeouts during the crawler execution.

    countLoginFailed integerrequired

    Number of failed login attempts during the crawler execution.

    version integerrequired

    Version number.

    countNetworkErrorEndpoints integerrequired

    Number of network errors during the crawler execution.

    doingLogin booleanrequired

    If true, the crawler is currently trying to log in to the target.

    done integerrequired

    Number of URLs crawled.

    rejected integerrequired

    Number of URLs deduplicated during the crawler execution.

    total integerrequired

    Total number of URLs to crawl.

    allExtraHosts string[]required

    List of extra hosts.

    crawlingEndpoints string[]required

    List of URLs currently being crawled.

    lastLogin object[]required

    List of the last logins.

  • Array [
  • status stringrequired

    Status of the login attempt.

    timestamp integerrequired

    Timestamp of the login attempt.

  • ]
  • status objectrequired

    List of HTTP response codes obtained during the crawler execution and how many of each.

    property name* anyrequired

    List of HTTP response codes obtained during the crawler execution and how many of each.

    outOfScopeHostsCount objectrequired

    List of URLs out of the target's scope and the number of times the crawler hit them.

    property name* anyrequired

    List of URLs out of the target's scope and the number of times the crawler hit them.

    allHostnames objectrequired

    List of all hostnames to crawl.

    property name* anyrequired

    List of all hostnames to crawl.

    lastCrawledEndpoints object[]required

    List of the last crawled URLs.

  • Array [
  • jobId integerrequired

    Identifier of the crawler job.

    status integerrequired

    HTTP response status code for the crawler request.

    method stringrequired

    HTTP method of the crawler request.

    url urirequired

    URL of the crawler request.

  • ]
  • statusByHost objectrequired

    List of HTTP response codes obtained during the crawler execution and how many of each, grouped by hostname.

    property name* anyrequired

    List of HTTP response codes obtained during the crawler execution and how many of each, grouped by hostname.

    fingerprinter object

    Status of the fingerprinter.

    state stringrequired

    State of the fingerprinter execution.
    For example, "started" or "ended".

    count integerrequired

    Number of technologies (frameworks) detected by the fingerprinter.

    warning string[]required

    List of warnings occurred during the fingerprinter execution.

    error string[]required

    List of errors occurred during the fingerprinter execution.

    scanner object

    Status of the scanner.

    state stringrequired

    State of the scanner execution.
    For example, "started" or "ended".

    status string[]required

    List with two numbers where the first is the scanned URLs and the second is the total of URLs to scan.

    warning object[]required

    List of warnings occurred during the scanner execution.

  • Array [
  • code stringrequired

    Warning code.

    message stringrequired

    Warning message.

  • ]
  • error string[]required

    List of errors occurred during the scanner execution.

    full_status objectrequired

    Detailed information on the scanner execution.

    type stringrequired

    Type of information.
    The value is "feedback".

    iid uuidrequired

    Internal information.

    aid uuidrequired

    Internal information.

    ts stringrequired

    Timestamp of the scanner execution.

    subtype stringrequired

    Sub-type of the type of information.
    The value is "status".

    stage stringrequired

    Stage of the scan.
    The value is "scanner".

    module stringrequired

    Module of the scanner that is executing.

    data objectrequired

    Further details on the scanner execution.

    done integerrequired

    Number of URLs scanned.

    total integerrequired

    Total number of URLs to scan.

    scannerState objectrequired

    Details on the scanner state.

    numberOfRequestBeingScanned integerrequired

    Number of scanner requests executing.

    currentAverageRtt doublerequired

    Current average response time to scanner requests.

    averageRtt doublerequired

    Overall average response time to scanner requests.

    nStatus3xx stringrequired

    Number of HTTP 3XX response status codes during the scanner execution.

    nStatus4xx stringrequired

    Number of HTTP 4XX response status codes during the scanner execution.

    nStatus5xx stringrequired

    Number of HTTP 5XX response status codes during the scanner execution.

    nConnectionErrors stringrequired

    Number of connection errors during the scanner execution.

    nTimeouts stringrequired

    Number of request timeouts during the scanner execution.

    nRequests stringrequired

    Number of requests executed by the scanner.

    sampleOfRequestBeingScanned objectrequired

    List of the current scanner requests.

    httpMethod stringrequired

    HTTP method of the scanner request.

    url urirequired

    URL of the scanner request.

    stack object[]

    Technologies found in the scan.
    The scanning engine uses them to fine-tune vulnerability tests and texts about how to fix the vulnerabilities.

  • Array [
  • id stringrequired

    A unique Base58 value identifying this object.

    name Framework Namerequired

    Possible values: <= 255 characters

    Name of the technology.
    For example, "PHP, "SQLite", "Python", "Apache", or "Wordpress".
    The maximum lenght is 255 characters.

    desc Framework Descriptionnullablerequired

    Description of the technology.
    Defaults to "".

  • ]
  • blackout_period objectrequired

    Time window during which scans are temporarily interrupted.

    begin timerequired

    Time of when the blackout period starts, in ISO 8601 UTC format.
    For example, "13:27".

    cease timerequired

    Time of when the blackout period ceases, in ISO 8601 UTC format.
    For example, "13:27".

    weekdays integer[]required
    enabled booleanrequired

    If true, the blackout period is enabled.

    timezone stringrequired

    Possible values: <= 64 characters

    changed date-timerequired

    Date and time of the last change, in ISO 8601 UTC format.
    For example, "2023-08-09T13:27:43.8208302".

    changed_by objectrequired

    User who last made changes.

    id stringrequired

    A unique Base58 value identifying this object.

    email emailrequired

    Possible values: <= 254 characters

    Email of the user.

    name stringrequired

    Possible values: <= 60 characters

    Name of the user.

    owners object[]

    Discovery asset owners.

  • Array [
  • id stringrequired

    A unique Base58 value identifying this object.

    name stringrequired

    Possible values: <= 255 characters

    Name of the label.
    The maximum length is 255 characters.

    color stringrequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9#_-]*$

    Color of the label, in RGB hexadecimal format prefixed with "#".
    For example, "#00FF00" for green.

    changed_by objectrequired

    User who last made changes.

    id stringrequired

    A unique Base58 value identifying this object.

    email emailrequired

    Possible values: <= 254 characters

    Email of the user.

    name stringrequired

    Possible values: <= 60 characters

    Name of the user.

    changed date-timerequired

    Date and time of the last change, in ISO 8601 UTC format.
    For example, "2023-08-09T13:27:43.8208302".

  • ]
  • comment stringnullablerequired

    Comment on the object.

    labels object[]
  • Array [
  • id stringrequired

    A unique Base58 value identifying this object.

    name stringrequired

    Possible values: <= 255 characters

    Name of the label.
    The maximum length is 255 characters.

    color stringrequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9#_-]*$

    Color of the label, in RGB hexadecimal format prefixed with "#".
    For example, "#00FF00" for green.

    changed_by objectrequired

    User who last made changes.

    id stringrequired

    A unique Base58 value identifying this object.

    email emailrequired

    Possible values: <= 254 characters

    Email of the user.

    name stringrequired

    Possible values: <= 60 characters

    Name of the user.

    changed date-timerequired

    Date and time of the last change, in ISO 8601 UTC format.
    For example, "2023-08-09T13:27:43.8208302".

  • ]
  • redirect_from objectnullablerequired
    property name* anynullablerequired
    redirect_to stringrequired
Loading...