Skip to content
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

Lint notebooks to warn on dbutils.credential.assumerole as this is not UC supported #3757

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

pritishpai
Copy link
Contributor

@pritishpai pritishpai commented Feb 25, 2025

Changes

Linting should be able to identify notebooks which contain dbutils.credentials.assumeRole function and put this in assessment result so that the customer knows that this is a code change needed to migrate to UC.

Linked issues

Resolves #3527

Functionality

  • added linting for a function

Tests

  • manually tested
  • added unit tests
  • added integration tests
  • verified on staging environment (screenshot attached)

@pritishpai pritishpai force-pushed the feat/lint_dbutils_cred_assumerole branch from 4e29f79 to 5534127 Compare February 28, 2025 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE]: Linting to check for dbutils.credentials.assumeRole in a notebook running as a workflow
1 participant