Slack user
slack.user MQL resource for querying Slack infrastructure with cnquery and cnspec.
Slack
Slack user
Use MQL in cnspec shell or policy:
slack.userMin version: latestDefaults:
id nameRelationships
6 resources · 18 relationships·Click to select, expand fields to see properties.
Fields (25)
| Field | Type | Description |
|---|---|---|
colorrequired | string | Special user color |
deletedrequired | int | Whether the user has been deactivated |
enterpriseUserrequired | slack.enterpriseUser | Related Slack Enterprise Grid user |
has2FArequired | int | Whether two-factor authentication is enabled for the user |
hasFilesrequired | int | Whether the user owns files |
idrequired | string | ID of the workspace user |
isAdminrequired | int | Whether the user is an admin of the current workspace |
isAppUserrequired | int | Whether the user is an app bot |
isBotrequired | int | Whether the user is a bot |
isInvitedUserrequired | int | Whether a user has been invited but has not yet signed in |
isOwnerrequired | int | Whether the user is an owner of the current workspace |
isPrimaryOwnerrequired | int | Whether the user is the primary owner of the current workspace |
isRestrictedrequired | int | Whether the user is a guest user |
isStrangerrequired | int | Whether the user belongs to a different workspace |
isUltraRestrictedrequired | int | Whether the user is a single-channel guest |
localerequired | string | IETF language code that represents this user's chosen display language |
namerequired | string | User name |
presencerequired | string | Presence of the user |
profilerequired | dict | User profile |
realNamerequired | string | User's first and last name |
teamIdrequired | string | Slack workspace ID |
timeZonerequired | string | Geographic timezone-related region |
timeZoneLabelrequired | string | Commonly used name of the timezone |
timeZoneOffsetrequired | int | Number of seconds to offset UTC time |
twoFactorTyperequired | string | Type of two-factor authentication the user is using |