This repository was archived by the owner on Nov 5, 2024. It is now read-only.
Announcing Queries (alpha) #45
spyglass-software
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Want to get more insight into who can access what?
Today we're introducing a handful of queries you can run to better understand your access structure.
We'll go through a few of those here, but run
spyglass query
for a full list of supported queries.Prerequisites
See How do I set up the CLI? #43
You'll need the
account-id
from this step handy to run the following command.Get Users Who Can Access an Object (table, view, etc.)
Run
spyglass query:object-users <account-id> <object-id>
.Example run:
Example output:
Get a User's Role Hierarchy
Run
spyglass query:user-roles<account-id> <username>
.Example run:
Example output:
Beta Was this translation helpful? Give feedback.
All reactions