-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12628 from mpurg/ubuntu2404_cis_2_1_5
Add new rule service_dnsmasq_disabled
- Loading branch information
Showing
4 changed files
with
26 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 |
---|---|---|
|
@@ -18,3 +18,4 @@ rules: | |
- package_bind_removed | ||
- package_dnsmasq_removed | ||
- service_named_disabled | ||
- service_dnsmasq_disabled |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ packages: | |
- dnsmasq | ||
rules: | ||
- package_dnsmasq_removed | ||
- service_dnsmasq_disabled |
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
20 changes: 20 additions & 0 deletions
20
linux_os/guide/services/dns/service_dnsmasq_disabled/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,20 @@ | ||
documentation_complete: true | ||
|
||
title: 'Disable dnsmasq Service' | ||
|
||
description: |- | ||
{{{ describe_service_disable(service="dnsmasq") }}} | ||
rationale: |- | ||
Unless a system is specifically designated to act as a DNS | ||
caching, DNS forwarding and/or DHCP server, it is recommended | ||
that the package be removed to reduce the potential attack surface. | ||
severity: medium | ||
|
||
platform: system_with_kernel | ||
|
||
template: | ||
name: service_disabled | ||
vars: | ||
servicename: dnsmasq |