go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/cli/execruntime/env_aws_codebuild.go (about)

     1  // Copyright (c) Mondoo, Inc.
     2  // SPDX-License-Identifier: BUSL-1.1
     3  
     4  package execruntime
     5  
     6  const AWS_CODEBUILD = "codebuild"
     7  
     8  var awscodebuildEnv = &RuntimeEnv{
     9  	Id:        AWS_CODEBUILD,
    10  	Name:      "AWS CodeBuild",
    11  	Prefix:    "CODEBUILD",
    12  	Namespace: "codebuild.aws.amazon.com",
    13  	Identify: []Variable{
    14  		{
    15  			Name: "CODEBUILD_BUILD_ID",
    16  			Desc: "The CodeBuild ID of the build",
    17  		},
    18  	},
    19  	Variables: []Variable{
    20  		{
    21  			Name: "CODEBUILD_BUILD_ID",
    22  			Desc: "The CodeBuild ID of the build (for example, codebuild-demo-project:b1e6661e-e4f2-4156-9ab9-82a19EXAMPLE).",
    23  		},
    24  		{
    25  			Name: "CODEBUILD_BUILD_ARN",
    26  			Desc: "The Amazon Resource Name (ARN) of the build",
    27  		},
    28  		{
    29  			Name: "CODEBUILD_RESOLVED_SOURCE_VERSION",
    30  			Desc: "An identifier for the version of a build's source code.",
    31  		},
    32  		{
    33  			Name: "CODEBUILD_SOURCE_REPO_URL",
    34  			Desc: "The URL to the input artifact or source code repository.",
    35  		},
    36  		{
    37  			Name: "AWS_REGION",
    38  			Desc: "The AWS region where the build is running",
    39  		},
    40  	},
    41  }