Skip to main content

permission_summaries

Creates, updates, deletes, gets or lists a permission_summaries resource.

Overview​

Namepermission_summaries
TypeResource
Idsumologic.monitors.permission_summaries

Fields​

The following fields are returned by SELECT queries:

The list of permission summary meta(s) grouped by subjects for the monitor or folder.

NameDatatypeDescription
subject_idstringThe 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_summariesarray (wire: permissionSummaries)
subject_typestringType 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:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectid, regionList 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.

NameDatatypeDescription
idstringIdentifier of the monitor or folder to list permissions.
regionstringSumo 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 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
;