- get - Get the Access Control List for teams with permissions on a Worker Group, Outpost Group, or Edge Fleet for the specified Cribl product
Get the Access Control List (ACL) for teams that have permissions on a Worker Group, Outpost Group, or Edge Fleet for the specified Cribl product.
from cribl_control_plane import CriblControlPlane, models
import os
with CriblControlPlane(
"https://api.example.com",
security=models.Security(
bearer_auth=os.getenv("CRIBLCONTROLPLANE_BEARER_AUTH", ""),
),
) as ccp_client:
res = ccp_client.groups.acl.teams.get(product=models.ProductsCore.EDGE, id="<id>", type_=models.RbacResource.MACROS)
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
product |
models.ProductsCore | ✔️ | Name of the Cribl product that contains the Worker Group, Outpost Group, or Edge Fleet. |
id |
str | ✔️ | The id of the Worker Group, Outpost Group, or Edge Fleet to get the team ACL for. |
type |
Optional[models.RbacResource] | ➖ | Filter for limiting the response to ACL entries for the specified RBAC resource type. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
models.CountedTeamAccessControlList
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.Error | 500 | application/json |
| errors.APIError | 4XX, 5XX | */* |