terraform

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 11 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

func GenerateSubstrings

func GenerateSubstrings(
	ctx context.Context,
	key string,
	extracted [][]string,
	lines []string,
	currentLine int,
	fileOriginalData []byte,
) (string, string, int)

nolint:gocyclo,gocritic

Types

type DetectKindLine

type DetectKindLine struct{}

func (DetectKindLine) DetectLine

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

DetectLine searches vulnerability line in terraform files

Jump to

Keyboard shortcuts

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