1. Packages
  2. Lacework Provider
  3. API Docs
  4. IntegrationGhcr
lacework 2.0.6 published on Monday, Apr 14, 2025 by lacework

lacework.IntegrationGhcr

Explore with Pulumi AI

Use this resource to integrate a Github Container Registry (GHCR) with Lacework to assess, identify, and report vulnerabilities found in the operating system software packages in container images. For more information, see the Integrate Github Container Registry documentation.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as lacework from "@pulumi/lacework";

const example = new lacework.IntegrationGhcr("example", {
    password: "a-secret-password",
    ssl: true,
    username: "my-user",
});
Copy
import pulumi
import pulumi_lacework as lacework

example = lacework.IntegrationGhcr("example",
    password="a-secret-password",
    ssl=True,
    username="my-user")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/lacework/v2/lacework"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := lacework.NewIntegrationGhcr(ctx, "example", &lacework.IntegrationGhcrArgs{
			Password: pulumi.String("a-secret-password"),
			Ssl:      pulumi.Bool(true),
			Username: pulumi.String("my-user"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Lacework = Pulumi.Lacework;

return await Deployment.RunAsync(() => 
{
    var example = new Lacework.IntegrationGhcr("example", new()
    {
        Password = "a-secret-password",
        Ssl = true,
        Username = "my-user",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.lacework.IntegrationGhcr;
import com.pulumi.lacework.IntegrationGhcrArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new IntegrationGhcr("example", IntegrationGhcrArgs.builder()
            .password("a-secret-password")
            .ssl(true)
            .username("my-user")
            .build());

    }
}
Copy
resources:
  example:
    type: lacework:IntegrationGhcr
    properties:
      password: a-secret-password
      ssl: true
      username: my-user
Copy

Create IntegrationGhcr Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IntegrationGhcr(name: string, args: IntegrationGhcrArgs, opts?: CustomResourceOptions);
@overload
def IntegrationGhcr(resource_name: str,
                    args: IntegrationGhcrArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def IntegrationGhcr(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    password: Optional[str] = None,
                    username: Optional[str] = None,
                    enabled: Optional[bool] = None,
                    integration_ghcr_id: Optional[str] = None,
                    limit_by_labels: Optional[Sequence[IntegrationGhcrLimitByLabelArgs]] = None,
                    limit_by_repositories: Optional[Sequence[str]] = None,
                    limit_by_tags: Optional[Sequence[str]] = None,
                    limit_num_imgs: Optional[float] = None,
                    name: Optional[str] = None,
                    non_os_package_support: Optional[bool] = None,
                    registry_notifications: Optional[bool] = None,
                    ssl: Optional[bool] = None)
func NewIntegrationGhcr(ctx *Context, name string, args IntegrationGhcrArgs, opts ...ResourceOption) (*IntegrationGhcr, error)
public IntegrationGhcr(string name, IntegrationGhcrArgs args, CustomResourceOptions? opts = null)
public IntegrationGhcr(String name, IntegrationGhcrArgs args)
public IntegrationGhcr(String name, IntegrationGhcrArgs args, CustomResourceOptions options)
type: lacework:IntegrationGhcr
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IntegrationGhcrArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IntegrationGhcrArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationGhcrArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationGhcrArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IntegrationGhcrArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var integrationGhcrResource = new Lacework.IntegrationGhcr("integrationGhcrResource", new()
{
    Password = "string",
    Username = "string",
    Enabled = false,
    IntegrationGhcrId = "string",
    LimitByLabels = new[]
    {
        new Lacework.Inputs.IntegrationGhcrLimitByLabelArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    LimitByRepositories = new[]
    {
        "string",
    },
    LimitByTags = new[]
    {
        "string",
    },
    LimitNumImgs = 0,
    Name = "string",
    NonOsPackageSupport = false,
    RegistryNotifications = false,
    Ssl = false,
});
Copy
example, err := lacework.NewIntegrationGhcr(ctx, "integrationGhcrResource", &lacework.IntegrationGhcrArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
Enabled: pulumi.Bool(false),
IntegrationGhcrId: pulumi.String("string"),
LimitByLabels: .IntegrationGhcrLimitByLabelArray{
&.IntegrationGhcrLimitByLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
LimitByRepositories: pulumi.StringArray{
pulumi.String("string"),
},
LimitByTags: pulumi.StringArray{
pulumi.String("string"),
},
LimitNumImgs: pulumi.Float64(0),
Name: pulumi.String("string"),
NonOsPackageSupport: pulumi.Bool(false),
RegistryNotifications: pulumi.Bool(false),
Ssl: pulumi.Bool(false),
})
Copy
var integrationGhcrResource = new IntegrationGhcr("integrationGhcrResource", IntegrationGhcrArgs.builder()
    .password("string")
    .username("string")
    .enabled(false)
    .integrationGhcrId("string")
    .limitByLabels(IntegrationGhcrLimitByLabelArgs.builder()
        .key("string")
        .value("string")
        .build())
    .limitByRepositories("string")
    .limitByTags("string")
    .limitNumImgs(0)
    .name("string")
    .nonOsPackageSupport(false)
    .registryNotifications(false)
    .ssl(false)
    .build());
Copy
integration_ghcr_resource = lacework.IntegrationGhcr("integrationGhcrResource",
    password="string",
    username="string",
    enabled=False,
    integration_ghcr_id="string",
    limit_by_labels=[{
        "key": "string",
        "value": "string",
    }],
    limit_by_repositories=["string"],
    limit_by_tags=["string"],
    limit_num_imgs=0,
    name="string",
    non_os_package_support=False,
    registry_notifications=False,
    ssl=False)
Copy
const integrationGhcrResource = new lacework.IntegrationGhcr("integrationGhcrResource", {
    password: "string",
    username: "string",
    enabled: false,
    integrationGhcrId: "string",
    limitByLabels: [{
        key: "string",
        value: "string",
    }],
    limitByRepositories: ["string"],
    limitByTags: ["string"],
    limitNumImgs: 0,
    name: "string",
    nonOsPackageSupport: false,
    registryNotifications: false,
    ssl: false,
});
Copy
type: lacework:IntegrationGhcr
properties:
    enabled: false
    integrationGhcrId: string
    limitByLabels:
        - key: string
          value: string
    limitByRepositories:
        - string
    limitByTags:
        - string
    limitNumImgs: 0
    name: string
    nonOsPackageSupport: false
    password: string
    registryNotifications: false
    ssl: false
    username: string
Copy

IntegrationGhcr Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IntegrationGhcr resource accepts the following input properties:

Password This property is required. string
The Github personal access token with permission read:packages.
Username This property is required. string
The Github username.
Enabled bool
The state of the external integration. Defaults to true.
IntegrationGhcrId string
LimitByLabels List<IntegrationGhcrLimitByLabel>
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
LimitByRepositories List<string>
A list of repositories to assess.
LimitByTags List<string>
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
LimitNumImgs double
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
Name string
The integration name.
NonOsPackageSupport bool
Enable program language scanning. Defaults to true.
RegistryNotifications bool
Subscribe to registry notifications. Defaults to false.
Ssl bool
Enable or disable SSL communication. Defaults to true.
Password This property is required. string
The Github personal access token with permission read:packages.
Username This property is required. string
The Github username.
Enabled bool
The state of the external integration. Defaults to true.
IntegrationGhcrId string
LimitByLabels []IntegrationGhcrLimitByLabelArgs
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
LimitByRepositories []string
A list of repositories to assess.
LimitByTags []string
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
LimitNumImgs float64
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
Name string
The integration name.
NonOsPackageSupport bool
Enable program language scanning. Defaults to true.
RegistryNotifications bool
Subscribe to registry notifications. Defaults to false.
Ssl bool
Enable or disable SSL communication. Defaults to true.
password This property is required. String
The Github personal access token with permission read:packages.
username This property is required. String
The Github username.
enabled Boolean
The state of the external integration. Defaults to true.
integrationGhcrId String
limitByLabels List<IntegrationGhcrLimitByLabel>
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitByRepositories List<String>
A list of repositories to assess.
limitByTags List<String>
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitNumImgs Double
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
name String
The integration name.
nonOsPackageSupport Boolean
Enable program language scanning. Defaults to true.
registryNotifications Boolean
Subscribe to registry notifications. Defaults to false.
ssl Boolean
Enable or disable SSL communication. Defaults to true.
password This property is required. string
The Github personal access token with permission read:packages.
username This property is required. string
The Github username.
enabled boolean
The state of the external integration. Defaults to true.
integrationGhcrId string
limitByLabels IntegrationGhcrLimitByLabel[]
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitByRepositories string[]
A list of repositories to assess.
limitByTags string[]
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitNumImgs number
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
name string
The integration name.
nonOsPackageSupport boolean
Enable program language scanning. Defaults to true.
registryNotifications boolean
Subscribe to registry notifications. Defaults to false.
ssl boolean
Enable or disable SSL communication. Defaults to true.
password This property is required. str
The Github personal access token with permission read:packages.
username This property is required. str
The Github username.
enabled bool
The state of the external integration. Defaults to true.
integration_ghcr_id str
limit_by_labels Sequence[IntegrationGhcrLimitByLabelArgs]
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limit_by_repositories Sequence[str]
A list of repositories to assess.
limit_by_tags Sequence[str]
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limit_num_imgs float
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
name str
The integration name.
non_os_package_support bool
Enable program language scanning. Defaults to true.
registry_notifications bool
Subscribe to registry notifications. Defaults to false.
ssl bool
Enable or disable SSL communication. Defaults to true.
password This property is required. String
The Github personal access token with permission read:packages.
username This property is required. String
The Github username.
enabled Boolean
The state of the external integration. Defaults to true.
integrationGhcrId String
limitByLabels List<Property Map>
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitByRepositories List<String>
A list of repositories to assess.
limitByTags List<String>
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitNumImgs Number
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
name String
The integration name.
nonOsPackageSupport Boolean
Enable program language scanning. Defaults to true.
registryNotifications Boolean
Subscribe to registry notifications. Defaults to false.
ssl Boolean
Enable or disable SSL communication. Defaults to true.

Outputs

All input properties are implicitly available as output properties. Additionally, the IntegrationGhcr resource produces the following output properties:

CreatedOrUpdatedBy string
CreatedOrUpdatedTime string
Id string
The provider-assigned unique ID for this managed resource.
IntgGuid string
OrgLevel bool
RegistryDomain string
TypeName string
CreatedOrUpdatedBy string
CreatedOrUpdatedTime string
Id string
The provider-assigned unique ID for this managed resource.
IntgGuid string
OrgLevel bool
RegistryDomain string
TypeName string
createdOrUpdatedBy String
createdOrUpdatedTime String
id String
The provider-assigned unique ID for this managed resource.
intgGuid String
orgLevel Boolean
registryDomain String
typeName String
createdOrUpdatedBy string
createdOrUpdatedTime string
id string
The provider-assigned unique ID for this managed resource.
intgGuid string
orgLevel boolean
registryDomain string
typeName string
created_or_updated_by str
created_or_updated_time str
id str
The provider-assigned unique ID for this managed resource.
intg_guid str
org_level bool
registry_domain str
type_name str
createdOrUpdatedBy String
createdOrUpdatedTime String
id String
The provider-assigned unique ID for this managed resource.
intgGuid String
orgLevel Boolean
registryDomain String
typeName String

Look up Existing IntegrationGhcr Resource

Get an existing IntegrationGhcr resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: IntegrationGhcrState, opts?: CustomResourceOptions): IntegrationGhcr
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        created_or_updated_by: Optional[str] = None,
        created_or_updated_time: Optional[str] = None,
        enabled: Optional[bool] = None,
        integration_ghcr_id: Optional[str] = None,
        intg_guid: Optional[str] = None,
        limit_by_labels: Optional[Sequence[IntegrationGhcrLimitByLabelArgs]] = None,
        limit_by_repositories: Optional[Sequence[str]] = None,
        limit_by_tags: Optional[Sequence[str]] = None,
        limit_num_imgs: Optional[float] = None,
        name: Optional[str] = None,
        non_os_package_support: Optional[bool] = None,
        org_level: Optional[bool] = None,
        password: Optional[str] = None,
        registry_domain: Optional[str] = None,
        registry_notifications: Optional[bool] = None,
        ssl: Optional[bool] = None,
        type_name: Optional[str] = None,
        username: Optional[str] = None) -> IntegrationGhcr
func GetIntegrationGhcr(ctx *Context, name string, id IDInput, state *IntegrationGhcrState, opts ...ResourceOption) (*IntegrationGhcr, error)
public static IntegrationGhcr Get(string name, Input<string> id, IntegrationGhcrState? state, CustomResourceOptions? opts = null)
public static IntegrationGhcr get(String name, Output<String> id, IntegrationGhcrState state, CustomResourceOptions options)
resources:  _:    type: lacework:IntegrationGhcr    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CreatedOrUpdatedBy string
CreatedOrUpdatedTime string
Enabled bool
The state of the external integration. Defaults to true.
IntegrationGhcrId string
IntgGuid string
LimitByLabels List<IntegrationGhcrLimitByLabel>
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
LimitByRepositories List<string>
A list of repositories to assess.
LimitByTags List<string>
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
LimitNumImgs double
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
Name string
The integration name.
NonOsPackageSupport bool
Enable program language scanning. Defaults to true.
OrgLevel bool
Password string
The Github personal access token with permission read:packages.
RegistryDomain string
RegistryNotifications bool
Subscribe to registry notifications. Defaults to false.
Ssl bool
Enable or disable SSL communication. Defaults to true.
TypeName string
Username string
The Github username.
CreatedOrUpdatedBy string
CreatedOrUpdatedTime string
Enabled bool
The state of the external integration. Defaults to true.
IntegrationGhcrId string
IntgGuid string
LimitByLabels []IntegrationGhcrLimitByLabelArgs
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
LimitByRepositories []string
A list of repositories to assess.
LimitByTags []string
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
LimitNumImgs float64
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
Name string
The integration name.
NonOsPackageSupport bool
Enable program language scanning. Defaults to true.
OrgLevel bool
Password string
The Github personal access token with permission read:packages.
RegistryDomain string
RegistryNotifications bool
Subscribe to registry notifications. Defaults to false.
Ssl bool
Enable or disable SSL communication. Defaults to true.
TypeName string
Username string
The Github username.
createdOrUpdatedBy String
createdOrUpdatedTime String
enabled Boolean
The state of the external integration. Defaults to true.
integrationGhcrId String
intgGuid String
limitByLabels List<IntegrationGhcrLimitByLabel>
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitByRepositories List<String>
A list of repositories to assess.
limitByTags List<String>
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitNumImgs Double
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
name String
The integration name.
nonOsPackageSupport Boolean
Enable program language scanning. Defaults to true.
orgLevel Boolean
password String
The Github personal access token with permission read:packages.
registryDomain String
registryNotifications Boolean
Subscribe to registry notifications. Defaults to false.
ssl Boolean
Enable or disable SSL communication. Defaults to true.
typeName String
username String
The Github username.
createdOrUpdatedBy string
createdOrUpdatedTime string
enabled boolean
The state of the external integration. Defaults to true.
integrationGhcrId string
intgGuid string
limitByLabels IntegrationGhcrLimitByLabel[]
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitByRepositories string[]
A list of repositories to assess.
limitByTags string[]
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitNumImgs number
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
name string
The integration name.
nonOsPackageSupport boolean
Enable program language scanning. Defaults to true.
orgLevel boolean
password string
The Github personal access token with permission read:packages.
registryDomain string
registryNotifications boolean
Subscribe to registry notifications. Defaults to false.
ssl boolean
Enable or disable SSL communication. Defaults to true.
typeName string
username string
The Github username.
created_or_updated_by str
created_or_updated_time str
enabled bool
The state of the external integration. Defaults to true.
integration_ghcr_id str
intg_guid str
limit_by_labels Sequence[IntegrationGhcrLimitByLabelArgs]
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limit_by_repositories Sequence[str]
A list of repositories to assess.
limit_by_tags Sequence[str]
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limit_num_imgs float
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
name str
The integration name.
non_os_package_support bool
Enable program language scanning. Defaults to true.
org_level bool
password str
The Github personal access token with permission read:packages.
registry_domain str
registry_notifications bool
Subscribe to registry notifications. Defaults to false.
ssl bool
Enable or disable SSL communication. Defaults to true.
type_name str
username str
The Github username.
createdOrUpdatedBy String
createdOrUpdatedTime String
enabled Boolean
The state of the external integration. Defaults to true.
integrationGhcrId String
intgGuid String
limitByLabels List<Property Map>
A list of key/value labels to limit the assessment of images. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitByRepositories List<String>
A list of repositories to assess.
limitByTags List<String>
A list of image tags to limit the assessment of images with matching tags. If you specify limit_by_tags and limit_by_label limits, they function as an AND.
limitNumImgs Number
The maximum number of newest container images to assess per repository. Must be one of 5, 10, or 15. Defaults to 5.
name String
The integration name.
nonOsPackageSupport Boolean
Enable program language scanning. Defaults to true.
orgLevel Boolean
password String
The Github personal access token with permission read:packages.
registryDomain String
registryNotifications Boolean
Subscribe to registry notifications. Defaults to false.
ssl Boolean
Enable or disable SSL communication. Defaults to true.
typeName String
username String
The Github username.

Supporting Types

IntegrationGhcrLimitByLabel
, IntegrationGhcrLimitByLabelArgs

Key This property is required. string
The key of the label.
Value This property is required. string

The value of the label.

For example, to limit by the label key with values value and value2, plus the label key1 with value value.

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
    }
}
{}
Key This property is required. string
The key of the label.
Value This property is required. string

The value of the label.

For example, to limit by the label key with values value and value2, plus the label key1 with value value.

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
    }
}
{}
key This property is required. String
The key of the label.
value This property is required. String

The value of the label.

For example, to limit by the label key with values value and value2, plus the label key1 with value value.

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
    }
}
{}
key This property is required. string
The key of the label.
value This property is required. string

The value of the label.

For example, to limit by the label key with values value and value2, plus the label key1 with value value.

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
    }
}
{}
key This property is required. str
The key of the label.
value This property is required. str

The value of the label.

For example, to limit by the label key with values value and value2, plus the label key1 with value value.

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
    }
}
{}
key This property is required. String
The key of the label.
value This property is required. String

The value of the label.

For example, to limit by the label key with values value and value2, plus the label key1 with value value.

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
    }
}
{}

Import

A Lacework Github container registry integration can be imported using a INT_GUID, e.g.

$ pulumi import lacework:index/integrationGhcr:IntegrationGhcr example EXAMPLE_1234BAE1E42182964D23973F44CFEA3C4AB63B99E9A1EC5
Copy

-> Note: To retrieve the INT_GUID from existing integrations in your account, use the Lacework CLI command lacework container-registry list. To install this tool follow this documentation.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
lacework lacework/terraform-provider-lacework
License
Notes
This Pulumi package is based on the lacework Terraform Provider.