Update an Inclusion Profile
put
/api/discovery/Includes/{id}
Updates the properties of the inclusion profile that matches the specified ID.
Request
Path Parameters
-
id(required): integer
The discovery profile ID.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
BaseDN: string
LDAP base domain nameExample:
DC=localdomain,DC=local
-
CDPSeeds: string
CDP Seeds (e.g. 10.10.10.1,hostname,172.16.10.1)Example:
oracle.doceng.json.BetterJsonNull@654db80b
-
CIDR: string
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
-
DeviceZoneID: integer
Unique identifier for Device Zone.Example:
1
-
Hops: integer
Number of iterations for CDP discoveryExample:
oracle.doceng.json.BetterJsonNull@9de1b85
-
IPRange: string
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
-
ProfileName: string
Profile NameExample:
Example Active Directory Scan
-
ProfileStatusID: integer
Profile Status ID Allowed Values: 0 => Disabled 1 => EnabledExample:
0
-
ProfileTypeID: integer
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
-
Query: string
LDAP query text to produce server namesExample:
(objectClass=computer)
-
Seeds: string
Seeds (e.g. 10.10.10.1,hostname,172.16.10.1)Example:
oracle.doceng.json.BetterJsonNull@3d3b4e09
-
ServerName: string
LDAP server fqdn host or IP AddressExample:
ldap.localdomain.local
-
ServerPort: integer
LDAP server port (tcp only)Example:
389
-
UserDN: string
LDAP base user nameExample:
monolith@localhost
-
UserPass: string
LDAP base user passwordExample:
password
Response
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : SuccessfulUpdateOperation
Type:
Show Source
object
-
message: string
The response message.Example:
Updated record
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : type
Type:
Show Source
object
-
data: array
data
The properties of the updated inclusion profile.
-
total: integer
The total number of results regardless of paging.Example:
1
Nested Schema : discoveryIncludesRead
Type:
Show Source
object
-
BaseDN: string
LDAP base domain nameExample:
DC=localdomain,DC=local
-
CDPSeeds: string
CDP Seeds (e.g. 10.10.10.1,hostname,172.16.10.1)Example:
oracle.doceng.json.BetterJsonNull@654db80b
-
CIDR: string
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
-
CIDRFlag: string
CIDR Flag (Disabled or Enabled)Example:
oracle.doceng.json.BetterJsonNull@20a4cba7
-
DeviceZoneID: object
DeviceZoneID
Unique identifier for Device Zone.
-
DeviceZoneName: string
Device Zone nameExample:
Default First Zone
-
Hops: integer
Number of iterations for CDP discoveryExample:
oracle.doceng.json.BetterJsonNull@9de1b85
-
IPRange: string
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
-
ProfileID: integer
Discovery Profile ID specified for individual CRUD operationsExample:
3
-
ProfileName: string
Profile NameExample:
Example Active Directory Scan
-
ProfileStatus:
Profile Status - Enabled - DisabledExample:
Disabled
-
ProfileStatusIcon: string
Profile Status IconExample:
OrbRed.png
-
ProfileStatusID: integer
Profile Status ID Allowed Values: 0 => Disabled 1 => EnabledExample:
0
-
ProfileType: string
Profile Type Allowed Values: - Ping Scan - Seed Scan - LDAP Scan - CDP ScanExample:
LDAP Scan
-
ProfileTypeID: integer
Profile Type ID Allowed Values: - 1 => Ping Scan - 2 => Seed Scan - 3 => LDAP Scan - 4 => CDP ScanExample:
3
-
Query: string
LDAP query text to produce server namesExample:
(objectClass=computer)
-
Seeds: string
Seeds (e.g. 10.10.10.1,hostname,172.16.10.1)Example:
oracle.doceng.json.BetterJsonNull@3d3b4e09
-
ServerName: string
LDAP server fqdn host or IP AddressExample:
ldap.localdomain.local
-
ServerPort: integer
LDAP server port (tcp only)Example:
389
-
UserDN: string
LDAP base user nameExample:
monolith@localhost
-
UserPass: string
LDAP base user passwordExample:
password
Nested Schema : DeviceZoneID
Type:
object
Unique identifier for Device Zone.
Show Source
-
id: integer
Device Zone IDExample:
1
-
name: string
Name associated with the Device Zone IDExample:
Default First Zone
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
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