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

patrick-canterino.de