Vulnerability assessment policy

Vulnerability assessment policy is a security policy that automatically checks the Microsoft and third-party products installed on the workload for vulnerabilities and notifies you about them. For more information on the Vulnerability assessment 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    # Vulnerability assessment policy type is 'policy.security.vulnerability_assessment'
 5    'type': 'policy.security.vulnerability_assessment',
 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        # Set to true to include Linux packages in the scan scope.
14        'check_linux_packages': True,
15        # Set to true to include third-party applications in the scan scope.
16        'check_third_party_applications': True,
17        # Set to true to include Microsoft products in the scan scope.
18        'check_windows_components': True,
19        # An object with the schedule settings
20        'schedule': {
21            'activation': {
22                'action': 'run',
23                'timeout': {
24                    'count': 4294967295,
25                    'type': 'seconds'
26                }
27            },
28            'alarms': {
29                'time': {
30                    'rand_max_delay': {
31                        'count': 3600,
32                        'type': 'seconds'
33                    },
34                    'run_later': False,
35                    'time_from': {
36                        'hour': 9,
37                        'minute': 5,
38                        'second': 0
39                    },
40                    'wake_on_lan': False,
41                    'weekdays': [
42                        'mon',
43                        'tue',
44                        'wed',
45                        'thu',
46                        'fri',
47                        'sat',
48                        'sun'
49                    ]
50                }
51            },
52            'conditions': {},
53            'prevent_sleep': True,
54            'type': 'daily'
55        }
56    }
57}