Discovery Rule-Pool Assignment¶
Data Structures¶
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Read-only. Protected. |
|
|
string |
yes |
Immutable. Uniqueness is required in the combination of attribute |
|
string |
yes |
Immutable. Uniqueness is required in the combination of attribute |
|
string |
Read-only; Expensive to use. |
|
|
string |
Read-only; Expensive to use. |
|
|
datetime |
Read-only. Timestamp of creation. |
|
|
datetime |
Read-only. Timestamp of modification. |
|
|
boolean |
Read-only. |
Retrieve Available Attributes of the DiscoveryRulePoolModel¶
Request
Method |
|
Path |
|
To check allowed methods, available URL parameters and possible responses please refer to the API Overview section.
Get List of Rule-Pool Assignment¶
Request
Method |
|
Path |
|
Example Request
GET /api/v2/discovery/rule/pool`
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/discovery/rule/pool'
Response
{
"result": "success",
"rule_pool": [
{
"rule_id": "9115285645797883905",
"pool_id": "9115285645797883906",
"rule_name": "Rule_1",
"pool_name": "RDP:bastion",
"created_at": "2025-05-06 00:27:11.982267-07",
"modified_at": "2025-05-06 00:27:11.982267-07"
}
]
}
Get Rule-Pool Assignment by ID¶
Request
Method |
|
Path |
|
Example Request
GET /api/v2/discovery/rule/<id>/pool/<id>`
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/discovery/rule/9115285645797883906/pool/9115285645797883908'
Response
{
"result": "success",
"rule_pool": {
"rule_id": "9115285645797883906",
"pool_id": "9115285645797883908",
"rule_name": "Rule_2",
"pool_name": "Pool_RDP",
"created_at": "2025-05-06 02:34:44.062332-07",
"modified_at": "2025-05-06 02:34:44.062332-07"
}
}
Create Rule-Pool Assignment¶
Request
Method |
|
Path |
|
Headers |
|
Body |
|
Example Request
POST /api/v2/discovery/rule/pool`
curl -s -k -X POST \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
-H 'Content-Type: application/json' \
'https://10.0.214.98/api/v2/discovery/rule/pool' \
-d'{"rule_id":"9115285645797883906","pool_id":"9115285645797883908"}'
Response
{
"result": "success"
}
Deleting Rule-Pool Assignment¶
Request
Method |
|
Path |
|
Example Request
DELETE /api/v2/discovery/rule/<id>/pool/<id>`
curl -s -k -X DELETE \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/discovery/rule/9115285645797883906/pool/9115285645797883908'
Response
{
"result": "success"
}