Managing DSPM data analysis
Note
Data analysis is billed separately from data source scans.
Data analysis is the first stage of DSPM Data management. The module finds, identifies, and catalogs all Object Storage buckets within a selected workspace.
The analysis starts automatically after you enable Data Security Posture Management.
Getting started
Before you start using the DSPM module, set up your workspace and specify the default folder to store Data Security Posture Management (DSPM) data:
-
Go to Yandex Security Deck
. -
In the left-hand panel, select
DSPM. -
If the Security Deck settings window opens, this means the DSPM data storage folder has not been configured. Under Choose your default folder, select a folder to store the module data by default and click Save at the bottom of the page.
-
If the DSPM UI opens, this means the module's data storage folder has already been configured, so you can continue working.
You can change the DSPM data storage folder path. To do this, navigate to the Settings tab. Under Default storage, select another folder.
-
Activate DSPM in the current workspace. To do this, click
Configure DSPM at the top right.In the window that opens, navigate to the Control modules tab. Under Control modules, select the **Data Security Posture Management (DSPM)
** module and click Save.If you have no workspaces yet, create one and activate the **Data Security Posture Management (DSPM)
** when creating the workspace.
Viewing analysis results
The summary for preliminary analysis of resources in the environment is available in Interface 2.0 in the Data analytics section of the DSPM module. To see it, do the following:
-
In the left-hand panel, select
DSPM. -
On the DSPM page, select
Interface: v2.0and navigate to the Data analytics tab.The page displays information about the number and total size of files found in the environment's resources that may potentially contain sensitive data:
-
A list of clouds, folders, and buckets that host objects potentially containing sensitive information.
The number of files found and their total size are indicated for each cloud, folder, and bucket.
-
Infographics showing the number of files found by type and their size as a percentage.
Click Details to expand the diagram and show more detailed information.
-
-
If required, use filters to get specific information about resources and the types of files found in them:
-
Optionally, under Resource, select the resources you want analyzed.
If needed, use the Search by resource name filter to view resources by cloud, folder, or bucket name.
-
Optionally, under Buckets, select Public for the analysis to only display information about objects located in buckets with public access.
-
Optionally, under Formats, select the MIME types
of files you want analyzed:Scannable: Files of all supported MIME types.Documents:Text documents: Text files of MIME types such astext/plain,application/rtf, etc.Text processor documents: Text files of MIME types such asapplication/macwriteii,application/msword, etc.PDF and other documents for printing: Files of MIME types such asapplication/pdf,image/vnd.djvu, etc.Presentations: Presentation files of MIME types such asapplication/vnd.apple.keynote,application/vnd.ms-powerpoint, etc.E-books: Text files of MIME types such asapplication/epub+zip,application/hwp+zip, etc.
Graphics and design:Raster graphics: Image files of MIME types such asimage/bmp,image/gif, etc.Vector graphics: Image files of MIME types such asapplication/coreldraw,image/cgm, etc.3D models: Image files of MIME types such asimage/x-3ds,model/e57, etc.
Multimedia:Audio files: Audio files of MIME types such asaudio/32kadpcm,audio/3gpp, etc.Video files: Video files of MIME types such asapplication/mp4,application/mpeg4-generic, etc.
Code and service files:Source code: Code files of types such asapplication/sieve,application/x-bat, etc.Configuration files: Configuration files of MIME types such astext/x-config,text/x-ini, etc.Certificates and keys: Secret files of MIME types such asapplication/pgp-encrypted,application/pgp-keys, etc.Executables and binaries: Service files of MIME types such asapplication/applefile,application/java-vm, etc.
Datasets:Structured data: Data files of MIME types such asapplication/cbor,application/json, etc.Table formats: Table files of MIME types such asapplication/vnd.apple.numbers,application/vnd.ms-excel, etc.Database files: Database files of MIME types such asapplication/vnd.lotus-approach,application/vnd.oasis.opendocument.base, etc.GIS: Files of MIME types such asapplication/vnd.google-earth.kml+xml,application/vnd.google-earth.kmz, etc.
Archives and containers:Archives: Archive files of MIME types such asapplication/gzip,application/java-archive, etc.Disk images: Image files of MIME types such asapplication/vnd.msa-disk-image,application/x-apple-diskimage, etc.
Digital communications:Web: Web files of MIME types such asapplication/ecmascript,text/html, etc.Mail and messages: Files of MIME types such asapplication/activemessage,message/cpim, etc.Fonts: Font files of MIME types such asapplication/font-tdpfr,application/x-font-bdf, etc.
Niche formats:Scientific data: Scientific data files of MIME types such asapplication/cellml+xml,chemical/x-cdx, etc.
Medical images: Files of MIME types such asapplication/dicom.Miscellaneous: Other MIME type files.
To reset the applied filters, click
Reset. -
After data analysis detects potentially dangerous resources, click Add to the scan to create a continuous update scan for them.
Saving analysis results
To save a summary for preliminary analysis of environment resources to a file or bucket:
-
In the left-hand panel, select
DSPM. -
On the DSPM page, select
Interface: v2.0and navigate to the Data analytics tab. -
Click
Export and select:-
Download results by file to save the analysis results to a local file.In the window that opens, click Download.
Note
You can save no more than 10,000 log lines to a local file. To export a larger number of lines, export the analysis results to a bucket.
-
Export results to bucket to save the analysis results to an Object Storage bucket. In the window that opens:-
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
.csvextension. -
In the Service account field, select the service account on whose behalf export will be done. You must have the right to use the selected service account, i.e., the
iam.serviceAccounts.userrole or higher, and the service account must have the following roles:storage.uploaderfor the selected bucket.kms.keys.encrypterfor the encryption key if the bucket is encrypted.
-
Click Export to export the analysis results to the bucket.
If the selected service account does not have enough permissions for the operation, the information about this will be displayed on the Parameter validation tab.
Expand the section with information about missing roles, select the service account, and click
Assign roles to grant the lacking permissions to this service account. Then click Export again.
-
-