-
Notifications
You must be signed in to change notification settings - Fork 1.3k
docs(databricks): require Databricks SQL Access and Workspace Access entitlements #39209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
charlesmyu
wants to merge
3
commits into
master
Choose a base branch
from
charlesyu/databricks-permissions-entitlements
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
bb38a85
docs(databricks): require Databricks SQL Access and Workspace Access …
charlesmyu bdbbd4f
docs(databricks): restructure Permissions section into logical subsec…
charlesmyu fa59b43
docs(databricks): merge Workspace Admin and Granular permissions as a…
charlesmyu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -460,17 +460,27 @@ DD_LOGS_CONFIG_PROCESSING_RULES=[{\"type\": \"exclude_at_match\",\"name\": \"dro | |
| ``` | ||
|
|
||
| ### Permissions | ||
| Grant {{< ui >}}Workspace Admin{{< /ui >}} privileges to the user or service principal that connects to your Databricks workspace. This allows Datadog to manage init script installations and updates automatically, reducing the risk of misconfiguration. | ||
| The user or service principal that connects to your Databricks workspace must have the following workspace entitlements enabled, in addition to the permissions described below: | ||
|
|
||
| If you need more granular control, grant these minimal permissions to the following [workspace level objects][19] to still be able to monitor all jobs, clusters, and queries within a workspace: | ||
| - {{< ui >}}Databricks SQL access{{< /ui >}} | ||
| - {{< ui >}}Workspace access{{< /ui >}} | ||
|
|
||
| | Object | Permission | | ||
| |--------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| | Job | [CAN VIEW][20] | ||
| | Compute | [CAN ATTACH TO][21] | ||
| | Lakeflow Declarative Pipelines | [CAN VIEW][22] | ||
| | Query | [CAN VIEW][23] | ||
| | SQL warehouse | [CAN MONITOR][24] | ||
| #### Workspace permissions | ||
|
|
||
| Choose one of the following approaches for the user or service principal: | ||
|
|
||
| - **Workspace Admin privileges** (recommended): Grant {{< ui >}}Workspace Admin{{< /ui >}} privileges. This allows Datadog to manage init script installations and updates automatically, reducing the risk of misconfiguration. | ||
| - **Granular permissions**: If you need more granular control, grant these minimal permissions to the following [workspace level objects][19] to still be able to monitor all jobs, clusters, and queries within a workspace: | ||
|
|
||
| | Object | Permission | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should the links in this table be moved to the Object column rather than the Permission column? It looks like they all go to pages about the objects rather than the permissions. If there's more nuance here, then disregard! |
||
| |--------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| | Job | [CAN VIEW][20] | ||
| | Compute | [CAN ATTACH TO][21] | ||
| | Lakeflow Declarative Pipelines | [CAN VIEW][22] | ||
| | Query | [CAN VIEW][23] | ||
| | SQL warehouse | [CAN MONITOR][24] | ||
|
|
||
| #### Cost data permissions | ||
|
|
||
| Additionally, for Datadog to access your Databricks cost data in Data Observability: Jobs Monitoring or [Cloud Cost Management][26], the user or service principal used to query [system tables][27] must have the following permissions: | ||
| - `CAN USE` permission on the SQL Warehouse. | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nitpicky, but I can see that these are in the opposite order elsewhere in the file, and parallelism is just so satisfying (and can make docs easier to act on for users!)