Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Object Storage
    • All guides
      • Creating a bucket
      • Deleting a bucket
      • Limiting the maximum bucket size
      • Configuring and disabling default encryption
      • Configuring object lifecycles
      • Configuring CORS
      • Configuring access permissions using IAM
      • Editing a bucket ACL
      • Managing an access policy
      • Enabling and disabling public access to a bucket
      • Disabling access with static keys
      • Accessing a bucket using Security Token Service
      • Gaining access to a bucket using an ephemeral access key
      • Configuring access to a bucket using a service connection from VPC
      • Searching for sensitive data in a bucket
      • Enabling and pausing bucket versioning
      • Logging bucket actions
      • Enabling and disabling object lock
      • Managing object metadata export
      • Managing bucket labels
      • Getting a list of buckets
      • Getting bucket information and statistics
      • Viewing bucket metrics
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Bucket logs
  • Release notes
  • FAQ

In this article:

  • Getting started
  • Creating a scan
  • Viewing scan results
  • Downloading scan results
  • Exporting scan results
  • Viewing scan errors
  1. Step-by-step guides
  2. Buckets
  3. Searching for sensitive data in a bucket

Searching for sensitive data in a bucket

Written by
Yandex Cloud
Updated at October 29, 2026
View in Markdown
  • Getting started
  • Creating a scan
  • Viewing scan results
  • Downloading scan results
  • Exporting scan results
  • Viewing scan errors

You can search for sensitive data, such as passwords, credit/debit card details, email addresses, and more, in the bucket using Data Security Posture Management. You can create a bucket scan and manage the results in Object Storage via the management console.

Warning

Searching for sensitive data in a bucket is a paid operation. A scan initiated from the Object Storage UI is performed by the Data Security Posture Management module (DSPM) of Yandex Security Deck. The cost of scanning is calculated in line with the Security Deck pricing policy and is attributed to this service in the usage details.

Getting startedGetting started

Make sure the service account you will use to scan a bucket and work with scan results has the following roles:

  • dspm.editor or higher: Required to create scans.
  • dspm.admin or dspm.viewer or higher: Required to view scan results with masked or public data, respectively.
  • dspm.viewer or higher: Required to download scan results.
  • dspm.viewer or higher: Required to export results. Also the service account that will perform the export must have write permissions for the target bucket.

Creating a scanCreating a scan

Tip

The Object Storage UI allows you to scan individual buckets for sensitive data. To monitor data in multiple buckets at the folder, cloud, or organization level, use the DSPM module inside Yandex Security Deck.

Management console
  1. In the management console, select the folder.

  2. Navigate to Object Storage.

  3. Click the name of the bucket you want to create a scan for.

  4. Navigate to the Security tab, then to Sensitive data search.

  5. Click New scan.

    Note

    If access to the bucket is controlled by a policy, allow access to Security Deck IP addresses in the bucket policy settings. For a list of addresses, see Public IP address ranges.

  6. Under Sensitive data search, select the data categories to scan for. You can select all the available categories at once or any combination of them.

  7. Optionally, under Include files into the scope, specify the object keys or prefixes to include in the scan. By default, the scan targets all supported file formats.

    Note

    Currently, you cannot scan objects encrypted with a KMS key.

  8. Click Create scan.

The scan will start automatically. To repeat the scan, click Repeat scan.

Viewing scan resultsViewing scan results

Management console
  1. In the management console, select the folder.

  2. Navigate to Object Storage.

  3. Click the name of the bucket in question.

  4. Navigate to the Security tab, then to Sensitive data search.

  5. Sensitive data found during the scan, if any, will be displayed on the Results tab. The information about each detected object is presented in the following columns:

    • Data type: Search category of the data, e.g., FULL-NAME-RU-ML: Full name.
    • Found occurrence: Sensitive data found.
    • Object: Path to the file the data was found in.

Downloading scan resultsDownloading scan results

As you download, a CSV file with the scan results is saved locally on your computer.

Note

The file can contain a maximum of 10,000 sensitive data records. To export a larger number of records, use export to Object Storage.

Management console
  1. In the management console, select the folder.
  2. Navigate to Object Storage.
  3. Click the name of the bucket in question.
  4. Navigate to the Security tab, then to Sensitive data search.
  5. Click More and select Download results.
  6. In the window that opens, specify how to display names, contact information, and other personal data, then click Download file.

Exporting scan resultsExporting scan results

When exporting, the file with scan results is saved to the bucket you select.

Management console
  1. In the management console, select the folder.

  2. Navigate to Object Storage.

  3. Click the name of the bucket in question.

  4. Navigate to the Security tab, then to Sensitive data search.

  5. Click More and select Export to bucket.

  6. In the window that opens, set the export settings:

    • In the Bucket field, select the bucket to save the results to.
    • In the Path to bucket field, set the prefix of the object to save the results to.
    • In the File name field, specify the name of the file to save the results to. The file will automatically get the .csv extension.
    • In the Service account field, select the service account with the storage.uploader role for the selected bucket and kms.keys.encrypter for the encryption key, if the bucket is encrypted.
    • Under Display sensitive data, specify how to display names, contact information, and other personal data.
    • Click Export to export the parameter check results.

Viewing scan errorsViewing scan errors

Management console
  1. In the management console, select the folder.
  2. Navigate to Object Storage.
  3. Click the name of the bucket in question.
  4. Navigate to the Security tab, then to Sensitive data search, and then to Messages and errors.

For more information about scanning errors, see Troubleshooting Data Security Posture Management (DSPM).

Useful linksUseful links

  • Sensitive data search in Object Storage
  • Data Security Posture Management (DSPM)
  • Preparing data for scanning in DSPM

An object key is the full name of a file within a bucket, often formatted as a filesystem path. Here are some examples of keys: docs/reports/2026/april.pdf, photos/trips/paris/img001.jpg.

A prefix is the initial part of a key displayed in the UI as a folder. Here are some examples of prefixes: photos/, photos/trips/, photos/trips/paris/.

Was the article helpful?

Previous
Configuring access to a bucket using a service connection from VPC
Next
Enabling and pausing bucket versioning
© 2026 Direct Cursus Technology L.L.C.