Enable the Default Search Provider
An XCCDF Rule
Description
By default users, can change search provider settings. To disable this, setDefaultSearchProviderEnabled
to true
in the Chromium policy file.
Rationale
A default search is performed when the user types text in the omnibox that is not a URL. This should be organizationally defined and not allowed to be changed by a user.
- ID
- xccdf_org.ssgproject.content_rule_chromium_default_search_provider
- Severity
- Unknown
- References
- Updated
Remediation Templates
A Shell Script
if ! grep -q DefaultSearchProviderEnabled /etc/chromium/policies/managed/chrome_stig_policy.json; then
sed -i -e '/{/a \ "'DefaultSearchProviderEnabled'": 'true',' /etc/chromium/policies/managed/chrome_stig_policy.json
else
sed -i -e 's/\"'DefaultSearchProviderEnabled'.*/\"'DefaultSearchProviderEnabled'\": 'true',/g' /etc/chromium/policies/managed/chrome_stig_policy.json
fi