permission_summaries
Creates, updates, deletes, gets or lists a permission_summaries resource.
Overview​
| Name | permission_summaries |
| Type | Resource |
| Id | sumologic.monitors.permission_summaries |
Fields​
The following fields are returned by SELECT queries:
- list
The list of permission summary meta(s) grouped by subjects for the monitor or folder.
| Name | Datatype | Description |
|---|---|---|
subject_id | string | The identifier that belongs to the subject type chosen above. For e.g. if the subjectType is set to user, subjectId should be the identifier of a user (same goes for role or org subjectType). (example: 0000000006743FDA) (wire: subjectId) |
permission_summaries | array | (wire: permissionSummaries) |
subject_type | string | Type of subject for the permission. Valid values are: user or role or org. (pattern: <code>^(user|role|org)$</code>, example: role, x-pattern-message: must be one of the following: user, role, org) (wire: subjectType) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | id, region | List permission summary meta(s) grouped by subjects on monitor or folder in the monitors library. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
id | string | Identifier of the monitor or folder to list permissions. |
region | string | Sumo Logic deployment (au, ca, ch, de, eu, fed, in, jp, kr, us1, us2). Resolved from the SUMOLOGIC_ENVIRONMENT environment variable when it is set (x-stackQL-envVar, the same variable the Terraform provider reads); otherwise defaults to us2. A WHERE region = '...' value always takes precedence. (enum: [au, ca, ch, de, eu, fed, in, jp, kr, us1, us2], default: us2, x-stackQL-envVar: SUMOLOGIC_ENVIRONMENT) |
SELECT examples​
- list
List permission summary meta(s) grouped by subjects on monitor or folder in the monitors library.
SELECT
subject_id,
permission_summaries,
subject_type
FROM sumologic.monitors.permission_summaries
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required unless SUMOLOGIC_ENVIRONMENT is set
;