helm

package
v1.8.0-beta Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * * This product includes software developed at Datadog (https://www.datadoghq.com) Copyright 2024 Datadog, Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetectKindLine

type DetectKindLine struct {
}

DetectKindLine defines a kindDetectLine type

func (DetectKindLine) DetectLine

func (d DetectKindLine) DetectLine(ctx context.Context, file *model.FileMetadata, searchKey string,
	outputLines int) model.VulnerabilityLines

DetectLine is used to detect line on the helm template, it looks only at the keys of the template and will make use of the auxiliary added lines (ex: "# KICS_HELM_ID_")

func (DetectKindLine) DetectLineByPath

func (d DetectKindLine) DetectLineByPath(
	ctx context.Context,
	file *model.FileMetadata,
	path []string,
	outputLines int,
) model.VulnerabilityLines

DetectLineByPath maps a structured finding path back to the Helm template. Rendered YAML array indices have no corresponding template keys, so they are omitted before reusing the Helm-aware key traversal.

Jump to

Keyboard shortcuts

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