-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ubuntu 24.04 2.2.6 Ensure ftp client is not installed
- Loading branch information
1 parent
f1d163c
commit 1095455
Showing
3 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
name: ftp | ||
packages: | ||
- ftp | ||
- tnftp | ||
rules: | ||
- package_ftp_removed | ||
- package_tnftp_removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
linux_os/guide/services/ftp/package_tnftp_removed/rule.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
documentation_complete: true | ||
|
||
|
||
|
||
title: 'Remove tnftp Package' | ||
|
||
description: |- | ||
tnftp an enhanced FTP client, is the user interface to the Internet standard File | ||
Transfer Protocol. The program allows a user to transfer files to and from a remote | ||
network site. | ||
{{{ describe_package_remove(package="ftp") }}} | ||
rationale: |- | ||
Unless there is a need to run the system using Internet standard File Transfer Protocol | ||
(for example, to allow anonymous downloads), it is recommended that the package be | ||
removed to reduce the potential attack surface. | ||
severity: low | ||
|
||
ocil: '{{{ describe_package_remove(package="tnftp") }}}' | ||
|
||
template: | ||
name: package_removed | ||
vars: | ||
pkgname: tnftp |