]> git.p6c8.net - policy-templates.git/blob - linux/policies.json
7a2957bbb1a3faf98ca1996b403e94c544501539
[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 "Locked": true | false,
60 "Behavior": "accept" | "reject-foreign" | "reject" | "limit-foreign" | "reject-tracker" | "reject-tracker-and-partition-foreign",
61 "BehaviorPrivateBrowsing": "accept" | "reject-foreign" | "reject" | "limit-foreign" | "reject-tracker" | "reject-tracker-and-partition-foreign",
62 },
63 "DefaultDownloadDirectory": "${home}/Downloads",
64 "DisableBuiltinPDFViewer": true | false,
65 "DisabledCiphers": {
66 "CIPHER_NAME": true | false,
67 },
68 "DisableDeveloperTools": true | false,
69 "DisableEncryptedClientHello": true | false,
70 "DisableFeedbackCommands": true | false,
71 "DisableFirefoxAccounts": true | false,
72 "DisableFirefoxScreenshots": true | false,
73 "DisableFirefoxStudies": true | false,
74 "DisableForgetButton": true | false,
75 "DisableFormHistory": true | false,
76 "DisableMasterPasswordCreation": true | false,
77 "DisablePasswordReveal": true | false,
78 "DisablePocket": true | false,
79 "DisablePrivateBrowsing": true | false,
80 "DisableProfileImport": true | false,
81 "DisableProfileRefresh": true | false,
82 "DisableSafeMode": true | false,
83 "DisableSecurityBypass": {
84 "InvalidCertificate": true | false,
85 "SafeBrowsing": true | false
86 },
87 "DisableSetDesktopBackground": true | false,
88 "DisableSystemAddonUpdate": true | false,
89 "DisableTelemetry": true | false,
90 "DisplayBookmarksToolbar": "always" | "never" | "newtab",
91 "DisplayMenuBar": "always", "never", "default-on", "default-off",
92 "DNSOverHTTPS": {
93 "Enabled": true | false,
94 "ProviderURL": "URL_TO_ALTERNATE_PROVIDER",
95 "Locked": true | false,
96 "ExcludedDomains": ["example.com"]
97 },
98 "DontCheckDefaultBrowser": true | false,
99 "DownloadDirectory": "${home}/Downloads",
100 "EnableTrackingProtection": {
101 "Value": true | false,
102 "Locked": true | false,
103 "Cryptomining": true | false,
104 "Fingerprinting": true | false,
105 "EmailTracking": true | false,
106 "Exceptions": ["https://example.com"]
107 },
108 "EncryptedMediaExtensions": {
109 "Enabled": true | false,
110 "Locked": true | false
111 },
112 "ExemptDomainFileTypePairsFromFileTypeDownloadWarnings": [{
113 "file_extension": "jnlp",
114 "domains": ["example.com"]
115 }],
116 "Extensions": {
117 "Install": ["https://addons.mozilla.org/firefox/downloads/somefile.xpi", "//path/to/xpi"],
118 "Uninstall": ["bad_addon_id@mozilla.org"],
119 "Locked": ["addon_id@mozilla.org"]
120 },
121 "ExtensionSettings": {
122 "*": {
123 "blocked_install_message": "Custom error message.",
124 "install_sources": ["https://yourwebsite.com/*"],
125 "installation_mode": "blocked",
126 "allowed_types": ["extension"]
127 },
128 "uBlock0@raymondhill.net": {
129 "installation_mode": "force_installed",
130 "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
131 },
132 "https-everywhere@eff.org": {
133 "installation_mode": "allowed"
134 }
135 },
136 "ExtensionUpdate": true | false,
137 "FirefoxHome": {
138 "Search": true | false,
139 "TopSites": true | false,
140 "SponsoredTopSites": true | false,
141 "Highlights": true | false,
142 "Pocket": true | false,
143 "SponsoredPocket": true | false,
144 "Snippets": true | false,
145 "Locked": true | false
146 },
147 "FirefoxSuggest": {
148 "WebSuggestions": true | false,
149 "SponsoredSuggestions": true | false,
150 "ImproveSuggest": true | false,
151 "Locked": true | false
152 },
153 "GoToIntranetSiteForSingleWordEntryInAddressBar": true | false,
154 "Handlers": {
155 "mimeTypes": {
156 "application/msword": {
157 "action": "useSystemDefault",
158 "ask": false
159 }
160 },
161 "schemes": {
162 "mailto": {
163 "action": "useHelperApp",
164 "ask": true | false,
165 "handlers": [{
166 "name": "Gmail",
167 "uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&url=%s"
168 }]
169 }
170 },
171 "extensions": {
172 "pdf": {
173 "action": "useHelperApp",
174 "ask": true | false,
175 "handlers": [{
176 "name": "Adobe Acrobat",
177 "path": "/usr/bin/acroread"
178 }]
179 }
180 }
181 },
182 "HardwareAcceleration": true | false,
183 "Homepage": {
184 "URL": "http://example.com/",
185 "Locked": true | false,
186 "Additional": ["http://example.org/",
187 "http://example.edu/"],
188 "StartPage": "none" | "homepage" | "previous-session" | "homepage-locked"
189 },
190 "HttpAllowlist": ["http://example.org",
191 "http://example.edu"],
192 "HttpsOnlyMode": "allowed" | "disallowed" | "enabled" | "force_enabled",
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 "PostQuantumKeyAgreementEnabled": true | false,
279 "Preferences": {
280 "accessibility.force_disabled": {
281 "Value": 1,
282 "Status": "default"
283 },
284 "browser.cache.disk.parent_directory": {
285 "Value": "SOME_NATIVE_PATH",
286 "Status": "user"
287 },
288 "browser.tabs.warnOnClose": {
289 "Value": false,
290 "Status": "locked"
291 }
292 },
293 "PrimaryPassword": true | false,
294 "PrintingEnabled": true | false,
295 "PrivateBrowsingModeAvailability": 0 | 1 | 2,
296 "PromptForDownloadLocation": true | false,
297 "Proxy": {
298 "Mode": "none" | "system" | "manual" | "autoDetect" | "autoConfig",
299 "Locked": true | false,
300 "HTTPProxy": "hostname",
301 "UseHTTPProxyForAllProtocols": true | false,
302 "SSLProxy": "hostname",
303 "FTPProxy": "hostname",
304 "SOCKSProxy": "hostname",
305 "SOCKSVersion": 4 | 5,
306 "Passthrough": "<local>",
307 "AutoConfigURL": "URL_TO_AUTOCONFIG",
308 "AutoLogin": true | false,
309 "UseProxyForDNS": true | false
310 },
311 "RequestedLocales": "de,en-US",
312 "SanitizeOnShutdown": {
313 "Cache": true | false,
314 "Cookies": true | false,
315 "Downloads": true | false,
316 "FormData": true | false,
317 "History": true | false,
318 "Sessions": true | false,
319 "SiteSettings": true | false,
320 "OfflineApps": true | false,
321 "Locked": true | false
322 },
323 "SearchEngines": {
324 "Add": [
325 {
326 "Name": "Example1",
327 "URLTemplate": "https://www.example.org/q={searchTerms}",
328 "Method": "GET" | "POST",
329 "IconURL": "https://www.example.org/favicon.ico",
330 "Alias": "example",
331 "Description": "Description",
332 "PostData": "name=value&q={searchTerms}",
333 "SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}"
334 }
335 ],
336 "Default": "NAME_OF_SEARCH_ENGINE",
337 "PreventInstalls": true | false,
338 "Remove": ["NAME_OF_SEARCH_ENGINE"]
339 },
340 "SearchSuggestEnabled": true | false,
341 "SecurityDevices": {
342 "NAME_OF_DEVICE": "PATH_TO_LIBRARY_FOR_DEVICE"
343 },
344 "ShowHomeButton": true | false,
345 "SSLVersionMax": "tls1" | "tls1.1" | "tls1.2" | "tls1.3",
346 "SSLVersionMin": "tls1" | "tls1.1" | "tls1.2" | "tls1.3",
347 "SupportMenu": {
348 "Title": "Support Menu",
349 "URL": "http://example.com/support",
350 "AccessKey": "S"
351 },
352 "StartDownloadsInTempDirectory": true | false,
353 "TranslateEnabled": true | false,
354 "UserMessaging": {
355 "ExtensionRecommendations": true | false,
356 "FeatureRecommendations": true | false,
357 "UrlbarInterventions": true | false,
358 "SkipOnboarding": true | false,
359 "MoreFromMozilla": true | false,
360 "Locked": true | false
361 },
362 "UseSystemPrintDialog": true | false.,
363 "WebsiteFilter": {
364 "Block": ["<all_urls>"],
365 "Exceptions": ["http://example.org/*"]
366 }
367 }
368 }

patrick-canterino.de