Discovery Rule-Safe 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 DiscoveryRuleSafeModelΒΆ
Request
Method |
|
Path |
|
To check allowed methods, available URL parameters and possible responses please refer to the API Overview section.
Get List of Rule-Safe AssignmentΒΆ
Request
Method |
|
Path |
|
Example Request
GET /api/v2/discovery/rule/safe`
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/discovery/rule/safe'
Response
{
"result": "success",
"rule_safe": [
{
"rule_id": "9115285645797883905",
"safe_id": "9115285645797883906",
"rule_name": "Rule_1",
"safe_name": "RDP",
"created_at": "2025-05-06 00:27:11.974136-07",
"modified_at": "2025-05-06 00:27:11.974136-07"
}
]
}
Get Rule-Safe Assignment by IDΒΆ
Request
Method |
|
Path |
|
Example Request
GET /api/v2/discovery/rule/<id>/safe/<id>`
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/discovery/rule/9115285645797883906/safe/9115285645797883906'
Response
{
"result": "success",
"rule_safe": {
"rule_id": "9115285645797883906",
"safe_id": "9115285645797883906",
"rule_name": "Rule_2",
"safe_name": "RDP",
"created_at": "2025-05-06 02:45:22.811459-07",
"modified_at": "2025-05-06 02:45:22.811459-07"
}
}
Create Rule-Safe AssignmentΒΆ
Request
Method |
|
Path |
|
Headers |
|
Body |
|
Example Request
POST /api/v2/discovery/rule/safe`
curl -s -k -X POST \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
-H 'Content-Type: application/json' \
'https://10.0.214.98/api/v2/discovery/rule/safe' \
-d'{"rule_id":"9115285645797883906","safe_id":"9115285645797883906"}'
Response
{
"result": "success"
}
Deleting Rule-Safe AssignmentΒΆ
Request
Method |
|
Path |
|
Example Request
DELETE /api/v2/discovery/rule/<id>/safe/<id>`
curl -s -k -X DELETE \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/discovery/rule/9115285645797883906/safe/9115285645797883906'
Response
{
"result": "success"
}