uninstall-squid

Ensures the squid package is not installed.

Maintainer

Ole Herman Schumacher Elgesem

Module stats

Total Downloads: 2
Updated: Dec 16, 2022

Installation version

Version
Released on Dec 16, 2022

Tags

Installation

                    
cfbs add uninstall-squid@1.0.0
Description
Dependencies
Discussion

The Squid software is used for proxying and caching requests (HTTP, FTP, DNS, etc.). To reduce attack surface, it is recommended to uninstall squid when it is not needed.

Recommendation: Uninstall Squid by default / where it is not needed, ensuring it won’t be used by malicious attackers. If Squid is needed on some machines, explicitly define what hosts should have it installed.

Example

If you try installing the package and running the agent with this module, you should see it get uninstalled:

$ apt install squid
$ cf-agent -KI
    info: Successfully removed package 'squid'

Adding exceptions

If this package is really needed on some hosts, you can add an exception with the exception_uninstall_squid class. This class can be set within def.json (Augments), from policy, or in the Host specific data section in host info pages inside Mission Portal, the CFEngine Enterprise Web UI.

Dependencies

This module has no dependencies