]> git.p6c8.net - policy-templates.git/blob - linux/policies.json
XML Cleanup
[policy-templates.git] / linux / policies.json
1 {
2 "policies": {
3 "AllowedDomainsForApps": "managedfirefox.com,example.com",
4 "AppAutoUpdate": true | false,
5 "AppUpdatePin": "106.",
6 "AppUpdateURL": "https://yoursite.com",
7 "Authentication": {
8 "SPNEGO": ["mydomain.com", "https://myotherdomain.com"],
9 "Delegated": ["mydomain.com", "https://myotherdomain.com"],
10 "NTLM": ["mydomain.com", "https://myotherdomain.com"],
11 "AllowNonFQDN": {
12 "SPNEGO": true | false,
13 "NTLM": true | false
14 },
15 "AllowProxies": {
16 "SPNEGO": true | false,
17 "NTLM": true | false
18 },
19 "Locked": true | false,
20 "PrivateBrowsing": true | false
21 },
22 "AutoLaunchProtocolsFromOrigins": [{
23 "protocol": "zoommtg",
24 "allowed_origins": [
25 "https://somesite.zoom.us"
26 ]
27 }],
28 "BackgroundAppUpdate": true | false,
29 "BlockAboutAddons": true | false,
30 "BlockAboutConfig": true | false,
31 "BlockAboutProfiles": true | false,
32 "BlockAboutSupport": true | false,
33 "Bookmarks": [
34 {
35 "Title": "Example",
36 "URL": "https://example.com",
37 "Favicon": "https://example.com/favicon.ico",
38 "Placement": "toolbar" | "menu",
39 "Folder": "FolderName"
40 }
41 ],
42 "CaptivePortal": true | false,
43 "Certificates": {
44 "Install": ["cert1.der", "/home/username/cert2.pem"],
45 },
46 "Containers": {
47 "Default": [
48 {
49 "name": "My container",
50 "icon": "pet",
51 "color": "turquoise"
52 }
53 ]
54 },
55 "Cookies": {
56 "Allow": ["http://example.org/"],
57 "AllowSession": ["http://example.edu/"],
58 "Block": ["http://example.edu/"],
59 "Default": true | false,
60 "AcceptThirdParty": "always" | "never" | "from-visited",
61 "ExpireAtSessionEnd": true | false,
62 "RejectTracker": true | false,
63 "Locked": true | false,
64 "Behavior": "accept" | "reject-foreign" | "reject" | "limit-foreign" | "reject-tracker" | "reject-tracker-and-partition-foreign",
65 "BehaviorPrivateBrowsing": "accept" | "reject-foreign" | "reject" | "limit-foreign" | "reject-tracker" | "reject-tracker-and-partition-foreign",
66 },
67 "DefaultDownloadDirectory": "${home}/Downloads",
68 "DisableBuiltinPDFViewer": true | false,
69 "DisabledCiphers": {
70 "CIPHER_NAME": true | false,
71 },
72 "DisableDeveloperTools": true | false,
73 "DisableFeedbackCommands": true | false,
74 "DisableFirefoxAccounts": true | false,
75 "DisableFirefoxScreenshots": true | false,
76 "DisableFirefoxStudies": true | false,
77 "DisableForgetButton": true | false,
78 "DisableFormHistory": true | false,
79 "DisableMasterPasswordCreation": true | false,
80 "DisablePasswordReveal": true | false,
81 "DisablePocket": true | false,
82 "DisablePrivateBrowsing": true | false,
83 "DisableProfileImport": true | false,
84 "DisableProfileRefresh": true | false,
85 "DisableSafeMode": true | false,
86 "DisableSecurityBypass": {
87 "InvalidCertificate": true | false,
88 "SafeBrowsing": true | false
89 },
90 "DisableSetDesktopBackground": true | false,
91 "DisableSystemAddonUpdate": true | false,
92 "DisableTelemetry": true | false,
93 "DisplayBookmarksToolbar": "always" | "never" | "newtab",
94 "DisplayMenuBar": "always", "never", "default-on", "default-off",
95 "DNSOverHTTPS": {
96 "Enabled": true | false,
97 "ProviderURL": "URL_TO_ALTERNATE_PROVIDER",
98 "Locked": true | false,
99 "ExcludedDomains": ["example.com"]
100 },
101 "DontCheckDefaultBrowser": true | false,
102 "DownloadDirectory": "${home}/Downloads",
103 "EnableTrackingProtection": {
104 "Value": true | false,
105 "Locked": true | false,
106 "Cryptomining": true | false,
107 "Fingerprinting": true | false,
108 "EmailTracking": true | false,
109 "Exceptions": ["https://example.com"]
110 },
111 "EncryptedMediaExtensions": {
112 "Enabled": true | false,
113 "Locked": true | false
114 },
115 "ExemptDomainFileTypePairsFromFileTypeDownloadWarnings": [{
116 "file_extension": "jnlp",
117 "domains": ["example.com"]
118 }],
119 "Extensions": {
120 "Install": ["https://addons.mozilla.org/firefox/downloads/somefile.xpi", "//path/to/xpi"],
121 "Uninstall": ["bad_addon_id@mozilla.org"],
122 "Locked": ["addon_id@mozilla.org"]
123 },
124 "ExtensionSettings": {
125 "*": {
126 "blocked_install_message": "Custom error message.",
127 "install_sources": ["https://yourwebsite.com/*"],
128 "installation_mode": "blocked",
129 "allowed_types": ["extension"]
130 },
131 "uBlock0@raymondhill.net": {
132 "installation_mode": "force_installed",
133 "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
134 },
135 "https-everywhere@eff.org": {
136 "installation_mode": "allowed"
137 }
138 },
139 "ExtensionUpdate": true | false,
140 "FirefoxHome": {
141 "Search": true | false,
142 "TopSites": true | false,
143 "SponsoredTopSites": true | false,
144 "Highlights": true | false,
145 "Pocket": true | false,
146 "SponsoredPocket": true | false,
147 "Snippets": true | false,
148 "Locked": true | false
149 },
150 "FirefoxSuggest": {
151 "WebSuggestions": true | false,
152 "SponsoredSuggestions": true | false,
153 "ImproveSuggest": true | false,
154 "Locked": true | false
155 },
156 "GoToIntranetSiteForSingleWordEntryInAddressBar": true | false,
157 "Handlers": {
158 "mimeTypes": {
159 "application/msword": {
160 "action": "useSystemDefault",
161 "ask": false
162 }
163 },
164 "schemes": {
165 "mailto": {
166 "action": "useHelperApp",
167 "ask": true | false,
168 "handlers": [{
169 "name": "Gmail",
170 "uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&url=%s"
171 }]
172 }
173 },
174 "extensions": {
175 "pdf": {
176 "action": "useHelperApp",
177 "ask": true | false,
178 "handlers": [{
179 "name": "Adobe Acrobat",
180 "path": "/usr/bin/acroread"
181 }]
182 }
183 }
184 },
185 "HardwareAcceleration": true | false,
186 "Homepage": {
187 "URL": "http://example.com/",
188 "Locked": true | false,
189 "Additional": ["http://example.org/",
190 "http://example.edu/"],
191 "StartPage": "none" | "homepage" | "previous-session" | "homepage-locked"
192 },
193 "InstallAddonsPermission": {
194 "Allow": ["http://example.org/",
195 "http://example.edu/"],
196 "Default": true | false
197 },
198 "LegacySameSiteCookieBehaviorEnabled": true | false,
199 "LegacySameSiteCookieBehaviorEnabledForDomainList": ["example.org", "example.edu"],
200 "LocalFileLinks": ["http://example.org/", "http://example.edu/"],
201 "ManagedBookmarks": [
202 {
203 "toplevel_name": "My managed bookmarks folder"
204 },
205 {
206 "url": "example.com",
207 "name": "Example"
208 },
209 {
210 "name": "Mozilla links",
211 "children": [
212 {
213 "url": "https://mozilla.org",
214 "name": "Mozilla.org"
215 },
216 {
217 "url": "https://support.mozilla.org/",
218 "name": "SUMO"
219 }
220 ]
221 }
222 ],
223 "NetworkPrediction": true | false,
224 "NewTabPage": true | false,
225 "NoDefaultBookmarks": true | false,
226 "OfferToSaveLogins": true | false,
227 "OfferToSaveLoginsDefault": true | false,
228 "OverrideFirstRunPage": "http://example.org".
229 "OverridePostUpdatePage": "http://example.org",
230 "PasswordManagerEnabled": true | false,
231 "PasswordManagerExceptions": ["https://example.org", "https://example.edu"],
232 "PDFjs": {
233 "Enabled": true | false,
234 "EnablePermissions": true | false
235 },
236 "Permissions": {
237 "Camera": {
238 "Allow": ["https://example.org","https://example.org:1234"],
239 "Block": ["https://example.edu"],
240 "BlockNewRequests": true | false,
241 "Locked": true | false
242 },
243 "Microphone": {
244 "Allow": ["https://example.org"],
245 "Block": ["https://example.edu"],
246 "BlockNewRequests": true | false,
247 "Locked": true | false
248 },
249 "Location": {
250 "Allow": ["https://example.org"],
251 "Block": ["https://example.edu"],
252 "BlockNewRequests": true | false,
253 "Locked": true | false
254 },
255 "Notifications": {
256 "Allow": ["https://example.org"],
257 "Block": ["https://example.edu"],
258 "BlockNewRequests": true | false,
259 "Locked": true | false
260 },
261 "Autoplay": {
262 "Allow": ["https://example.org"],
263 "Block": ["https://example.edu"],
264 "Default": "allow-audio-video" | "block-audio" | "block-audio-video",
265 "Locked": true | false
266 }
267 },
268 "PictureInPicture": {
269 "Enabled": true | false,
270 "Locked": true | false
271 },
272 "PopupBlocking": {
273 "Allow": ["http://example.org/",
274 "http://example.edu/"],
275 "Default": true | false,
276 "Locked": true | false
277 },
278 "Preferences": {
279 "accessibility.force_disabled": {
280 "Value": 1,
281 "Status": "default"
282 },
283 "browser.cache.disk.parent_directory": {
284 "Value": "SOME_NATIVE_PATH",
285 "Status": "user"
286 },
287 "browser.tabs.warnOnClose": {
288 "Value": false,
289 "Status": "locked"
290 }
291 },
292 "PrimaryPassword": true | false,
293 "PrintingEnabled": true | false,
294 "PromptForDownloadLocation": true | false,
295 "Proxy": {
296 "Mode": "none" | "system" | "manual" | "autoDetect" | "autoConfig",
297 "Locked": true | false,
298 "HTTPProxy": "hostname",
299 "UseHTTPProxyForAllProtocols": true | false,
300 "SSLProxy": "hostname",
301 "FTPProxy": "hostname",
302 "SOCKSProxy": "hostname",
303 "SOCKSVersion": 4 | 5,
304 "Passthrough": "<local>",
305 "AutoConfigURL": "URL_TO_AUTOCONFIG",
306 "AutoLogin": true | false,
307 "UseProxyForDNS": true | false
308 },
309 "RequestedLocales": "de,en-US",
310 "SanitizeOnShutdown": {
311 "Cache": true | false,
312 "Cookies": true | false,
313 "Downloads": true | false,
314 "FormData": true | false,
315 "History": true | false,
316 "Sessions": true | false,
317 "SiteSettings": true | false,
318 "OfflineApps": true | false,
319 "Locked": true | false
320 },
321 "SearchEngines": {
322 "Add": [
323 {
324 "Name": "Example1",
325 "URLTemplate": "https://www.example.org/q={searchTerms}",
326 "Method": "GET" | "POST",
327 "IconURL": "https://www.example.org/favicon.ico",
328 "Alias": "example",
329 "Description": "Description",
330 "PostData": "name=value&q={searchTerms}",
331 "SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}"
332 }
333 ],
334 "Default": "NAME_OF_SEARCH_ENGINE",
335 "PreventInstalls": true | false,
336 "Remove": ["NAME_OF_SEARCH_ENGINE"]
337 },
338 "SearchSuggestEnabled": true | false,
339 "SecurityDevices": {
340 "NAME_OF_DEVICE": "PATH_TO_LIBRARY_FOR_DEVICE"
341 },
342 "ShowHomeButton": true | false,
343 "SSLVersionMax": "tls1" | "tls1.1" | "tls1.2" | "tls1.3",
344 "SSLVersionMin": "tls1" | "tls1.1" | "tls1.2" | "tls1.3",
345 "SupportMenu": {
346 "Title": "Support Menu",
347 "URL": "http://example.com/support",
348 "AccessKey": "S"
349 },
350 "StartDownloadsInTempDirectory": true | false,
351 "UserMessaging": {
352 "WhatsNew": true | false,
353 "ExtensionRecommendations": true | false,
354 "FeatureRecommendations": true | false,
355 "UrlbarInterventions": true | false,
356 "SkipOnboarding": true | false,
357 "MoreFromMozilla": true | false,
358 "Locked": true | false
359 },
360 "UseSystemPrintDialog": true | false.,
361 "WebsiteFilter": {
362 "Block": ["<all_urls>"],
363 "Exceptions": ["http://example.org/*"]
364 }
365 }
366 }

patrick-canterino.de