diff --git a/README.md b/README.md index ab2c8f2..0a90087 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ You would expect to see no error in your logs and the messages **Yes I am alive* If that's the case, enter any of the following commands: * `help`. Show available commands +* `whoami`. Show the user profile and the SDM Account details * `show available resources [--filter expression]`. Show available resources - all or a filtered subset. Filters are optional. Please refer to the following [doc](https://www.strongdm.com/docs/automation/getting-started/filters) for getting the list of available filters. * `access to resource-name [--reason text] [--duration duration]`. Grant temporary access to a resource. Reason and Duration are optional. diff --git a/docs/FAQ.md b/docs/FAQ.md index ca75d9a..8041bc6 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -1,6 +1,5 @@ # Frequently Asked Questions - ## Can a user request and grant access to resources to themselves? (like in the gif) Not really, what you see in the gif happens because the requester is the bot admin. The normal flow is actually what you’d expect: user x requests access, and users y or z (bot admins) approve. You might want to take a look at the [ACCESS_CONFIGURATION](ACCESS_CONFIGURATION.md) - _specially the possible workflows_ @@ -23,3 +22,6 @@ Invite AccessBot to your private channel and add the scope `usergroups:read` to ## How can I get my AccessBot version? Send the following direct message to the Bot: `plugin config AccessBot` + +## How can I get my profile details? +Send the following direct message to the Bot: `whoami`. It'll show you the details of your Slack account and SDM Account. diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index af7fb23..105c3f4 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -57,7 +57,9 @@ It's likely the `SDM_ACCESS_FORM_BOT_NICKNAME` is not set or has been set incorr
"Sorry, cannot find your account!" -The email field (or the field set in `SDM_EMAIL_SLACK_FIELD` *must* match exactly with an email that identifies a user in strongDM. Verify that there are no differences between the two. +The email field (or the field set in `SDM_EMAIL_SLACK_FIELD`) *must* match exactly with an email that identifies a user in strongDM. Verify that there are no differences between the two. + +You can use the `whoami` command to see your profile details, including the status of your SDM Account.