iacfiles

package
v0.0.0-...-8caed39 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: OSL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package iacfiles embeds federation IaC templates into the binary. Templates are rendered by handler_federation.go with per-account substitutions.

Security note: the templates use text/template, which performs no shell escaping. Fields such as ContactEmail, AccountName, CUDlyAPIURL, and AccountSlug originate partly from self-service registration payloads (user- controlled) and are interpolated directly into generated bash scripts. The renderer (internal/api/handler_federation.go) is responsible for validating and/or quoting these fields before calling template.Execute so that a value containing shell metacharacters (e.g. "; curl evil;") cannot inject commands into the script shown to the operator.

Index

Constants

This section is empty.

Variables

View Source
var Templates embed.FS

Templates holds all federation IaC template files.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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