| Index: components/policy/tools/syntax_check_policy_template_json.py
|
| diff --git a/components/policy/tools/syntax_check_policy_template_json.py b/components/policy/tools/syntax_check_policy_template_json.py
|
| index fd0cedd748d457421900352d7b8d40308b3c20c5..4da3ca3d2796ed3b85bf1d4af0aa530304c91326 100755
|
| --- a/components/policy/tools/syntax_check_policy_template_json.py
|
| +++ b/components/policy/tools/syntax_check_policy_template_json.py
|
| @@ -185,7 +185,7 @@ class PolicyTemplateChecker(object):
|
| 'supported_on', 'label', 'policies', 'items',
|
| 'example_value', 'features', 'deprecated', 'future',
|
| 'id', 'schema', 'max_size', 'tags',
|
| - 'default_for_enterprise_users'):
|
| + 'default_for_enterprise_users', 'arc_support'):
|
| self.warning_count += 1
|
| print ('In policy %s: Warning: Unknown key: %s' %
|
| (policy.get('name'), key))
|
| @@ -217,6 +217,9 @@ class PolicyTemplateChecker(object):
|
| # If 'future' is present, it must be a bool.
|
| self._CheckContains(policy, 'future', bool, True)
|
|
|
| + # If 'arc_support' is present, it must be a string.
|
| + self._CheckContains(policy, 'arc_support', str, True)
|
| +
|
| if policy_type == 'group':
|
| # Groups must not be nested.
|
| if is_in_group:
|
|
|