All Resources
In this article:
minus iconplus icon
Share the Article

How to Secure Data in Snowflake

February 10, 2026
4
 Min Read

Snowflake has become one of the most widely adopted cloud data platforms, enabling organizations to store, process, and analyze massive volumes of data at scale. As enterprises increasingly rely on Snowflake for mission-critical workloads, including AI and machine learning initiatives, understanding how to secure data in Snowflake has never been more important. With sensitive information ranging from customer PII to financial records residing in cloud environments, implementing a comprehensive security strategy is essential to protect against unauthorized access, data breaches, and compliance violations. This guide explores the practical steps and best practices for securing your Snowflake environment in 2026.

Security Layer Key Features
Authentication Multi-factor authentication (MFA), single sign-on (SSO), federated identity, OAuth
Access Control Role-based access control (RBAC), row-level security, dynamic data masking
Network Security IP allowlisting, private connectivity, VPN and VPC isolation
Data Protection Encryption at rest and in transit, data tagging and classification
Monitoring Audit logging, anomaly detection, continuous monitoring

How to Secure Data in Snowflake Server

Securing data in a Snowflake server environment requires a layered, end-to-end approach that addresses every stage of the data lifecycle.

Authentication and Identity Management

The foundation begins with strong authentication. Organizations should enforce multifactor authentication (MFA) for all user accounts and leverage single sign-on (SSO) or federated identity providers to centralize user verification. For programmatic access, key-pair authentication, OAuth, and workload identity federation provide secure alternatives to traditional credentials. Integrating with centralized identity management systems through SCIM ensures that user provisioning remains current and access rights are automatically updated as roles change.

Network Security

Implement network policies that restrict inbound and outbound traffic through IP whitelisting or VPN/VPC configurations to significantly reduce your attack surface. Private connectivity channels should be used for both inbound access and outbound connections to external stages and Snowpipe automation, minimizing exposure to public networks.

Granular Access Controls

Role-based access control (RBAC) should be implemented across all layers, account, database, schema, and table, to ensure users receive only the permissions they require. Column- and row-level security features, including secure views, dynamic data masking, and row access policies, limit exposure of sensitive data within larger datasets. Consider segregating sensitive or region-specific information into dedicated accounts or databases to meet compliance requirements.

Data Classification and Encryption

Snowflake's tagging capabilities enable organizations to mark sensitive data with labels such as "PII" or "confidential," making it easier to identify, audit, and manage. A centralized tag library maintains consistent classification and helps enforce additional security actions such as dynamic masking or targeted auditing. Encryption protects data both at rest and in transit by default, though organizations with stringent security requirements may implement additional application-level encryption or custom key management practices.

Snowflake Security Best Practices

Implementing security best practices in Snowflake requires a comprehensive strategy that spans identity management, network security, encryption, and continuous monitoring.

  • Enforce MFA for all accounts and employ federated authentication or SSO where possible
  • Implement robust RBAC ensuring both human users and non-human identities have only required privileges
  • Rotate credentials regularly for service accounts and API keys, and promptly remove stale or unused accounts
  • Define strict network security policies that block access from unauthorized IP addresses
  • Use private connectivity options to keep data ingress and egress within controlled channels
  • Enable continuous monitoring and auditing to track user activities and detect suspicious behavior early

By adopting a defense-in-depth strategy that combines multiple controls across the network perimeter, user interactions, and data management, organizations create a resilient environment that reduces the risk of breaches.

Secure Data Sharing in Snowflake

Snowflake's Secure Data Sharing capabilities enable organizations to expose carefully controlled subsets of data without moving or copying the underlying information. This architecture is particularly valuable when collaborating with external partners or sharing data across business units while maintaining strict security controls.

How Data Sharing Works

Organizations create a dedicated share using the CREATE SHARE command, including only specifically chosen database objects such as secure views, secure materialized views, or secure tables where sensitive columns can be filtered or masked. The shared objects become read-only in the consumer account, ensuring that data remains unaltered. Data consumers access the live version through metadata pointers, meaning the data stays in the provider's account and isn't duplicated or physically moved.

Security Controls for Shared Data

  • Use secure views or apply table policies to filter or mask sensitive information before sharing
  • Grant privileges through dedicated database roles only to approved subsets of data
  • Implement Snowflake Data Clean Rooms to define allowed operations, ensuring consumers obtain only aggregated or permitted results
  • Maintain provider control to revoke access to a share or specific objects at any time

This combination of techniques enables secure collaboration while maintaining complete control over sensitive information.

Enhancing Snowflake Security with Data Security Posture Management

While Snowflake provides robust native security features, organizations managing petabyte-scale environments often require additional visibility and control. Modern Data Security Posture Management (DSPM) platforms like Sentra complement Snowflake's built-in capabilities by discovering and governing sensitive data at petabyte scale inside your own environment, ensuring data never leaves your control.

Key Capabilities: Sentra tracks data movement beyond static location, monitoring when sensitive assets flow between regions, environments, or into AI pipelines. This is particularly valuable in Snowflake environments where data is frequently replicated, transformed, or shared across multiple databases and accounts.

Sentra identifies "toxic combinations" where high-sensitivity data sits behind broad or over-permissioned access controls, helping security teams prioritize remediation efforts. The platform's classification engine distinguishes between mock data and real sensitive data to prevent false positives in development environments, a common challenge when securing large Snowflake deployments with multiple testing and staging environments.

What Users Like:

  • Fast and accurate classification capabilities
  • Automation and reporting that enhance security posture
  • Improved data visibility and audit processes
  • Contextual risk insights that prioritize remediation

User Considerations:

  • Initial learning curve with the dashboard

User reviews from January 2026 highlight Sentra's effectiveness in real-world deployments, with organizations praising its ability to provide comprehensive visibility and automated governance needed to protect sensitive data at scale. By eliminating shadow and redundant data, Sentra not only secures organizations for the AI era but also typically reduces cloud storage costs by approximately 20%.

Defining a Robust Snowflake Security Policy

A comprehensive Snowflake security policy should address multiple dimensions of data protection, from access controls to compliance requirements.

Policy Component Key Requirements
Identity & Authentication Mandate multi-factor authentication (MFA) for all users, define acceptable authentication methods, and establish a least-privilege access model
Network Security Specify permitted IP addresses and ranges, and define private connectivity requirements for access to sensitive data
Data Classification Establish data tagging standards and specify required security controls for each classification level
Encryption & Key Management Document encryption requirements and define additional key management practices beyond default configurations
Data Retention Specify retention periods and deletion procedures to meet GDPR, HIPAA, or other regulatory compliance requirements
Monitoring & Incident Response Define alert triggers, notification recipients, and investigation and response procedures
Data Sharing Protocols Specify approval processes, acceptable use cases, and required security controls for external data sharing

Regular policy reviews ensure that security standards evolve with changing threats and business requirements. Schedule access reviews to identify and remove excessive privileges or dormant accounts.

Understanding Snowflake Security Certifications

Snowflake holds multiple security certifications that demonstrate its commitment to data protection and compliance with industry standards. Understanding what these certifications mean helps organizations assess whether Snowflake aligns with their security and regulatory requirements.

  • SOC 2 Type II: Verifies appropriate controls for security, availability, processing integrity, confidentiality, and privacy
  • ISO 27001: Internationally recognized standard for information security management systems
  • HIPAA: Compliance for healthcare data with specific technical and administrative controls
  • PCI DSS: Standards for payment card information security
  • FedRAMP: Authorization for U.S. government agencies
  • GDPR: European data protection compliance with data residency controls and processing agreements

While Snowflake maintains these certifications, organizations remain responsible for configuring their Snowflake environments appropriately and implementing their own security controls to achieve full compliance.

As we move through 2026, securing data in Snowflake remains a critical priority for organizations leveraging cloud data platforms for analytics, AI, and business intelligence. By implementing the comprehensive security practices outlined in this guide, from strong authentication and granular access controls to data classification, encryption, and continuous monitoring, organizations can protect their sensitive data while maintaining the performance and flexibility that make Snowflake so valuable. Whether you're implementing native Snowflake security features or enhancing them with complementary DSPM solutions, the key is adopting a layered, defense-in-depth approach that addresses security at every level.

<blogcta-big>

Meitar is a data and analytics leader with extensive experience building and scaling data, analytics, and AI teams. As Data Analytics Team Lead at Sentra, Meitar drives data strategy and AI initiatives that support product innovation and business growth. Previously, Meitar held senior leadership roles at Playtika and DayTwo, leading analytics, data engineering, and experimentation teams in fast-paced, data-driven environments.

Subscribe

Latest Blog Posts

Alejandro Hernández
Alejandro Hernández
March 23, 2026
5
Min Read

Sentra MCP Server: AI-Driven Data Security Operations

Sentra MCP Server: AI-Driven Data Security Operations

The Gap Between Seeing and Doing

Data Security Posture Management has delivered on its promise of visibility. Organizations know where their sensitive data lives, which stores are misconfigured, and how many identities can reach their crown jewels. But a fundamental gap remains: the distance between seeing a security problem and resolving it is still measured in manual steps, context switches, and tribal knowledge.

Security teams spend disproportionate time on operational toil -- navigating dashboards, correlating data across screens, constructing API queries, and manually updating alert statuses. Every alert triage requires the same sequence of clicks. Every compliance audit requires the same series of exports. Every access review requires the same chain of lookups.

The Sentra MCP Server closes this gap by exposing the full breadth and depth of the Sentra platform through the Model Context Protocol (MCP), an open standard that enables AI agents to discover and call tools programmatically. This turns every security operation -- from a simple status check to a multi-step investigation with remediation -- into a natural language conversation.

Unlike read-only MCP implementations that provide a conversational interface to data catalogs, the Sentra MCP Server is a complete security operations platform. It reads, investigates, correlates, and acts. It chains multiple API calls into coherent workflows. And it does so with enterprise-grade safety controls that put security teams in command of what the AI agent can do.

Core thesis: AI-driven DSPM doesn't just tell you what's wrong -- it investigates, triages, and helps you fix it.

How It Works

The Sentra MCP Server sits between AI agents (Claude Desktop, Claude Code, Cursor, or any MCP-compatible client) and the Sentra API, translating natural language requests into precise API call chains.

 Sentra MCP Server sits between AI agents and the Sentra API, translating natural language requests into precise API call chains.

Architecture highlights:

  • Auto-generated tools: The MCP server parses Sentra's OpenAPI specification at startup and dynamically creates tool wrappers using closures with inspect.Signature -- no code generation or exec() required. This means new API endpoints are automatically exposed as tools when the spec is updated.
  • Unified request pipeline: All tools -- read and write -- flow through a shared HTTP client with connection pooling, automatic retry with exponential backoff for rate limits (429) and server errors (5xx), and consistent error handling.
  • Safety-first write operations: Write tools are organized into a 6-tier hierarchy from additive-only to destructive, gated behind a feature flag, with UUID validation and explicit safety confirmations for high-risk operations.

Capability Deep Dive

Read Operations by Domain

The Sentra MCP Server exposes read operations across every domain of the Sentra platform:

Domain Tool Count Example Operations
Alerts ~20 List alerts, filter by severity/status, get trends, compliance aggregation, risk ratings, affected assets
Threats ~5 List threats, filter by MITRE tactic, get threat details
Data Stores ~20 Inventory stores, filter by type/region/sensitivity, aggregated risk, scan status, top data classes
Data Assets ~10 Search assets, count by type, export, file extensions, classification findings
Data Insights & Classes ~15 Data class distribution, group by account/region/store type/environment, dictionary values
Identity & Access ~15 Search/count identities, accessible stores/assets, full access graphs, permission metadata
Connectors ~5 List connectors, filter by type, associated connectors
Policies ~5 List policies, filter, incident counts
Compliance ~5 Framework compliance aggregation, control mappings, security ratings, rating trends
Audit Logs ~4 Activity feed, aggregated logs, entity-specific logs, activity histograms
DSAR ~3 List DSAR requests, request details, download reports
AI Assets ~2 List AI/ML assets, asset details
Dashboard & Sensitivity ~3 Dashboard summary, sensitivity overview, scan status

Every tool includes enhanced descriptions that guide the AI agent on when to use it, what parameters to pass, how to construct filters, and what follow-up tools to chain for deeper investigation.

Write Operations: The 6-Tier Hierarchy

Write operations are the key differentiator. They transform the MCP server from a query interface into an operations platform. Each tier represents increasing impact and corresponding safety controls:

Tier Category Tools Impact Safety Controls
1 Additive Only alert_add_comment, threat_add_comment Append-only, no state change Max 1000 chars, cannot delete
2 State Changes alert_transition, threat_transition Changes alert/threat status Validated status + reason enums
3 Scan Triggers scan_data_store, scan_data_asset Triggers classification scans Rate-aware, async execution
4 Configuration policy_change_status, policy_create Modifies security policy config UUID validation, full policy schema validation
5 Metadata Updates data_store_update_description, data_store_update_custom_tags Updates store metadata Input length limits, JSON validation
6 Destructive data_class_purge Irreversible deletion of all detections Requires confirm="PURGE" safety gate

All 11 write tools are gated by the SENTRA_ENABLE_WRITE_OPS environment variable (default: enabled). Setting it to false completely removes all write tools from the MCP server, leaving a read-only interface.

Why this matters: Read-only MCP servers can tell you "this policy generates 200 low-severity alerts." The Sentra MCP Server can tell you that and then disable the policy and resolve its alerts -- in the same conversation.

Composite Investigation Tools

Two composite tools chain multiple API calls into single-invocation investigations:

`investigate_alert(alert_id)` -- Full alert triage in one call:

  1. Retrieves alert details (severity, policy, timestamps)
  2. Fetches affected data assets
  3. Gets alert status change history (recurring?)
  4. Pulls store context (type, region, owner, sensitivity)
  5. Maps accessible identities (blast radius)

`security_posture_summary()` -- Complete security overview:

  1. Dashboard summary metrics
  2. Open alerts aggregated by severity
  3. Overall security rating
  4. Compliance status across frameworks
  5. Risk distribution across data stores
  6. Sensitivity summary

These tools reduce what would be 5-6 sequential API calls into a single invocation, dramatically reducing latency and context window usage for the AI agent.

Guided Workflow Prompts

Five MCP prompts provide pre-built, step-by-step instructions that guide the AI agent through complex security workflows:

Prompt Parameters Workflow
triage_alert alert_id 6-step alert investigation: details, affected assets, store context, blast radius, history, sensitivity
security_posture_overview none 7-step executive briefing: dashboard, alerts, rating, compliance, risk, sensitivity, threats
compliance_audit_prep framework (optional) 6-step audit preparation: compliance overview, controls, violations, classification, access, encryption
investigate_identity identity_id 5-step identity deep dive: details, accessible stores, accessible assets, access graph, related threats
investigate_data_store store_id 7-step store assessment: details, sensitivity, asset count, access list, alerts, scan status, data classes

Prompts serve as expert runbooks encoded directly into the MCP server. A junior security analyst using these prompts follows the same investigation methodology as a senior engineer.

Use Cases

UC1: Quick Security Status Check

Persona: Security operations analyst starting their shift

Prompt:

"Show me all open alerts by severity and our current security rating."

Tools used: alerts_get_open_alerts_aggregated, alerts_get_risks_security_rating

Value: Instant situational awareness. No dashboard navigation, no login sequence. A 2-second question replaces a 5-minute morning routine.

UC2: Compliance Readiness Assessment

Persona: GRC analyst preparing for an upcoming HIPAA audit

Prompt:

"Prepare HIPAA compliance evidence: show our compliance score, all HIPAA-related controls and their status, any open violations, and data classification coverage for PHI across all data stores."

Tools used: alerts_get_frameworks_compliance_aggregation, alerts_get_framework_controls_mapping, alerts_get_all_external (filtered), data_insights_get_all (filtered for PHI), data_stores_get_all_external (filtered)

Value: Audit preparation that typically takes a full day compressed into a single conversational session. The output is structured for direct inclusion in audit evidence packages.

UC3: Alert Triage and Resolution

Persona: Security engineer responding to an overnight alert

Prompt:

"Investigate alert 7a3f9c21-4b8e-4d2a-9f1c-8e7d6a5b4c3d. Walk me through what happened, what data is at risk, who can access it, and whether this has happened before. If it's a false positive, resolve it and add a comment explaining why."

Tools used: investigate_alert (composite), alert_add_comment (write), alert_transition (write)

Value: End-to-end triage and resolution in one conversation. The composite tool gathers all context in a single call, and write operations close the loop -- no need to switch to the Sentra UI.

UC4: Identity Access Review

Persona: Security architect conducting a quarterly access review

Prompt:

"Show me all external identities with access to high-sensitivity data stores. For the identity with the broadest access, map the full access graph from identity to roles to stores to assets. Flag any stores with open alerts."

Tools used: search_identities (filtered), get_data_access_identities_by_id_accessible_stores, get_data_access_identities_by_id_graph, alerts_get_all_external (filtered per store)

Value: Access reviews that require correlating identity data, store sensitivity, role chains, and alert status -- all unified into a single investigation flow. The graph traversal reveals access paths that flat permission reports miss.

UC5: Policy Noise Reduction (Hero Example)

Persona: Security operations lead tuning policy configurations

Prompt:

"Audit all enabled security policies. For each, show how many open alerts it generates and its severity. Identify policies generating more than 50 low-severity alerts -- those are candidates for tuning. For the noisiest policy, show me sample violated assets so I can verify if it's misconfigured. Then disable that policy and resolve its existing alerts as false positives."

Tools used:

  1. policies_get_all -- Retrieve all enabled policies
  2. policies_get_policy_incidents_count -- Alert counts per policy
  3. alerts_get_all_external -- Alerts filtered to the noisiest policy
  4. alerts_get_violated_store_data_assets_by_alert -- Sample violated assets
  5. policy_change_status -- Disable the misconfigured policy (write)
  6. alert_transition -- Resolve existing alerts as false positives (write)

Value: This is the workflow that defines the difference between observing and operating. A read-only MCP server stops at step 4. Sentra's MCP server completes the full audit-to-remediation cycle, reducing policy noise that would otherwise consume analyst hours every week.

UC6: M&A Data Security Due Diligence

Persona: CISO assessing an acquisition target's data security posture

Prompt:

"We're acquiring Company X. Their AWS connector is 'companyX-aws-prod'. Give me a full data security due diligence report: all data stores in that account, sensitivity levels, open alerts and threats, access permissions, and compliance gaps. Flag anything that would be a deal risk."

Tools used: lookup_connector_by_name, data_stores_get_all_external (filtered), data_stores_get_store_asset_sensitivity, alerts_get_all_external (filtered), threats_get_all_external (filtered), get_data_access_stores_by_id_accessible_identities, alerts_get_frameworks_compliance_aggregation

Value: M&A due diligence that would require a dedicated workstream compressed into a structured assessment. The connector-scoped view ensures the analysis is precisely bounded to the acquisition target's infrastructure.

UC7: Board-Ready Security Briefing

Persona: CISO preparing for a quarterly board presentation

Prompt:

"Prepare my quarterly board security briefing: security rating trend over 90 days, current compliance status by framework, open alerts by severity with quarter-over-quarter comparison, data-at-risk trends, sensitivity summary, and top 5 prioritized recommendations."

Tools used: security_posture_summary (composite), alerts_get_risks_security_rating_trend, alerts_get_trends, alerts_get_data_at_risk_trends, data_stores_get_data_stores_aggregated_by_risk

Value: Board materials that tell a story: where we were, where we are, what we've improved, and what we need to prioritize next. The AI agent synthesizes data from 6+ tools into a narrative suitable for non-technical audiences.

UC8: AI Data Risk Assessment

Persona: AI governance lead assessing training data risk

Prompt:

"Show me all AI-related assets Sentra has discovered. For each, what sensitive data classes are present, who has access to the training data stores, and are there any open security alerts? Summarize the risk posture for our AI/ML workloads."

Tools used: get_all_ai_assets_api_data_access_ai_assets_get, get_ai_asset_by_id_api_data_access_ai_assets__asset_id__get, get_data_access_stores_by_id_accessible_identities, alerts_get_all_external (filtered)

Value: As organizations scale AI initiatives, visibility into what sensitive data feeds AI models becomes critical. This workflow surfaces PII, PHI, or proprietary data in training pipelines before it becomes a regulatory or reputational risk.

Prompt Showcase Gallery

The following prompts are designed to be used directly with any MCP-compatible AI agent connected to the Sentra MCP Server. Each demonstrates a complete workflow with the tools that fire behind the scenes.

Prompt 1: Full Alert Investigation with Remediation

Full Alert Investigation with Remediation

Tools that fire:

  • alerts_get -- Alert details and policy info
  • alerts_get_data_assets_by_alert -- Affected data assets
  • data_stores_get_store -- Store details including sensitivity
  • get_data_access_stores_by_id_accessible_identities -- Blast radius
  • alertchangelog_get_alert_changelog_status_change_by_alert_id -- Recurrence check
  • alert_transition -- Status change (write)
  • alert_add_comment -- Investigation notes (write)

Expected output: A structured investigation report with severity assessment, impact analysis, blast radius, recurrence history, and confirmed remediation action.

Prompt 2: Compliance Audit Evidence Package

Compliance Audit Evidence Package

Tools that fire:

  • alerts_get_frameworks_compliance_aggregation -- Framework scores
  • alerts_get_framework_controls_mapping -- Control-level detail
  • alerts_get_all_external -- Open violations by control
  • get_coverage_metrics_api_scan_hub_visibility_coverage_get -- Scan coverage
  • count_identities -- Identity totals
  • search_identities -- Identity type breakdown
  • alerts_get_risks_security_rating_trend -- Rating trend

Expected output: A multi-section evidence package with quantified compliance metrics, identified gaps, and trend data demonstrating continuous improvement.

Prompt 3: Identity Blast Radius Analysis

Identity Blast Radius Analysis

Tools that fire:

  • get_identity_by_id_api_data_access_identities__identity_id__get -- Identity profile
  • get_data_access_identities_by_id_accessible_stores -- Accessible stores
  • data_stores_get_store_asset_sensitivity -- Per-store sensitivity
  • get_data_access_identities_by_id_graph -- Full access graph
  • threats_get_all_external -- Threats on accessible stores
  • alerts_get_all_external -- Alerts on accessible stores
  • get_data_access_identities_by_id_accessible_assets -- Top sensitive assets

Expected output: A risk-scored blast radius report with the identity's complete reach across the data estate, active threats in the blast zone, and a prioritized recommendation.

Prompt 4: Data Store Security Deep Dive

Data Store Security Deep Dive

Tools that fire:

  • data_stores_get_store -- Store profile
  • data_stores_get_store_asset_sensitivity -- Sensitivity breakdown
  • data_stores_get_store_assets_count -- Asset count
  • datastorecontroller_getfileextensionsbydatastoreid -- File type breakdown
  • get_data_access_stores_by_id_accessible_identities -- Identity access
  • alerts_get_all_external -- Open alerts (filtered)
  • data_stores_get_store_scan_status -- Scan status
  • data_stores_get_data_stores_aggregated_by_risk -- Risk context
  • data_store_update_custom_tags -- Apply review tags (write)
  • data_store_update_description -- Update description (write)

Expected output: A comprehensive store security assessment with metadata updates applied directly to the store record for audit trail purposes.

Prompt 5: Weekly Security Operations Digest

Weekly Security Operations Digest

Tools that fire:

  • alerts_get_trends -- Alert trend data
  • alerts_get_open_alerts_aggregated -- Current severity breakdown
  • threats_get_all_external -- Recent critical/high threats
  • alerts_get_frameworks_compliance_aggregation -- Compliance scores
  • data_stores_get_data_stores_aggregated_by_risk -- High-risk stores
  • get_assets_scanned_api_scan_hub_visibility_assets_scanned_get -- Scan coverage
  • security_posture_summary -- Overall posture

Expected output: A formatted weekly digest suitable for team distribution, with trend comparisons, prioritized actions, and metrics that track security operations performance.

Competitive Differentiation

Sentra vs. Read-Only Metadata MCP Servers

Dimension Read-Only MCP Servers Sentra MCP Server
Tool count 5–20 data catalog tools 130+ tools across 13+ domains
Operations Read-only queries Read + 11 write operations
Investigation depth Single-tool lookups Multi-step composite investigations
Guided workflows None 5 pre-built security prompts
Security domains Data catalog only Alerts, threats, identity, compliance, DSAR, AI assets, policies, and more
Write operations None Comment, transition, scan, policy management, metadata updates
Safety controls N/A 6-tier hierarchy, feature flags, UUID validation, safety gates
Deployment options Desktop only Desktop, CLI, Docker with TLS

Five Key Differentiators

1. Operational depth, not just observational breadth. The 11 write operations across 6 safety tiers transform the MCP server from a query interface into an operations platform. Security teams don't just find problems -- they fix them.

2. Composite investigation tools. The investigate_alert and security_posture_summary tools chain 5-6 API calls into single invocations. This isn't just convenience -- it reduces AI agent round trips, lowers latency, and keeps conversation context focused on analysis rather than data gathering.

3. Guided workflow prompts. Five pre-built prompts encode expert investigation methodologies directly into the MCP server. A junior analyst following the triage_alert prompt performs the same investigation as a senior engineer.

4. Full security domain coverage. From DSAR processing to AI asset risk assessment to MITRE ATT&CK threat mapping to identity graph traversal -- the Sentra MCP Server covers security operations end to end, not just the data catalog slice.

5. Enterprise-grade safety architecture. Write operations aren't an afterthought. The 6-tier hierarchy, feature flag gating, UUID validation, and explicit safety gates (like requiring confirm="PURGE" for destructive operations) ensure that conversational access doesn't compromise operational safety.

Security and Governance

The Sentra MCP Server is designed for enterprise security environments where the tools themselves must meet the same security standards as the data they protect.

Authentication and Authorization

  • Sentra API authentication via X-Sentra-API-Key header on all outbound API calls
  • MCP endpoint authentication via X-MCP-API-Key header for HTTP transport (prevents unauthorized agent connections)
  • API key permissions inherit from the Sentra platform -- the MCP server cannot exceed the privileges of the configured API key

Input Validation

  • UUID validation on all identifier parameters (alert_id, threat_id, policy_id, class_id) before HTTP calls are made
  • Input length limits on all string parameters (1000 chars for comments, 2000 chars for descriptions)
  • JSON schema validation for policy creation and tag updates
  • Enum validation for status transitions (only valid statuses and reasons accepted)

Network Security

  • SSRF protection blocks requests to private IP ranges (169.254.x, 10.x, 172.16-31.x, 192.168.x) and cloud metadata endpoints
  • HTTPS enforcement for all non-localhost connections
  • TLS-native deployment with certificate and key configuration for direct HTTPS serving
  • CORS controls with configurable origin allowlists for HTTP transport

Operational Safety

  • Feature flag gating (SENTRA_ENABLE_WRITE_OPS) enables or disables all write operations with a single environment variable
  • 6-tier write hierarchy ensures destructive operations require explicit safety confirmation
  • Error sanitization strips internal details (hostnames, file paths, stack traces) from error responses returned to clients
  • Audit trail -- all write operations are recorded in Sentra's audit log, maintaining full traceability

Container Security

  • Docker deployment with non-root user, read-only filesystem, and resource limits
  • Health endpoint (/health) for orchestrator readiness probes, accessible without authentication

Deployment Options

Deployment Mode Transport Authentication Use Case
Claude Desktop stdio Sentra API key only Individual security analyst, local development
Claude Code / Cursor stdio Sentra API key only Developer workflow integration, IDE-embedded security
Docker (Production) HTTP (streamable-http) Sentra API key + MCP API key + TLS Team-shared instance, production security operations

Prerequisites

  • Python 3.11+ (or Docker)
  • Sentra API key with v3 access
  • Network access to your Sentra instance (typically https://app.sentra.io)

Quick Start (Claude Desktop)

Add to your Claude Desktop MCP configuration:

Adding Claude Desktop MCP configuration

Production Deployment (Docker with TLS)

Production Deployment (Docker with TLS)

Configuration Reference

Environment Variable Default Description
SENTRA_API_KEY (required) Sentra API key for platform access
SENTRA_BASE_URL https://app.sentra.io Sentra API base URL
SENTRA_ENABLE_WRITE_OPS true Enable/disable all write operations
SENTRA_MCP_TRANSPORT stdio Transport mode: stdio, streamable-http, sse
SENTRA_MCP_API_KEY (none) API key required for HTTP transport authentication
SENTRA_MCP_HOST 0.0.0.0 HTTP transport bind address
SENTRA_MCP_PORT 8000 HTTP transport port
SENTRA_MCP_PATH /mcp HTTP transport endpoint path
SENTRA_MCP_SSL_CERTFILE (none) TLS certificate file path
SENTRA_MCP_SSL_KEYFILE (none) TLS private key file path
SENTRA_MCP_CORS_ORIGINS (none) Comma-separated allowed CORS origins
SENTRA_MCP_MODE full full (all tools) or cursor (priority subset)

Call to Action

For Existing Sentra Customers

The MCP server is available today. Deploy it alongside your existing Sentra instance and start using natural language to investigate alerts, prepare compliance reports, and manage security operations. Contact your Sentra account team for deployment guidance and best practices.

For Security Teams Evaluating DSPM

The Sentra MCP Server demonstrates what modern data security operations look like: conversational, automated, and end-to-end. Request a demo to see how AI-driven security operations can reduce alert triage time, accelerate compliance preparation, and close the gap from detection to response.

For Security Engineers

The MCP server is open for customization. Add your own tools, create custom prompts that encode your organization's investigation methodologies, and integrate with your existing security workflows. The architecture is designed for extensibility -- every tool registered through the OpenAPI spec is automatically available, and custom tools can be added alongside the auto-generated ones.

The future of data security operations is conversational. Investigate, triage, and resolve -- not just query.

To see Sentra MCP in action Request a Demo

<blogcta-big>

Read More
Nikki Ralston
Nikki Ralston
March 16, 2026
4
Min Read

S3 Bucket Security Best Practices

S3 Bucket Security Best Practices

Amazon S3 is one of the most widely used cloud storage services in the world, and with that scale comes real security responsibility. Misconfigured buckets remain a leading cause of sensitive data exposure in cloud environments, from accidentally public objects to overly permissive policies that go unnoticed for months. Whether you're hosting static assets, storing application data, or archiving compliance records, getting S3 bucket security right is not optional. This guide covers foundational defaults, policy configurations, and practical checklists to give you an actionable reference as of early 2026.

How S3 Bucket Security Works by Default

A common misconception is that S3 buckets are inherently risky. In reality, all S3 buckets are private by default. When you create a new bucket, no public access is granted, and AWS automatically enables Block Public Access settings at the account level.

Access is governed by a layered permission model where an explicit Deny always overrides an Allow, regardless of where it's defined. Understanding this hierarchy is the foundation of any secure configuration:

  • IAM identity-based policies, control what actions a user or role can perform
  • Bucket resource-based policies, define who can access a specific bucket and under what conditions
  • Access Control Lists (ACLs), legacy object-level permissions (AWS now recommends disabling these entirely)
  • VPC endpoint policies, restrict which buckets and actions are reachable from within a VPC

AWS recommends setting S3 Object Ownership to "bucket owner enforced," which disables ACLs. This simplifies permission management significantly, instead of managing object-level ACLs across millions of objects, all access flows through bucket policies and IAM, which are far easier to audit.

AWS S3 Security Best Practices

A defense-in-depth approach means layering multiple controls rather than relying on any single setting. Here is the current AWS-recommended baseline:

Practice Details
Block public access Enable S3 Block Public Access at both bucket and account levels. Enforce via Service Control Policies (SCPs) in AWS Organizations.
Least-privilege IAM Grant only specific actions each role needs. Avoid "Action": "s3:*" in production. Use presigned URLs for temporary access. Learn more about AWS IAM.
Encrypt at rest and in transit Configure default SSE-S3 or SSE-KMS encryption. Enforce HTTPS by denying requests where aws:SecureTransport is false.
Enable versioning & Object Lock Versioning preserves object history for recovery. Object Lock enforces WORM for compliance-critical data.
Unpredictable bucket names Append a GUID or random identifier to reduce risk of bucket squatting.
VPC endpoints Route internal workload traffic through VPC endpoints so it never traverses the public internet.

S3 Bucket Policy Examples for Common Security Scenarios

Bucket policies are JSON documents attached directly to a bucket that define who can access it and under what conditions. Below are the most practically useful examples.

Enforce HTTPS-Only Access

{
  "Version": "2012-10-17",
  "Statement": [{
    "Sid": "RestrictToTLSRequestsOnly",
    "Effect": "Deny",
    "Principal": "*",
    "Action": "s3:*",
    "Resource": [
      "arn:aws:s3:::your-bucket-name",
      "arn:aws:s3:::your-bucket-name/*"
    ],
    "Condition": { "Bool": { "aws:SecureTransport": "false" } }
  }]
}

Deny Unencrypted Uploads (Enforce KMS)

{

"Version": "2012-10-17",

"Statement": [{

"Sid": "DenyObjectsThatAreNotSSEKMS",

"Principal": "*",

"Effect": "Deny",

"Action": "s3:PutObject",

"Resource": "arn:aws:s3:::your-bucket-name/*",

"Condition": {

"Null": {

"s3:x-amz-server-side-encryption-aws-kms-key-id": "true" } } }]}

Other Common Patterns

  • Restrict to a specific VPC endpoint: Use the aws:sourceVpce condition key to ensure the bucket is only reachable from a designated private network.
  • Grant CloudFront OAI access: Allow only the Origin Access Identity principal, keeping objects private from direct URL access while serving them through the CDN.
  • IP-based restrictions: Use NotIpAddress with aws:SourceIp to deny requests from outside a trusted CIDR range.

Always use "Version": "2012-10-17" and validate policies through IAM Access Analyzer before deployment to catch unintended access grants.

Enforcing SSL with the s3-bucket-ssl-requests-only Policy

Forcing all S3 traffic over HTTPS is one of the most straightforward, high-impact controls available. The AWS Config managed rule s3-bucket-ssl-requests-only checks whether your bucket policy explicitly denies HTTP requests, flagging non-compliant buckets automatically.

The policy evaluates the aws:SecureTransport condition key. When a request arrives over plain HTTP, this key evaluates to false, and the Deny statement blocks it. This applies to all principals, AWS services, cross-account roles, and anonymous requests alike. Adding the HTTPS-only Deny statement shown in the policy examples section above satisfies both the AWS Config rule and common compliance requirements under PCI-DSS and HIPAA.

Using an S3 Bucket Policy Generator Safely

The AWS Policy Generator is a useful starting point, but generated policies require careful review before going into production. Follow these steps:

  • Select "S3 Bucket Policy" as the policy type, then fill in the principal, actions, resource ARN, and conditions (e.g., aws:SecureTransport or aws:SourceIp).
  • Check for overly broad principals, avoid "Principal": "*" unless intentional.
  • Verify resource ARNs are scoped correctly (bucket-level vs. object-level).
  • Use IAM Access Analyzer's "Preview external access" feature to understand the real-world effect before saving.

The generator is a scaffold, security judgment still applies. Never paste generated JSON directly into production without review.

S3 Bucket Security Checklist

Use this consolidated checklist to audit any S3 bucket configuration:

Control Status
Block Public Access Enabled at account and bucket level
ACLs disabled Object Ownership set to "bucket owner enforced"
Default encryption SSE-S3 or SSE-KMS configured
HTTPS enforced Bucket policy denies aws:SecureTransport: false
Least-privilege IAM No wildcard actions in production policies
Versioning Enabled; Object Lock for sensitive data
Bucket naming Includes unpredictable identifiers
VPC endpoints Configured for internal workloads
Logging & monitoring Server access logging, CloudTrail, GuardDuty, and IAM Access Analyzer active
AWS Config rules s3-bucket-ssl-requests-only and related rules enabled
Disaster recovery Cross-region replication configured where required

How Sentra Strengthens S3 Bucket Security at Scale

Applying the right bucket policies and IAM controls is necessary, but at enterprise scale, knowing which buckets contain sensitive data, how that data moves, and who can access it becomes the harder problem. This is where cloud data exposure typically occurs: not from a single misconfigured bucket, but from data sprawl across hundreds of buckets that no one has a complete picture of.

Sentra discovers and classifies sensitive data at petabyte scale directly within your environment, data never leaves your control. It maps data movement across S3, identifies shadow data and over-permissioned buckets, and enforces data-driven guardrails aligned with compliance requirements. For organizations adopting AI, Sentra provides the visibility needed to ensure sensitive training data or model outputs in S3 are properly governed. Eliminating redundant and orphaned data typically reduces cloud storage costs by around 20%.

S3 bucket security is not a one-time configuration task. It's an ongoing practice spanning access control, encryption, network boundaries, monitoring, and data visibility. The controls covered here, from enforcing SSL and disabling ACLs to using policy generators safely and maintaining a security checklist, give you a comprehensive framework. As your environment grows, pairing these technical controls with continuous data discovery ensures your security posture scales with your data, not behind it.

Read More
Nikki Ralston
Nikki Ralston
March 15, 2026
4
Min Read

How to Evaluate DSPM and DLP for Copilot and Gemini: A Security Architect’s Buyer’s Guide

How to Evaluate DSPM and DLP for Copilot and Gemini: A Security Architect’s Buyer’s Guide

Most security architects didn’t sign up to be AI product managers. Yet that’s what Copilot and Gemini rollouts feel like: “We want this in every business unit, as soon as possible. Make sure it’s safe.”

If you’re being asked to recommend or validate a DSPM platform, or to justify why your existing DLP stack is or isn’t enough, you need a realistic, vendor‑agnostic set of criteria that maps to how Copilot and Gemini actually work.

This guide is written from that perspective: what matters when you evaluate DSPM and DLP for AI assistants, what’s table stakes vs. differentiating, and what you should ask every vendor before you bring them to your steering committee.

1. Start with the AI use cases you actually have

Before you look at tools, clarify your Copilot and/or Gemini scope:

  • Are you rolling out Microsoft 365 Copilot to a pilot group, or planning an org‑wide deployment?
  • Are you enabling Gemini in Workspace only, or also Gemini for dev teams (Vertex AI, custom LLM apps, RAG)?
  • Do you have existing AI initiatives (third‑party SaaS copilots, homegrown assistants) that will access M365 or Google data?

This matters because different tools have very different coverage:

  • Some are M365‑centric with shallow Google support.
  • Others focus on cloud infrastructure and data warehouses, and barely touch SaaS.
  • Very few provide deep, in‑environment visibility across both SaaS and cloud platforms, which is what you need if Copilot/Gemini are just the tip of your AI iceberg.

Define the boundary first; evaluate tools second.

2. Non‑negotiable DSPM capabilities for Copilot and Gemini

When Copilot and Gemini are in scope, “generic DSPM” is not enough. You need specific capabilities that touch how those assistants see and use data.

2.1 Native visibility into M365 and Workspace

At minimum, a viable DSPM platform must:

  • Discover and classify sensitive data across SharePoint, OneDrive, Exchange, Teams and Google Drive / shared drives.
  • Understand sharing constructs (public/org‑wide links, external guests, shared drives) and relate them to data sensitivity.
  • Support unstructured formats including Office docs, PDFs, images, and audio/video files.

Ask vendors:

  • “Show me, live, how you discover sensitive data in Teams chats and OneDrive/Drive folders that are Copilot/Gemini‑accessible.”
  • “Show me how you handle PDFs, audio, and meeting recordings - not just Word docs and spreadsheets.”

Sentra, for example, was explicitly built to discover sensitive data across IaaS, PaaS, SaaS, and on‑prem, and to handle formats like audio/video and complex PDFs as first‑class sources.

2.2 In‑place, agentless scanning

For many organizations, it’s now a hard requirement that data never leaves their cloud environment for scanning. Evaluate if the vendor scan in‑place within your tenants, using cloud APIs and serverless functions or do they require copying data or metadata into their infrastructure?

Sentra’s architecture is explicitly “data stays in the customer environment”, which is why large, regulated enterprises have standardized on it.

2.3 AI‑grade classification accuracy and context

Copilot and Gemini are only as safe as your labels and identity model. That requires:

  • High‑accuracy classification (>98%) across structured and unstructured content.
  • The ability to distinguish synthetic vs. real data and to attach rich context: department, geography, business function, sensitivity, owner.

Ask:

  • “How do you measure classification accuracy, and on what datasets?”
  • “Can you show me how your platform treats, for example, a Zoom recording vs. a scanned PDF vs. a CSV export?”

Sentra uses AI‑assisted models and granular context classes at both file and entity level, which is why customers report >98% accuracy and trust the labels enough to drive enforcement.

3. Evaluating DLP in an AI‑first world

Most enterprises already have DLP: endpoint, email, web, CASB. The question is whether it can handle AI assistants and the honest answer is that DLP alone usually can’t, because:

  • It operates blind to real data context, relying on regex and static rules.
  • It usually doesn’t see unstructured SaaS stores or AI outputs reliably.
  • Policies quickly become so noisy that they get weakened or disabled.

The evaluation question is not “DLP or DSPM?” It’s:

“Which DSPM platform can make my DLP stack effective for Copilot and Gemini, without a rip‑and‑replace?”

Look for:

  • Tight integration with Microsoft Purview (for MPIP labels and Copilot DLP) and, where relevant, Google DLP.
  • The ability to auto‑apply and maintain labels that DLP actually enforces.
  • Support for feeding data context (sensitivity + business impact + access graphs) into enforcement decisions.

Sentra becomes the single source of truth for sensitivity and business impact that existing DLP tools rely on.

4. Scale, performance, and operating cost

AI rollouts increase data volumes and usage faster than most teams expect. A DSPM that looks fine on 50 TB may struggle at 5 PB.

Evaluation questions:

  • “What’s your largest production deployment by data volume? How many PB?”
  • “How long does an initial full scan take at that scale, and what’s the recurring scan pattern?”
  • “What does cloud compute spend look like at 10 PB, 50 PB, 100 PB?”

Sentra customer tests prove ability to scan 9 PB in under 72 hours at 10–1000x greater scan efficiency than legacy platforms, with projected scanning of 100 PB at roughly $40,000/year in cloud compute.

If a vendor can’t answer those questions quantitatively, assume you’ll be rationing scans, which undercuts the whole point of DSPM for AI.

5. Governance, reporting, and “explainability” for architects

Your stakeholders, security leadership, compliance, boards, will ask three things:

  1. “Where, exactly, can Copilot and Gemini see regulated data?”
  2. “How do we know permissions and labels are correct?”
  3. “Can you prove we’re compliant right now, not just at audit time?”

A strong DSPM platform helps you answer those questions without building custom reporting in a SIEM:

  • AI‑specific risk views that show AI assistants, datasets, and identities in one place.
  • Compliance mappings to frameworks like GLBA, SOX, FFIEC, GDPR, HIPAA, PCI DSS, and state privacy laws.
  • Executive‑ready summaries of AI‑related data risk and progress over time (e.g., percentage of regulated data coverage, number of Copilot‑accessible high‑risk stores before vs. after remediation).

Sentra’s AI Data Readiness and continuous compliance materials give a good template for what “explainable DSPM” looks like in practice.

6. Putting it together: A concise RFP checklist

When you boil it down, your evaluation criteria for DSPM/DLP for Copilot and Gemini should include:

  • In‑place, multi‑cloud/SaaS discovery with strong M365 and Workspace coverage
  • Proven high‑accuracy classification and rich business context for unstructured data
  • Identity‑to‑data mapping with least‑privilege insights
  • Native integrations with MPIP/Purview and Google DLP, with label automation
  • Real‑world scale (PB‑level) and quantified cloud cost
  • AI‑aware risk views, compliance mappings, and reporting

Use those as your “table stakes” in RFPs and technical deep dives. You can add vendor‑specific questions on top, but if a tool can’t clear this bar, it will not make Copilot and Gemini genuinely safe - it will just give you more dashboards.

<blogcta-big>

Read More
Expert Data Security Insights Straight to Your Inbox
What Should I Do Now:
1

Get the latest GigaOm DSPM Radar report - see why Sentra was named a Leader and Fast Mover in data security. Download now and stay ahead on securing sensitive data.

2

Sign up for a demo and learn how Sentra’s data security platform can uncover hidden risks, simplify compliance, and safeguard your sensitive data.

3

Follow us on LinkedIn, X (Twitter), and YouTube for actionable expert insights on how to strengthen your data security, build a successful DSPM program, and more!

Before you go...

Get the Gartner Customers' Choice for DSPM Report

Read why 98% of users recommend Sentra.

White Gartner Peer Insights Customers' Choice 2025 badge with laurel leaves inside a speech bubble.