Help us shape the future of Go! Take the 2026 Go Developer Survey

constants

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SettingsKindMarkdownDoc = `` /* 3257-byte string literal not displayed */

	SettingsConfig                        = "Configuration settings for the connector's secrets"
	SettingsConfigRoleArn                 = "The Amazon Resource Name (ARN) of the role that the caller is assuming."
	SettingsConfigExternalId              = `` /* 190-byte string literal not displayed */
	SettingsConfigDurationSeconds         = "The duration, in seconds, of the role session. Default is 3600 seconds (1 hour)."
	SettingsConfigInstallationId          = "The installation ID for GitHub applications."
	SettingsConfigGithubAppId             = "The application ID for the GitHub app."
	SettingsConfigGithubAppWebhookSecret  = "Webhook secret for the GitHub app."
	SettingsConfigGithubApiUrl            = "Base URL for the GitHub API."
	SettingsConfigGithubHttpUrl           = "HTTP URL for accessing the GitHub repository."
	SettingsConfigGithubAppClientId       = "Client ID for the GitHub app."
	SettingsConfigGithubAppClientSecret   = "Client secret for the GitHub app."
	SettingsConfigGithubAppPemFileContent = "Content of the PEM file for the GitHub app."
	SettingsConfigGithubAppWebhookUrl     = "Webhook URL for the GitHub app."
	SettingsConfigGitlabCreds             = "Credentials for GitLab integration."
	SettingsConfigGitlabHttpUrl           = "HTTP URL for accessing the GitLab repository."
	SettingsConfigGitlabApiUrl            = "Base URL for the GitLab API."
	SettingsConfigAzureCreds              = "Credentials for Azure integration."
	SettingsConfigAzureDevopsHttpUrl      = "HTTP URL for accessing Azure DevOps services."
	SettingsConfigAzureDevopsApiUrl       = "Base URL for Azure DevOps API."
	SettingsConfigBitbucketCreds          = "Credentials for Bitbucket integration."
	SettingsConfigAwsAccessKeyId          = "AWS access key ID for authentication."
	SettingsConfigAwsSecretAccessKey      = "AWS secret access key for authentication."
	SettingsConfigAwsDefaultRegion        = "Default AWS region for resource operations."
	SettingsConfigArmTenantId             = "Azure Resource Manager tenant ID."
	SettingsConfigArmSubscriptionId       = "Azure Resource Manager subscription ID."
	SettingsConfigArmClientId             = "Client ID for Azure Resource Manager."
	SettingsConfigArmClientSecret         = "Client secret for Azure Resource Manager."
	SettingsConfigGcpConfigFileContent    = "Content of the GCP configuration file."

	DiscoverySettings                      = "Settings for discovery insights related to the connector."
	DiscoverySettingsBenchmarks            = "Statistics for various StackGuardian resources."
	DiscoverySettingsBenchmarksChecks      = "List of checks performed during discovery."
	DiscoverySettingsBenchmarksDescription = "A description of the benchmark. It must be less than 256 characters."
	DiscoverySettingsBenchmarksLabel       = "Label associated with the discovery."

	DiscoverySettingsBenchmarksRuntimeSource                     = "Source configuration type and settings definition"
	DiscoverySettingsBenchmarksRuntimeSourceSourceConfigDestKind = "Kind of the source configuration destination. Valid examples include eg:- AWS_RBAC, AZURE_STATIC."

	DiscoverySettingsBenchmarksRuntimeSourceConfig                 = "Specific configuration settings for runtime source."
	DiscoverySettingsBenchmarksRuntimeSourceConfigIncludeSubModule = "Indicates whether to include sub-modules."
	DiscoverySettingsBenchmarksRuntimeSourceConfigRef              = "Reference identifier for the repository."
	DiscoverySettingsBenchmarksRuntimeSourceConfigGitCoreAutoCRLF  = "Indicates if core.autocrlf should be enabled."
	DiscoverySettingsBenchmarksRuntimeSourceConfigAuth             = "Authentication method for accessing the repository."
	DiscoverySettingsBenchmarksRuntimeSourceConfigWorkingDir       = "Working directory for operations."
	DiscoverySettingsBenchmarksRuntimeSourceConfigRepo             = "Repository name or URL."
	DiscoverySettingsBenchmarksRuntimeSourceConfigIsPrivate        = "Indicates if the repository is private."

	DiscoverySettingsBenchmarksSummaryDescription = "A brief summary of the discovery."
	DiscoverySettingsBenchmarksSummaryTitle       = "Title for the discovery summary."
	DiscoverySettingsBenchmarksDiscoveryInterval  = "Interval for the discovery process."
	DiscoverySettingsBenchmarksIsCustomCheck      = "Indicates if the discovery is a custom check."
	DiscoverySettingsBenchmarksActive             = "Indicates if the discovery is active."

	DiscoverySettingsBenchmarksRegions       = "Regions associated with the discovery."
	DiscoverySettingsBenchmarksRegionsEmails = "List of emails to notify about the discovery."
)

Connector

View Source
const (
	AllowedPermissions      = "A map of permissions assigned to the role."
	AllowedPermissionsName  = "The name of the permission."
	AllowedPermissionsPaths = "A map of resource paths to which this permission is scoped."
)

Role

View Source
const (
	UserId     = "" /* 236-byte string literal not displayed */
	EntityType = `` /* 163-byte string literal not displayed */

	Role = "StackGuardian role name."
)

Role Assignment

View Source
const (
	Approvers                 = "List of stackguardian users"
	NumberOfApprovalsRequired = "Number of approvals required for a policy check to pass"
	EnforcedOn                = "List of Resource path on which this policy is to be applied on"
	PolicyType                = "Type of policy created \"GENERAL\" or \"FILTER.INSIGHT\""

	PolicyConfig       = "Policy configuration"
	PolicyConfigSkip   = "Enable or disable the policy check"
	PolicyConfigOnFail = `` /* 355-byte string literal not displayed */

	PolicyConfigOnPass = `` /* 352-byte string literal not displayed */

	PolicyConfigInputData           = "Policy definition"
	PolicyConfigInputDataSchemaType = `` /* 356-byte string literal not displayed */

	PolicyConfigInputDataData = "Policy body"

	PolicyVCSConfig                    = "Configuration to import policy from version control"
	PolicyVCSConfigMarketplaceTemplate = "Name of the template from marketplace"
	PolicyVCSConfigTemplateId          = "ID of the template from marketplace"

	PolicyVCSConfigCustomSource                     = DiscoverySettingsBenchmarksRuntimeSource
	PolicyVCSConfigCustomSourceSourceConfigDestKind = DiscoverySettingsBenchmarksRuntimeSourceSourceConfigDestKind
	PolicyVCSConfigCustomSourceSourceConfigKind     = `` /* 187-byte string literal not displayed */

	PolicyVCSConfigCustomSourceConfig                  = DiscoverySettingsBenchmarksRuntimeSourceConfig
	PolicyVCSConfigCustomSourceRef                     = DiscoverySettingsBenchmarksRuntimeSourceConfigRef
	PolicyVCSConfigCustomSourceGitCoreAutoCRLF         = DiscoverySettingsBenchmarksRuntimeSourceConfigGitCoreAutoCRLF
	PolicyVCSConfigCustomSourceGitSparseCheckoutConfig = "Configuration for git sparse checkout"
	PolicyVCSConfigCustomSourceAuth                    = DiscoverySettingsBenchmarksRuntimeSourceConfigAuth
	PolicyVCSConfigCustomSourceWorkingDir              = DiscoverySettingsBenchmarksRuntimeSourceConfigWorkingDir
	PolicyVCSConfigCustomSourceRepo                    = DiscoverySettingsBenchmarksRuntimeSourceConfigRepo
	PolicyVCSConfigCustomSourceIsPrivate               = DiscoverySettingsBenchmarksRuntimeSourceConfigIsPrivate

	PolicyVCSConfigAdditionalConfig = "Additional configuration for the policy"
)

Policy

View Source
const (
	RunnerToken            = "Private token of the runner group"
	MaxNumberOfRunners     = "Maximum number of runners allowed in a runner group"
	DockerImage            = "Docker image to used to execute workflows"
	DockerRegistryUsername = "Username for docker register"
)

Runner Group

View Source
const (
	ResourceName         = "The name of the %s. Must be less than 100 characters. Allowed characters are ^[a-zA-Z0-9_]+$"
	Description          = "A brief description of the %s. Must be less than 256 characters."
	Tags                 = "A list of tags associated with the %s. A maximum of 10 tags are allowed."
	StorageBackendConfig = "Configuration for storing runner logs"
	RunnerGroupType      = `` /* 185-byte string literal not displayed */

	AzureBlobStorageAccountName = "Account of your azure blob storage"
	AzureBlobStorageAccessKey   = "Access key for you blob storage account"
	S3BucketName                = "S3 buckget name"
	AWSRegion                   = "AWS region where the bucket is placed"
	Auth                        = "Authentication required by the runner to access the backend storage. Required only for type \"aws_s3\""
	IntegrationId               = "SG Connector Id. Required only for type \"aws_s3\" eg: /integrations/test-connector"
)

Common

View Source
const (
	StackguardianStack         = "Stackguardian stack name"
	StackguardianWorkflow      = "Stackguardian workflow name"
	StackguardianWorkflowGroup = "Stackguardian workflow group name"
	DataSourceDataJson         = "Raw JSON body"
	DataSourceData             = "Map of k/v pairs with value as JSON string"
)

Common

Variables

This section is empty.

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