curl --request GET \
--url https://api.eu.bronto.io/policies/resources/{resource_type}/{resource_id} \
--header 'X-BRONTO-API-KEY: <api-key>'{
"policies": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"policy_type": "ROLE_BASED",
"resource": {},
"actions": [
"<string>"
],
"restricted": true,
"principal": {
"principal_type": "ROLE",
"principal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"when": {
"resources": [
{
"resource_type": "ROLE",
"resource_id": "<string>"
}
],
"principals": [
{
"principal_type": "ROLE",
"principal_id": "958fe2d8-532d-4d4c-803a-db69a14a7c37"
}
],
"context": [
{
"key": "<string>",
"operator": "==",
"value": "<string>"
}
]
},
"unless": {
"resources": [
{
"resource_type": "ROLE",
"resource_id": "<string>"
}
],
"principals": [
{
"principal_type": "ROLE",
"principal_id": "958fe2d8-532d-4d4c-803a-db69a14a7c37"
}
],
"context": [
{
"key": "<string>",
"operator": "==",
"value": "<string>"
}
]
},
"created_at": 123,
"modified_at": 123
}
]
}curl --request GET \
--url https://api.eu.bronto.io/policies/resources/{resource_type}/{resource_id} \
--header 'X-BRONTO-API-KEY: <api-key>'{
"policies": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"policy_type": "ROLE_BASED",
"resource": {},
"actions": [
"<string>"
],
"restricted": true,
"principal": {
"principal_type": "ROLE",
"principal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"when": {
"resources": [
{
"resource_type": "ROLE",
"resource_id": "<string>"
}
],
"principals": [
{
"principal_type": "ROLE",
"principal_id": "958fe2d8-532d-4d4c-803a-db69a14a7c37"
}
],
"context": [
{
"key": "<string>",
"operator": "==",
"value": "<string>"
}
]
},
"unless": {
"resources": [
{
"resource_type": "ROLE",
"resource_id": "<string>"
}
],
"principals": [
{
"principal_type": "ROLE",
"principal_id": "958fe2d8-532d-4d4c-803a-db69a14a7c37"
}
],
"context": [
{
"key": "<string>",
"operator": "==",
"value": "<string>"
}
]
},
"created_at": 123,
"modified_at": 123
}
]
}The type of resource (e.g., "logset", "dataset").
The unique identifier of the resource.
A list of policies associated with the given resource.
Show child attributes