snowflake-data-handling

Featured

Implement Snowflake data governance with masking policies, row access policies, tagging, and GDPR/CCPA compliance patterns. Use when handling PII, implementing column masking, configuring data classification, or ensuring compliance with privacy regulations in Snowflake. Trigger with phrases like "snowflake data governance", "snowflake masking", "snowflake PII", "snowflake GDPR", "snowflake row access policy", "snowflake tags".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Snowflake Data Handling ## Overview Implement data governance in Snowflake using column-level masking policies, row access policies, object tagging, and data classification for GDPR/CCPA compliance. ## Prerequisites - Enterprise Edition or higher (for masking and row access policies) - SECURITYADMIN or ACCOUNTADMIN role - Understanding of GDPR/CCPA data subject rights ## Instructions ### Step 1: Data Classification with Tags ```sql -- Create tag taxonomy CREATE TAG IF NOT EXISTS pii_type ALLOWED_VALUES 'email', 'phone', 'ssn', 'name', 'address'; CREATE TAG IF NOT EXISTS data_sensitivity ALLOWED_VALUES 'public', 'internal', 'confidential', 'restricted'; -- Apply tags to columns ALTER TABLE users MODIFY COLUMN email SET TAG pii_type = 'email'; ALTER TABLE users MODIFY COLUMN phone SET TAG pii_type = 'phone'; ALTER TABLE users MODIFY COLUMN name SET TAG pii_type = 'name'; ALTER TABLE users MODIFY COLUMN email SET TAG data_sensitivity = 'confidential'; -- Find all tagged columns SELECT * FROM TABLE(INFORMATION_SCHEMA.TAG_REFERENCES( 'users', 'TABLE' )); -- Discover PII with Snowflake's automatic classification (Enterprise+) SELECT * FROM TABLE( INFORMATION_SCHEMA.EXTRACT_SEMANTIC_CATEGORIES('users') ); ``` ### Step 2: Column-Level Masking Policies ```sql -- Dynamic masking — shows real data to privileged roles, masked to others CREATE OR REPLACE MASKING POLICY email_mask AS (val STRING) RETURNS STRING -> CASE WHEN CURRENT_ROLE() IN ('DATA_ENGINEER',...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

snowflake-policy-guardrails

Implement Snowflake governance guardrails with network rules, session policies, authentication policies, and automated compliance checks. Use when enforcing security policies, implementing data governance, or configuring automated compliance for Snowflake. Trigger with phrases like "snowflake policy", "snowflake guardrails", "snowflake governance", "snowflake compliance", "snowflake enforce".

2,266 Updated today
jeremylongshore
Data & Documents Listed

data-governance

Data lineage tracking, PII tagging, access control policies, data catalog metadata standards, retention policies, and audit logging for regulatory compliance. Use this skill whenever the company is subject to PDPA, GDPR, HIPAA, or any data privacy regulation, when an audit requires proof of who accesses what data, when PII fields need to be identified and classified in a dataset, when setting up column-level access control, or when building a data catalog. Also trigger when someone asks about data masking, anonymization, right-to-erasure workflows, role-based data access, or data lineage from source to BI tool. If the word "compliance", "audit", "PII", "sensitive data", or "regulation" appears, this skill should be active.

0 Updated 4 days ago
Methasit-Pun
AI & Automation Featured

snowflake-enterprise-rbac

Configure Snowflake enterprise RBAC with system roles, custom role hierarchies, SSO/SCIM integration, and least-privilege access patterns. Use when implementing role-based access control, configuring SSO with SAML/OIDC, or setting up organization-level governance in Snowflake. Trigger with phrases like "snowflake RBAC", "snowflake roles", "snowflake SSO", "snowflake SCIM", "snowflake permissions", "snowflake access control".

2,266 Updated today
jeremylongshore
AI & Automation Featured

databricks-data-handling

Implement Delta Lake data management patterns including GDPR, PII handling, and data lifecycle. Use when implementing data retention, handling GDPR requests, or managing data lifecycle in Delta Lake. Trigger with phrases like "databricks GDPR", "databricks PII", "databricks data retention", "databricks data lifecycle", "delete user data".

2,266 Updated today
jeremylongshore
AI & Automation Solid

snowflake-security-basics

Apply Snowflake security best practices: network policies, key rotation, MFA, encryption, and least-privilege access. Use when securing Snowflake access, implementing network policies, or auditing security configuration. Trigger with phrases like "snowflake security", "snowflake network policy", "secure snowflake", "snowflake MFA", "snowflake encryption".

2,266 Updated today
jeremylongshore