iac

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package iac reads the infrastructure templates a repository ships for deploying its MCP server (Bicep, ARM JSON, Terraform) and reports database and administrator secrets that the template fixes: a password written as a literal, a parameter or variable whose default is one, or a password computed with a deterministic hash (uniqueString, guid) from deployment values. Each finding is weighed by what the same templates say about network access. Nothing is deployed and no network request is made.

Index

Constants

View Source
const (
	RuleHardcodedSecret   = "iac.hardcoded_secret"
	RulePredictableSecret = "iac.predictable_secret"
)

Rule IDs

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct{}

Analyzer implements analyzer.Analyzer for source and package targets

func (*Analyzer) Analyze

func (*Analyzer) AppliesTo

func (*Analyzer) AppliesTo(kind model.TargetKind) bool

func (*Analyzer) Describe

func (*Analyzer) Describe() analyzer.Description

func (*Analyzer) Name

func (*Analyzer) Name() string

Jump to

Keyboard shortcuts

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