Uninstall squid Package
An XCCDF Rule
Description
The squid
package can be removed with the following command:
$ sudo dnf erase squid
Rationale
If there is no need to make the proxy server software available, removing it provides a safeguard against its activation.
- ID
- xccdf_org.ssgproject.content_rule_package_squid_removed
- Severity
- Unknown
- Updated
Remediation - Puppet
include remove_squid
class remove_squid {
package { 'squid':
ensure => 'purged',
}
Remediation - Shell Script
# CAUTION: This remediation script will remove squid
# from the system, and may remove any packages
# that depend on squid. Execute this
# remediation AFTER testing on a non-production
# system!
Remediation - Anaconda Pre-Install Instructions
package --remove=squid
Remediation - Ansible
- name: Ensure squid is removed
package:
name: squid
state: absent
tags:
- disable_strategy