Total protection policy

Total protection policy is a root policy that represents a total protection plan and includes all other protection policies.

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 that will be used as a parent ID in included protection policies.
3    'id': '',
4    # Total protection policy type is 'policy.protection.total'
5    'type': 'policy.protection.total',
6    'origin': 'upstream',
7    'enabled': True,
8    'name': 'My Protection Plan'
9}