]> git.p6c8.net - policy-templates.git/blob - linux/policies.json
Version docs
[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 "GoToIntranetSiteForSingleWordEntryInAddressBar": true | false,
151 "Handlers": {
152 "mimeTypes": {
153 "application/msword": {
154 "action": "useSystemDefault",
155 "ask": false
156 }
157 },
158 "schemes": {
159 "mailto": {
160 "action": "useHelperApp",
161 "ask": true | false,
162 "handlers": [{
163 "name": "Gmail",
164 "uriTemplate": "https://mail.google.com/mail/?extsrc=mailto&url=%s"
165 }]
166 }
167 },
168 "extensions": {
169 "pdf": {
170 "action": "useHelperApp",
171 "ask": true | false,
172 "handlers": [{
173 "name": "Adobe Acrobat",
174 "path": "/usr/bin/acroread"
175 }]
176 }
177 }
178 },
179 "HardwareAcceleration": true | false,
180 "Homepage": {
181 "URL": "http://example.com/",
182 "Locked": true | false,
183 "Additional": ["http://example.org/",
184 "http://example.edu/"],
185 "StartPage": "none" | "homepage" | "previous-session" | "homepage-locked"
186 },
187 "InstallAddonsPermission": {
188 "Allow": ["http://example.org/",
189 "http://example.edu/"],
190 "Default": true | false
191 },
192 "LegacySameSiteCookieBehaviorEnabled": true | false,
193 "LegacySameSiteCookieBehaviorEnabledForDomainList": ["example.org", "example.edu"],
194 "LocalFileLinks": ["http://example.org/", "http://example.edu/"],
195 "ManagedBookmarks": [
196 {
197 "toplevel_name": "My managed bookmarks folder"
198 },
199 {
200 "url": "example.com",
201 "name": "Example"
202 },
203 {
204 "name": "Mozilla links",
205 "children": [
206 {
207 "url": "https://mozilla.org",
208 "name": "Mozilla.org"
209 },
210 {
211 "url": "https://support.mozilla.org/",
212 "name": "SUMO"
213 }
214 ]
215 }
216 ],
217 "NetworkPrediction": true | false,
218 "NewTabPage": true | false,
219 "NoDefaultBookmarks": true | false,
220 "OfferToSaveLogins": true | false,
221 "OfferToSaveLoginsDefault": true | false,
222 "OverrideFirstRunPage": "http://example.org".
223 "OverridePostUpdatePage": "http://example.org",
224 "PasswordManagerEnabled": true | false,
225 "PasswordManagerExceptions": ["https://example.org", "https://example.edu"],
226 "PDFjs": {
227 "Enabled": true | false,
228 "EnablePermissions": true | false
229 },
230 "Permissions": {
231 "Camera": {
232 "Allow": ["https://example.org","https://example.org:1234"],
233 "Block": ["https://example.edu"],
234 "BlockNewRequests": true | false,
235 "Locked": true | false
236 },
237 "Microphone": {
238 "Allow": ["https://example.org"],
239 "Block": ["https://example.edu"],
240 "BlockNewRequests": true | false,
241 "Locked": true | false
242 },
243 "Location": {
244 "Allow": ["https://example.org"],
245 "Block": ["https://example.edu"],
246 "BlockNewRequests": true | false,
247 "Locked": true | false
248 },
249 "Notifications": {
250 "Allow": ["https://example.org"],
251 "Block": ["https://example.edu"],
252 "BlockNewRequests": true | false,
253 "Locked": true | false
254 },
255 "Autoplay": {
256 "Allow": ["https://example.org"],
257 "Block": ["https://example.edu"],
258 "Default": "allow-audio-video" | "block-audio" | "block-audio-video",
259 "Locked": true | false
260 }
261 },
262 "PictureInPicture": {
263 "Enabled": true | false,
264 "Locked": true | false
265 },
266 "PopupBlocking": {
267 "Allow": ["http://example.org/",
268 "http://example.edu/"],
269 "Default": true | false,
270 "Locked": true | false
271 },
272 "Preferences": {
273 "accessibility.force_disabled": {
274 "Value": 1,
275 "Status": "default"
276 },
277 "browser.cache.disk.parent_directory": {
278 "Value": "SOME_NATIVE_PATH",
279 "Status": "user"
280 },
281 "browser.tabs.warnOnClose": {
282 "Value": false,
283 "Status": "locked"
284 }
285 },
286 "PrimaryPassword": true | false,
287 "PromptForDownloadLocation": true | false,
288 "Proxy": {
289 "Mode": "none" | "system" | "manual" | "autoDetect" | "autoConfig",
290 "Locked": true | false,
291 "HTTPProxy": "hostname",
292 "UseHTTPProxyForAllProtocols": true | false,
293 "SSLProxy": "hostname",
294 "FTPProxy": "hostname",
295 "SOCKSProxy": "hostname",
296 "SOCKSVersion": 4 | 5,
297 "Passthrough": "<local>",
298 "AutoConfigURL": "URL_TO_AUTOCONFIG",
299 "AutoLogin": true | false,
300 "UseProxyForDNS": true | false
301 },
302 "RequestedLocales": "de,en-US",
303 "SanitizeOnShutdown": {
304 "Cache": true | false,
305 "Cookies": true | false,
306 "Downloads": true | false,
307 "FormData": true | false,
308 "History": true | false,
309 "Sessions": true | false,
310 "SiteSettings": true | false,
311 "OfflineApps": true | false,
312 "Locked": true | false
313 },
314 "SearchEngines": {
315 "Add": [
316 {
317 "Name": "Example1",
318 "URLTemplate": "https://www.example.org/q={searchTerms}",
319 "Method": "GET" | "POST",
320 "IconURL": "https://www.example.org/favicon.ico",
321 "Alias": "example",
322 "Description": "Description",
323 "PostData": "name=value&q={searchTerms}",
324 "SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}"
325 }
326 ],
327 "Default": "NAME_OF_SEARCH_ENGINE",
328 "PreventInstalls": true | false,
329 "Remove": ["NAME_OF_SEARCH_ENGINE"]
330 },
331 "SearchSuggestEnabled": true | false,
332 "SecurityDevices": {
333 "NAME_OF_DEVICE": "PATH_TO_LIBRARY_FOR_DEVICE"
334 },
335 "ShowHomeButton": true | false,
336 "SSLVersionMax": "tls1" | "tls1.1" | "tls1.2" | "tls1.3",
337 "SSLVersionMin": "tls1" | "tls1.1" | "tls1.2" | "tls1.3",
338 "SupportMenu": {
339 "Title": "Support Menu",
340 "URL": "http://example.com/support",
341 "AccessKey": "S"
342 },
343 "StartDownloadsInTempDirectory": true | false,
344 "UserMessaging": {
345 "WhatsNew": true | false,
346 "ExtensionRecommendations": true | false,
347 "FeatureRecommendations": true | false,
348 "UrlbarInterventions": true | false,
349 "SkipOnboarding": true | false,
350 "MoreFromMozilla": true | false
351 },
352 "UseSystemPrintDialog": true | false.,
353 "WebsiteFilter": {
354 "Block": ["<all_urls>"],
355 "Exceptions": ["http://example.org/*"]
356 }
357 }
358 }

patrick-canterino.de