summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorpbond <pbond@chromium.org>2015-08-18 01:57:39 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-18 08:58:20 +0000
commitb1d23bcdd177a18e44593e02b37a7c08fef41261 (patch)
tree05138eb8912fb1e86b233306192fd9d3a3e01679 /components
parent9bdf478aa239f1ca2285076fdc3d0a81e984d28f (diff)
downloadchromium_src-b1d23bcdd177a18e44593e02b37a7c08fef41261.zip
chromium_src-b1d23bcdd177a18e44593e02b37a7c08fef41261.tar.gz
chromium_src-b1d23bcdd177a18e44593e02b37a7c08fef41261.tar.bz2
Added policy to disable/enable a system log upload.
BUG=471888 Review URL: https://codereview.chromium.org/1280003004 Cr-Commit-Position: refs/heads/master@{#343861}
Diffstat (limited to 'components')
-rw-r--r--components/policy/resources/policy_templates.json20
1 files changed, 19 insertions, 1 deletions
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index 49f27a4..4374b35 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -123,7 +123,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 305
+# For your editing convenience: highest ID currently used: 306
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -4395,6 +4395,24 @@
outside of this range will be clamped to this range.''',
},
{
+ 'name': 'LogUploadEnabled',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome_os:46-'],
+ 'device_only': True,
+ 'features': {
+ 'dynamic_refresh': True,
+ },
+ 'example_value': False,
+ 'id': 306,
+ 'caption': '''Send system logs to the management server''',
+ 'desc': '''Send system logs to the management server, to allow
+ admins to monitor system logs.
+
+ If this policy is set to true, system logs will be sent. If set
+ to false or unset, then no system logs will be sent.''',
+ },
+ {
'name': 'DeviceUserWhitelist',
'type': 'list',
'schema': {