dockerfile

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package dockerfile lints Dockerfiles in a target's source tree for common security misconfigurations: running as root, unpinned base images, remote ADD, and secrets baked into ENV/ARG. It reads files only — passive, no network, no container is built or run.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lint

type Lint struct{}

Lint flags Dockerfile security misconfigurations.

func (Lint) Category

func (Lint) Category() core.Category

func (Lint) Description

func (Lint) Description() string

func (Lint) ID

func (Lint) ID() string

func (Lint) Mode

func (Lint) Mode() core.Mode

func (Lint) OWASP

func (Lint) OWASP() []string

func (Lint) Run

func (Lint) Run(_ context.Context, t core.Target) ([]core.Finding, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL