internal

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDefaultAppEngineSA added in v1.6.0

func IsDefaultAppEngineSA(sa string, project string) bool

func IsDefaultComputeEngineSA added in v1.6.0

func IsDefaultComputeEngineSA(sa string) bool

The default Compute Engine service account is always [email protected]

func MayBeSensitive added in v1.6.0

func MayBeSensitive(name string, value string) bool

Check if a variable name or value may be sensitive name: check the presence of a keyword in the name (case insensitive) value: check the presence of a private key pattern

Types

type GCPAccount

type GCPAccount struct {
	Project        string   `yaml:"project"`        // Name of the account in the reports
	ComputeRegions []string `yaml:"computeRegions"` // List of regions to make Compute API calls
}

Jump to

Keyboard shortcuts

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