Skip to content

Commit

Permalink
Ubuntu 24.04 2.1.1 Ensure autofs services are not in use
Browse files Browse the repository at this point in the history
  • Loading branch information
ericeberry committed Dec 11, 2024
1 parent f1d163c commit 407e485
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 @@ -662,11 +662,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 407e485

Please sign in to comment.