Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2943763002: Add a new group policy to disable safe browsing for files downloaded from trusted sources. (Closed)
Patch Set: Remove command line support Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/policy/core/common/policy_loader_win.cc ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 # templates and documentation. The policy definition list that Chrome sees 136 # templates and documentation. The policy definition list that Chrome sees
137 # will include policies marked with 'future'. If a WIP policy isn't meant to 137 # will include policies marked with 'future'. If a WIP policy isn't meant to
138 # be seen by the policy providers either, the 'supported_on' key should be set 138 # be seen by the policy providers either, the 'supported_on' key should be set
139 # to an empty list. 139 # to an empty list.
140 # 140 #
141 # IDs: 141 # IDs:
142 # Since a Protocol Buffer definition is generated from this file, unique and 142 # Since a Protocol Buffer definition is generated from this file, unique and
143 # persistent IDs for all fields (but not for groups!) are needed. These are 143 # persistent IDs for all fields (but not for groups!) are needed. These are
144 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 144 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
145 # because doing so would break the deployed wire format! 145 # because doing so would break the deployed wire format!
146 # For your editing convenience: highest ID currently used: 374 146 # For your editing convenience: highest ID currently used: 375
147 # And don't forget to also update the EnterprisePolicies enum of 147 # And don't forget to also update the EnterprisePolicies enum of
148 # histograms.xml (run 'python tools/metrics/histograms/update_policies.py'). 148 # histograms.xml (run 'python tools/metrics/histograms/update_policies.py').
149 # 149 #
150 # Placeholders: 150 # Placeholders:
151 # The following placeholder strings are automatically substituted: 151 # The following placeholder strings are automatically substituted:
152 # $1 -> Google Chrome / Chromium 152 # $1 -> Google Chrome / Chromium
153 # $2 -> Google Chrome OS / Chromium OS 153 # $2 -> Google Chrome OS / Chromium OS
154 # $3 -> Google Chrome Frame / Chromium Frame 154 # $3 -> Google Chrome Frame / Chromium Frame
155 # $6 is reserved for doc_writer 155 # $6 is reserved for doc_writer
156 # 156 #
(...skipping 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after
1789 1789
1790 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ ph> will use the provided directory regardless whether the user has specified on e or enabled the flag to be prompted for download location every time. 1790 If you set this policy, <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ ph> will use the provided directory regardless whether the user has specified on e or enabled the flag to be prompted for download location every time.
1791 1791
1792 See https://www.chromium.org/administrators/policy-list-3/user-data-direct ory-variables for a list of variables that can be used. 1792 See https://www.chromium.org/administrators/policy-list-3/user-data-direct ory-variables for a list of variables that can be used.
1793 1793
1794 If this policy is left not set the default download directory will be used and the user will be able to change it.''', 1794 If this policy is left not set the default download directory will be used and the user will be able to change it.''',
1795 'label': '''Set download directory''', 1795 'label': '''Set download directory''',
1796 'arc_support': 'This policy has no effect on Android apps. Android apps al ways use the default downloads directory and cannot access any files downloaded by <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> into a non-defaul t downloads directory.', 1796 'arc_support': 'This policy has no effect on Android apps. Android apps al ways use the default downloads directory and cannot access any files downloaded by <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> into a non-defaul t downloads directory.',
1797 }, 1797 },
1798 { 1798 {
1799 'name': 'SafeBrowsingForTrustedSourcesEnabled',
1800 'type': 'main',
1801 'schema': { 'type': 'boolean' },
1802 'supported_on': ['chrome.win:61-'],
pastarmovj 2017/07/04 17:06:10 nit: Haven't we branched 61 by now? I think this h
MAD 2017/07/04 17:18:28 Chrome 61 Branch Point: Thu Jul 20
1803 'features': {
1804 'can_be_recommended': True,
1805 'dynamic_refresh': True,
1806 'per_profile': True,
1807 },
1808 'example_value': False,
1809 'id': 375,
1810 'caption': '''SafeBrowsing enable state for trusted sources''',
1811 'tags': ['local-data-access'],
1812 'desc': '''Identify if <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></p h> can allow download without Safe Browsing checks when it's from a trusted sour ce.
1813
1814 When False, downloaded files will not be sent to be analyzed by Safe Brows ing when it's from a trusted source.
1815
1816 When not set (or set to True), downloaded files are sent to be analyzed by Safe Browsing, even when it's from a trusted source.
1817
1818 Note that these restrictions apply to downloads triggered from web page co ntent, as well as the 'download link...' context menu option.
1819
1820 But these restrictions do not apply to the save / download of the currentl y displayed page, nor does it apply to saving as PDF from the printing options.
pastarmovj 2017/07/04 17:06:10 nit. Remove the "But" and merge with the previous
MAD 2017/07/04 17:18:28 Done.
1821
1822 This policy is not available on Windows instances that are not joined
1823 to a Microsoft® Active Directory® domain.''',
pastarmovj 2017/07/04 17:06:10 nit: Maybe put the "MS AD" in a ph tag to prevent
MAD 2017/07/04 17:18:28 Done.
1824 'label': '''SafeBrowsing enable state for trusted sources''',
1825 },
1826 {
1799 'name': 'ClearSiteDataOnExit', 1827 'name': 'ClearSiteDataOnExit',
1800 'type': 'main', 1828 'type': 'main',
1801 'schema': { 'type': 'boolean' }, 1829 'schema': { 'type': 'boolean' },
1802 'supported_on': ['chrome.*:11-28', 'chrome_os:11-28'], 1830 'supported_on': ['chrome.*:11-28', 'chrome_os:11-28'],
1803 'features': { 1831 'features': {
1804 'can_be_recommended': True, 1832 'can_be_recommended': True,
1805 'dynamic_refresh': True, 1833 'dynamic_refresh': True,
1806 'per_profile': True, 1834 'per_profile': True,
1807 }, 1835 },
1808 'deprecated': True, 1836 'deprecated': True,
(...skipping 8053 matching lines...) Expand 10 before | Expand all | Expand 10 after
9862 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9890 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9863 'text': 'Default Settings (users can override)', 9891 'text': 'Default Settings (users can override)',
9864 }, 9892 },
9865 'doc_complex_policies_on_windows': { 9893 'doc_complex_policies_on_windows': {
9866 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9894 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9867 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 9895 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
9868 }, 9896 },
9869 }, 9897 },
9870 'placeholders': [], 9898 'placeholders': [],
9871 } 9899 }
OLDNEW
« no previous file with comments | « components/policy/core/common/policy_loader_win.cc ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698