Skip to content

Commit

Permalink
Merge pull request #12702 from ericeberry/u2404_211
Browse files Browse the repository at this point in the history
Ubuntu 24.04 2.1.1 Ensure autofs services are not in use
  • Loading branch information
dodys authored Dec 11, 2024
2 parents fa6029b + 407e485 commit c1cb8ef
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
1 change: 1 addition & 0 deletions components/autofs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ packages:
- autofs
rules:
- service_autofs_disabled
- package_autofs_removed
8 changes: 4 additions & 4 deletions controls/cis_ubuntu2404.yml
Original file line number Diff line number Diff line change
Expand Up @@ -663,11 +663,11 @@ controls:
levels:
- l1_server
- l2_workstation
related_rules:
rules:
- service_autofs_disabled
status: planned
notes: TODO. Partial/incorrect implementation exists.See related rules. Analogous to ubuntu2204/1.1.9.

- package_autofs_removed
status: automated
- id: 2.1.2
title: Ensure avahi daemon services are not in use (Automated)
levels:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
documentation_complete: true

title: 'Remove autofs Package'

description: |-
autofs allows automatic mounting of devices, typically including CD/DVDs and USB
drives.
{{{ describe_package_remove(package="autofs") }}}
rationale: |-
With automounting enabled anyone with physical access could attach a USB drive or
disc and have its contents available in the filesystem even if they lacked permissions to
mount it themselves.
severity: low

ocil: '{{{ describe_package_remove(package="autofs") }}}'

template:
name: package_removed
vars:
pkgname: autofs

0 comments on commit c1cb8ef

Please sign in to comment.