# Ensure auditd service is enabled (Automated)

- Source: https://support.icompaas.com/support/solutions/articles/62000235488-ensure-auditd-service-is-enabled-automated-
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS Amazon Linux 2 Benchmark v3.0.0](https://support.icompaas.com/support/solutions/62000112696) › [CIS Amazon Linux 2 Benchmarks](https://support.icompaas.com/support/solutions/folders/62000169265)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

### **Profile Applicability:**

Level 1

### **Description:**

The `auditd` service is responsible for writing audit records to disk. If this service is not enabled, audit events will not be logged, making it difficult to detect unauthorized or suspicious activity. Enabling the `auditd` service ensures that audit logs are persistently captured from system startup.

### **Rationale:**

Running the audit daemon ensures that access and authorization events are recorded, which is crucial for incident detection, investigation, and meeting regulatory compliance requirements.

### **Impact:**

**Pros:**  
Ensures persistent audit logging across reboots  
Supports forensic investigation and incident response  
Fulfills compliance requirements (e.g., ISO 27001, SOC 2, HIPAA)

**Cons:**  
Minor performance impact due to logging operations

### **Default Value:**

The `auditd` package may be installed by default, but the service is not always enabled unless configured explicitly.

### **Pre-requisites:**

-   `auditd` must be installed
    
-   Root or `sudo` access is required
    

### **Test Plan:**

**Using Linux Command Line:**

1.  Check if `auditd` is enabled:
    

```bash
systemctl is-enabled auditd
```

2.  Check if the service is running:
    

```bash
systemctl status auditd
```

### **Implementation Plan:**

**Using Linux Command Line:**

1.  Enable the `auditd` service:
    

```bash
systemctl enable auditd
```

2.  Start the `auditd` service:
    

```bash
systemctl start auditd
```

### **Backout Plan:**

**Using Linux Command Line:**

1.  Stop the `auditd` service:
    

```bash
systemctl stop auditd
```

2.  Disable the `auditd` service:
    

```bash
systemctl disable auditd
```

### **References:**

CIS Amazon Linux 2 Benchmark v3.0.0  
Auditd Service Configuration Guide  
NIST SP 800-53 Revision 5 - AU-3

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
