Skip to main content
Version: Preview

Access, roles and limits

Whose access a task uses​

A task runs as the person who last saved it. It can search, read and query only what they can, under the same query access rules, and Marmot checks their access again on every query. If a grant is revoked mid-run, the next query is refused.

Saving a task hands it to whoever saves it. Renaming, pausing and resuming don't. Only the person a task runs as can start it with Run now, so to run someone else's task, save it first.

If that person leaves or is deactivated, the task pauses. Save it to make it run as you, then resume it.

Every query a task runs is in Query audit, recorded with the task's name.

Roles​

Grant these across the whole catalog. Admins have all of them.

RoleCan
task.viewerSee tasks and their runs
task.readerAlso read results and what the agent did
task.editorAlso create, edit, run and delete tasks
task.approverAlso approve the changes tasks propose

Connecting an alert source also needs iam.admin, because an alert can start any task.

Limits on a run​

Each run stops when it reaches one of these:

LimitDefault
Steps25
Queries20
Rows per query200
Tokens300,000
Time10 minutes

A task's page shows its limits under Details.

Plan limits​

Your plan sets how many tasks you can have, how many runs a day and how many tokens a month. When you're close to either allowance, the Tasks page shows how much is left. Runs are counted over the last 24 hours, and tokens per calendar month. When either runs out, new runs are refused until the allowance frees up.