{"id":19209505,"url":"https://github.com/bastgau/snow-revoke-privileges","last_synced_at":"2025-04-20T16:33:10.529Z","repository":{"id":175426558,"uuid":"652953737","full_name":"bastgau/snow-revoke-privileges","owner":"bastgau","description":"Script designed to simplify the management of permissions in your Snowflake databases.","archived":false,"fork":false,"pushed_at":"2024-03-01T17:24:45.000Z","size":53,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-02T17:37:45.647Z","etag":null,"topics":["data","database","dba","dev-container","python","snowflake"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bastgau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-06-13T05:59:55.000Z","updated_at":"2024-01-15T10:38:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"f89fe9be-b4f4-4bee-a041-0915587b7af0","html_url":"https://github.com/bastgau/snow-revoke-privileges","commit_stats":null,"previous_names":["bastgau/snow-revoke-privileges"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastgau%2Fsnow-revoke-privileges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastgau%2Fsnow-revoke-privileges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastgau%2Fsnow-revoke-privileges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bastgau%2Fsnow-revoke-privileges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bastgau","download_url":"https://codeload.github.com/bastgau/snow-revoke-privileges/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223832963,"owners_count":17210754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","database","dba","dev-container","python","snowflake"],"created_at":"2024-11-09T13:31:31.324Z","updated_at":"2024-11-09T13:32:42.655Z","avatar_url":"https://github.com/bastgau.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![maintainer](https://badgen.net/badge/maintainer/bastgau/orange?color=orange\u0026icon=github)](https://gitHub.com/bastgau)\n[![twitter](https://badgen.net/badge/twitter/_bastiengautier/?color=orange\u0026icon=twitter)](https://www.twitter.com/_bastiengautier)\n[![made-for-vscode](https://badgen.net/badge/Made%20for/VSCode/?color=blue\u0026icon=visualstudio)](https://code.visualstudio.com/)\n[![made-with-python](https://badgen.net/badge/Made%20with/Python/?color=blue\u0026icon=pypi)](https://www.python.org/)\n[![made-with-docker](https://badgen.net/badge/Made%20with/Docker/?color=blue\u0026icon=docker)](https://www.docker.com/)\n\u003cbr /\u003e\u003cbr /\u003e\n[![quality-code](https://github.com/bastgau/snow-revoke-privileges/actions/workflows/main.yml/badge.svg)](https://github.com/bastgau/snow-revoke-privileges/actions/workflows/main.yml)\n\n# snow-revoke-privileges\n\n[![snowflake](https://github.com/bastgau/tools/blob/master/github-badge/logo-snowflake.svg)](https://www.snowflake.com/)\n\nScript designed to simplify the management of permissions in your **Snowflake** databases.\n\nWith this tool, you can effortlessly revoke all permissions granted to existing objects, as well as future objects. Additionally, it modify object ownership by assigning them to another role (by default **SYSADMIN**).\n\n## Usage\n\nPlease, check the instructions before executing the command line :\n\n```\npython -m snow_revoke_privileges\n```\n\n## Requirements\n\nThe project uses [pip](https://pypi.org/project/pip/) as package installer.\n\nA configuration file named __config.yaml__ must be created using the same format as [config-example.yaml](https://github.com/bastgau/snow-revoke-privileges/blob/master/src/snow_revoke_privileges/config/config-example.yaml).\n\nYou have to use an account with the permissions to **REVOKE PRIVILEGE** and **GRANT OWNERSHIP**.\n\n## VSCode extensions\n\nThe following extensions are recommanded:\n\n- [AutoDocstring - Python Docstring Generator](https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring)\n- [Prettify JSON](https://marketplace.visualstudio.com/items?itemName=mohsen1.prettify-json)\n- [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)\n- [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)\n- [Python Type Hint](https://marketplace.visualstudio.com/items?itemName=njqdev.vscode-python-typehint)\n- [Todo Tree](https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree)\n- [VSCode-icons](https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons)\n\nThe file .vcode/settings.json was updated with my own configuration.\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastgau%2Fsnow-revoke-privileges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbastgau%2Fsnow-revoke-privileges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastgau%2Fsnow-revoke-privileges/lists"}