Skip to content

Check for automountServiceAccountToken #263

@MrKrabat

Description

@MrKrabat

Is your feature request related to a problem? Please describe.
Kubernetes automatically mounts serviceaccount tokens into running pods. You can use this token to authenticate to the Kubernetes API. It is considered good practice to disable this behavior. 99% of all applications will not use this token anyway.

Describe the solution you'd like
Kubesec should include a check for automountServiceAccountToken and recommend setting it to false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions