Update an Inclusion Profile

put

/api/discovery/Includes/{id}

Updates the properties of the inclusion profile that matches the specified ID.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • LDAP base domain name
    Example: DC=localdomain,DC=local
  • CDP Seeds (e.g. 10.10.10.1,hostname,172.16.10.1)
    Example: oracle.doceng.json.BetterJsonNull@654db80b
  • CIDR determines type of range expansion Allowed Values: - 1 => Glob expansion (e.g. 10.*.0-9.1,2,3,4) - 2 => CIDR expansion (e.g. 172.16.10.0/24)
    Example: oracle.doceng.json.BetterJsonNull@336070ab
  • Unique identifier for Device Zone.
    Example: 1
  • Number of iterations for CDP discovery
    Example: oracle.doceng.json.BetterJsonNull@9de1b85
  • IP Range (e.g. 10.*.0-9.1,2,3,4 for glob expansion; 172.16.10.0/24 for CIDR expansion)
    Example: 10.*.0-9.1
  • Profile Name
    Example: Example Active Directory Scan
  • Profile Status ID Allowed Values: 0 => Disabled 1 => Enabled
    Example: 0
  • Unique identifier for Profile Type. Allowed Values: - 1 => Ping Scan - 2 => Seed Scan - 3 => LDAP Scan - 4 => CDP Scan If ProfileTypeID = 1, it updates IPRange, CID parameters if specified. If ProfileTypeID = 2, it updates Seeds parameter if specified. If ProfileTypeID = 3, it updates ServerName, ServerPort, BaseDN, UserDN, UserPass, Query parameters if specified. If ProfileTypeID = 4, it updates CDPSeeds, Hops parameters if specified.
    Example: 3
  • LDAP query text to produce server names
    Example: (objectClass=computer)
  • Seeds (e.g. 10.10.10.1,hostname,172.16.10.1)
    Example: oracle.doceng.json.BetterJsonNull@3d3b4e09
  • LDAP server fqdn host or IP Address
    Example: ldap.localdomain.local
  • LDAP server port (tcp only)
    Example: 389
  • LDAP base user name
    Example: monolith@localhost
  • LDAP base user password
    Example: password
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulUpdateOperation
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
The properties of the updated inclusion profile.
Show Source
Nested Schema : discoveryIncludesRead
Type: object
Show Source
Nested Schema : DeviceZoneID
Type: object
Unique identifier for Device Zone.
Show Source

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top