Data protection map policy

Data protection map policy is a security policy that enables discovery of the stored data in order to monitor the protection status of important files. For more information on the Data protection map functionality, see this section of the Acronis Cyber Protection User Guide.

The following example can be used when creating a protection plan with this protection policy:

Policy example

 1{
 2    # Put a unique ID of the policy here.
 3    "id": "",
 4    # Data protection map policy type is 'policy.security.data_protection_map'
 5    'type': 'policy.security.data_protection_map',
 6    'parent_ids': [
 7        # Put the ID of total protection policy here.
 8    ],
 9    'origin': 'upstream',
10    'enabled': True,
11    'settings_schema': '2.0',
12    'settings': {
13        # An object with exception settings.
14        'exceptions': {
15            # Set to true to include hidden files and folders during data discovery.
16            'hidden_files_and_folders_enabled': True,
17            # Set to true to include system files and folders during data discovery.
18            'system_files_and_folders_enabled': True
19        },
20        # A list of file extensions that will be considered as important during the data discovery.
21        'extensions': [
22            '.7z', '.abc', '.accdb',
23            '.apk', '.bin', '.bz2',
24            '.bzip2', '.cab', '.cer',
25            '.csv', '.dbf', '.dbx',
26            '.deb', '.doc', '.docx',
27            '.dot', '.dotx', '.dwg',
28            '.dxf', '.eml', '.emlx',
29            '.gpg', '.gz', '.gzip',
30            '.iwa', '.json', '.key',
31            '.keynote', '.mdb', '.msg',
32            '.odp', '.oos', '.p12',
33            '.pages', '.pdf', '.pgp',
34            '.pot', '.pps', '.ppt',
35            '.pptx', '.pst', '.rar',
36            '.rtf', '.sdp', '.sdw',
37            '.sldasm', '.slddrw', '.sldprt',
38            '.sxi', '.sxw', '.tar.gz',
39            '.tsv', '.txt', '.vdx',
40            '.vsd', '.vss', '.vst',
41            '.vsx', '.vtw', '.vtx',
42            '.xls', '.xlsx', '.xlw',
43            '.xml', '.xps', '.zip'
44        ],
45        # An object with the schedule settings
46        'schedule': {
47            'activation': {
48                'action': 'run',
49                'timeout': {
50                    'count': 4294967295,
51                    'type': 'seconds'
52                }
53            },
54            'alarms': {
55                'time': {
56                    'run_later': False,
57                    'time_from': {
58                        'hour': 15,
59                        'minute': 25,
60                        'second': 0
61                    },
62                    'wake_on_lan': False,
63                    'weekdays': [
64                        'mon',
65                        'tue',
66                        'wed',
67                        'thu',
68                        'fri'
69                    ]
70                }
71            },
72            'conditions': {},
73            'prevent_sleep': True,
74            'type': 'daily'
75        }
76    }
77}