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

lacework.IntegrationInlineScanner

Explore with Pulumi AI

lacework logo
lacework 2.0.6 published on Monday, Apr 14, 2025 by lacework

    Use this resource to integrate an Inline Scanner with Lacework to assess, identify, and report vulnerabilities found as part of Inline Scanner integration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as lacework from "@pulumi/lacework";
    
    const example = new lacework.IntegrationInlineScanner("example", {});
    
    import pulumi
    import pulumi_lacework as lacework
    
    example = lacework.IntegrationInlineScanner("example")
    
    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.NewIntegrationInlineScanner(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Lacework = Pulumi.Lacework;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Lacework.IntegrationInlineScanner("example");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.lacework.IntegrationInlineScanner;
    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 IntegrationInlineScanner("example");
    
        }
    }
    
    resources:
      example:
        type: lacework:IntegrationInlineScanner
    

    Create IntegrationInlineScanner Resource

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

    Constructor syntax

    new IntegrationInlineScanner(name: string, args?: IntegrationInlineScannerArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationInlineScanner(resource_name: str,
                                 args: Optional[IntegrationInlineScannerArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationInlineScanner(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 enabled: Optional[bool] = None,
                                 identifier_tags: Optional[Sequence[IntegrationInlineScannerIdentifierTagArgs]] = None,
                                 integration_inline_scanner_id: Optional[str] = None,
                                 limit_num_scan: Optional[float] = None,
                                 name: Optional[str] = None)
    func NewIntegrationInlineScanner(ctx *Context, name string, args *IntegrationInlineScannerArgs, opts ...ResourceOption) (*IntegrationInlineScanner, error)
    public IntegrationInlineScanner(string name, IntegrationInlineScannerArgs? args = null, CustomResourceOptions? opts = null)
    public IntegrationInlineScanner(String name, IntegrationInlineScannerArgs args)
    public IntegrationInlineScanner(String name, IntegrationInlineScannerArgs args, CustomResourceOptions options)
    
    type: lacework:IntegrationInlineScanner
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IntegrationInlineScannerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IntegrationInlineScannerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IntegrationInlineScannerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationInlineScannerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationInlineScannerArgs
    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 integrationInlineScannerResource = new Lacework.IntegrationInlineScanner("integrationInlineScannerResource", new()
    {
        Enabled = false,
        IdentifierTags = new[]
        {
            new Lacework.Inputs.IntegrationInlineScannerIdentifierTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        IntegrationInlineScannerId = "string",
        LimitNumScan = 0,
        Name = "string",
    });
    
    example, err := lacework.NewIntegrationInlineScanner(ctx, "integrationInlineScannerResource", &lacework.IntegrationInlineScannerArgs{
    	Enabled: pulumi.Bool(false),
    	IdentifierTags: lacework.IntegrationInlineScannerIdentifierTagArray{
    		&lacework.IntegrationInlineScannerIdentifierTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	IntegrationInlineScannerId: pulumi.String("string"),
    	LimitNumScan:               pulumi.Float64(0),
    	Name:                       pulumi.String("string"),
    })
    
    var integrationInlineScannerResource = new IntegrationInlineScanner("integrationInlineScannerResource", IntegrationInlineScannerArgs.builder()
        .enabled(false)
        .identifierTags(IntegrationInlineScannerIdentifierTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .integrationInlineScannerId("string")
        .limitNumScan(0)
        .name("string")
        .build());
    
    integration_inline_scanner_resource = lacework.IntegrationInlineScanner("integrationInlineScannerResource",
        enabled=False,
        identifier_tags=[{
            "key": "string",
            "value": "string",
        }],
        integration_inline_scanner_id="string",
        limit_num_scan=0,
        name="string")
    
    const integrationInlineScannerResource = new lacework.IntegrationInlineScanner("integrationInlineScannerResource", {
        enabled: false,
        identifierTags: [{
            key: "string",
            value: "string",
        }],
        integrationInlineScannerId: "string",
        limitNumScan: 0,
        name: "string",
    });
    
    type: lacework:IntegrationInlineScanner
    properties:
        enabled: false
        identifierTags:
            - key: string
              value: string
        integrationInlineScannerId: string
        limitNumScan: 0
        name: string
    

    IntegrationInlineScanner 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 IntegrationInlineScanner resource accepts the following input properties:

    Enabled bool
    The state of the external integration. Defaults to true.
    IdentifierTags List<IntegrationInlineScannerIdentifierTag>
    A list of identifier tags as key:value pairs
    IntegrationInlineScannerId string
    LimitNumScan double
    The maximum number of newest container images to assess per repository.
    Name string
    The Container Registry integration name.
    Enabled bool
    The state of the external integration. Defaults to true.
    IdentifierTags []IntegrationInlineScannerIdentifierTagArgs
    A list of identifier tags as key:value pairs
    IntegrationInlineScannerId string
    LimitNumScan float64
    The maximum number of newest container images to assess per repository.
    Name string
    The Container Registry integration name.
    enabled Boolean
    The state of the external integration. Defaults to true.
    identifierTags List<IntegrationInlineScannerIdentifierTag>
    A list of identifier tags as key:value pairs
    integrationInlineScannerId String
    limitNumScan Double
    The maximum number of newest container images to assess per repository.
    name String
    The Container Registry integration name.
    enabled boolean
    The state of the external integration. Defaults to true.
    identifierTags IntegrationInlineScannerIdentifierTag[]
    A list of identifier tags as key:value pairs
    integrationInlineScannerId string
    limitNumScan number
    The maximum number of newest container images to assess per repository.
    name string
    The Container Registry integration name.
    enabled bool
    The state of the external integration. Defaults to true.
    identifier_tags Sequence[IntegrationInlineScannerIdentifierTagArgs]
    A list of identifier tags as key:value pairs
    integration_inline_scanner_id str
    limit_num_scan float
    The maximum number of newest container images to assess per repository.
    name str
    The Container Registry integration name.
    enabled Boolean
    The state of the external integration. Defaults to true.
    identifierTags List<Property Map>
    A list of identifier tags as key:value pairs
    integrationInlineScannerId String
    limitNumScan Number
    The maximum number of newest container images to assess per repository.
    name String
    The Container Registry integration name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationInlineScanner 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
    ServerToken string
    The Inline Scanner access token.
    ServerUri string
    The location where to download the Inline Scanner binary.
    TypeName string
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    IntgGuid string
    OrgLevel bool
    ServerToken string
    The Inline Scanner access token.
    ServerUri string
    The location where to download the Inline Scanner binary.
    TypeName string
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    id String
    The provider-assigned unique ID for this managed resource.
    intgGuid String
    orgLevel Boolean
    serverToken String
    The Inline Scanner access token.
    serverUri String
    The location where to download the Inline Scanner binary.
    typeName String
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    id string
    The provider-assigned unique ID for this managed resource.
    intgGuid string
    orgLevel boolean
    serverToken string
    The Inline Scanner access token.
    serverUri string
    The location where to download the Inline Scanner binary.
    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
    server_token str
    The Inline Scanner access token.
    server_uri str
    The location where to download the Inline Scanner binary.
    type_name str
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    id String
    The provider-assigned unique ID for this managed resource.
    intgGuid String
    orgLevel Boolean
    serverToken String
    The Inline Scanner access token.
    serverUri String
    The location where to download the Inline Scanner binary.
    typeName String

    Look up Existing IntegrationInlineScanner Resource

    Get an existing IntegrationInlineScanner 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?: IntegrationInlineScannerState, opts?: CustomResourceOptions): IntegrationInlineScanner
    @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,
            identifier_tags: Optional[Sequence[IntegrationInlineScannerIdentifierTagArgs]] = None,
            integration_inline_scanner_id: Optional[str] = None,
            intg_guid: Optional[str] = None,
            limit_num_scan: Optional[float] = None,
            name: Optional[str] = None,
            org_level: Optional[bool] = None,
            server_token: Optional[str] = None,
            server_uri: Optional[str] = None,
            type_name: Optional[str] = None) -> IntegrationInlineScanner
    func GetIntegrationInlineScanner(ctx *Context, name string, id IDInput, state *IntegrationInlineScannerState, opts ...ResourceOption) (*IntegrationInlineScanner, error)
    public static IntegrationInlineScanner Get(string name, Input<string> id, IntegrationInlineScannerState? state, CustomResourceOptions? opts = null)
    public static IntegrationInlineScanner get(String name, Output<String> id, IntegrationInlineScannerState state, CustomResourceOptions options)
    resources:  _:    type: lacework:IntegrationInlineScanner    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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.
    IdentifierTags List<IntegrationInlineScannerIdentifierTag>
    A list of identifier tags as key:value pairs
    IntegrationInlineScannerId string
    IntgGuid string
    LimitNumScan double
    The maximum number of newest container images to assess per repository.
    Name string
    The Container Registry integration name.
    OrgLevel bool
    ServerToken string
    The Inline Scanner access token.
    ServerUri string
    The location where to download the Inline Scanner binary.
    TypeName string
    CreatedOrUpdatedBy string
    CreatedOrUpdatedTime string
    Enabled bool
    The state of the external integration. Defaults to true.
    IdentifierTags []IntegrationInlineScannerIdentifierTagArgs
    A list of identifier tags as key:value pairs
    IntegrationInlineScannerId string
    IntgGuid string
    LimitNumScan float64
    The maximum number of newest container images to assess per repository.
    Name string
    The Container Registry integration name.
    OrgLevel bool
    ServerToken string
    The Inline Scanner access token.
    ServerUri string
    The location where to download the Inline Scanner binary.
    TypeName string
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    enabled Boolean
    The state of the external integration. Defaults to true.
    identifierTags List<IntegrationInlineScannerIdentifierTag>
    A list of identifier tags as key:value pairs
    integrationInlineScannerId String
    intgGuid String
    limitNumScan Double
    The maximum number of newest container images to assess per repository.
    name String
    The Container Registry integration name.
    orgLevel Boolean
    serverToken String
    The Inline Scanner access token.
    serverUri String
    The location where to download the Inline Scanner binary.
    typeName String
    createdOrUpdatedBy string
    createdOrUpdatedTime string
    enabled boolean
    The state of the external integration. Defaults to true.
    identifierTags IntegrationInlineScannerIdentifierTag[]
    A list of identifier tags as key:value pairs
    integrationInlineScannerId string
    intgGuid string
    limitNumScan number
    The maximum number of newest container images to assess per repository.
    name string
    The Container Registry integration name.
    orgLevel boolean
    serverToken string
    The Inline Scanner access token.
    serverUri string
    The location where to download the Inline Scanner binary.
    typeName string
    created_or_updated_by str
    created_or_updated_time str
    enabled bool
    The state of the external integration. Defaults to true.
    identifier_tags Sequence[IntegrationInlineScannerIdentifierTagArgs]
    A list of identifier tags as key:value pairs
    integration_inline_scanner_id str
    intg_guid str
    limit_num_scan float
    The maximum number of newest container images to assess per repository.
    name str
    The Container Registry integration name.
    org_level bool
    server_token str
    The Inline Scanner access token.
    server_uri str
    The location where to download the Inline Scanner binary.
    type_name str
    createdOrUpdatedBy String
    createdOrUpdatedTime String
    enabled Boolean
    The state of the external integration. Defaults to true.
    identifierTags List<Property Map>
    A list of identifier tags as key:value pairs
    integrationInlineScannerId String
    intgGuid String
    limitNumScan Number
    The maximum number of newest container images to assess per repository.
    name String
    The Container Registry integration name.
    orgLevel Boolean
    serverToken String
    The Inline Scanner access token.
    serverUri String
    The location where to download the Inline Scanner binary.
    typeName String

    Supporting Types

    IntegrationInlineScannerIdentifierTag, IntegrationInlineScannerIdentifierTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Import

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

    $ pulumi import lacework:index/integrationInlineScanner:IntegrationInlineScanner example EXAMPLE_1234BAE1E42182964D23973F44CFEA3C4AB63B99E9A1EC5
    

    -> 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.
    lacework logo
    lacework 2.0.6 published on Monday, Apr 14, 2025 by lacework