Ensure username is set
Description
This policy checks whether a username is set for a Linode user. Setting a username is important for security and accountability, as it allows for the identification and tracking of user actions. Without a username, it may be difficult to determine who performed certain actions, which can hinder security audits and incident response. By ensuring that a username is set, this rule helps to promote security best practices and facilitate the management of user access.
Code Example
terraform
resource "linode_user" "example" {
username = "exampleuser"
}Remediation
Set a username for the Linode user.
Rule Details
| Field | Value |
|---|---|
| ID | IAC-1201 |
| Severity | MEDIUM |
| IaC Type | Terraform |
| Frameworks | linode_user |
| Checkov ID | CKV_LIN_4 |