lacework.IntegrationProxyScanner
Explore with Pulumi AI
Use this resource to integrate a Proxy Scanner with Lacework to assess, identify, and report vulnerabilities found as part of Proxy Scanner integration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as lacework from "@pulumi/lacework";
const example = new lacework.IntegrationProxyScanner("example", {});
import pulumi
import pulumi_lacework as lacework
example = lacework.IntegrationProxyScanner("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.NewIntegrationProxyScanner(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.IntegrationProxyScanner("example");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.lacework.IntegrationProxyScanner;
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 IntegrationProxyScanner("example");
}
}
resources:
example:
type: lacework:IntegrationProxyScanner
Create IntegrationProxyScanner Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationProxyScanner(name: string, args?: IntegrationProxyScannerArgs, opts?: CustomResourceOptions);
@overload
def IntegrationProxyScanner(resource_name: str,
args: Optional[IntegrationProxyScannerArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationProxyScanner(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
integration_proxy_scanner_id: Optional[str] = None,
limit_by_labels: Optional[Sequence[IntegrationProxyScannerLimitByLabelArgs]] = 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)
func NewIntegrationProxyScanner(ctx *Context, name string, args *IntegrationProxyScannerArgs, opts ...ResourceOption) (*IntegrationProxyScanner, error)
public IntegrationProxyScanner(string name, IntegrationProxyScannerArgs? args = null, CustomResourceOptions? opts = null)
public IntegrationProxyScanner(String name, IntegrationProxyScannerArgs args)
public IntegrationProxyScanner(String name, IntegrationProxyScannerArgs args, CustomResourceOptions options)
type: lacework:IntegrationProxyScanner
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 IntegrationProxyScannerArgs
- 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 IntegrationProxyScannerArgs
- 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 IntegrationProxyScannerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationProxyScannerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationProxyScannerArgs
- 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 integrationProxyScannerResource = new Lacework.IntegrationProxyScanner("integrationProxyScannerResource", new()
{
Enabled = false,
IntegrationProxyScannerId = "string",
LimitByLabels = new[]
{
new Lacework.Inputs.IntegrationProxyScannerLimitByLabelArgs
{
Key = "string",
Value = "string",
},
},
LimitByRepositories = new[]
{
"string",
},
LimitByTags = new[]
{
"string",
},
LimitNumImgs = 0,
Name = "string",
});
example, err := lacework.NewIntegrationProxyScanner(ctx, "integrationProxyScannerResource", &lacework.IntegrationProxyScannerArgs{
Enabled: pulumi.Bool(false),
IntegrationProxyScannerId: pulumi.String("string"),
LimitByLabels: lacework.IntegrationProxyScannerLimitByLabelArray{
&lacework.IntegrationProxyScannerLimitByLabelArgs{
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"),
})
var integrationProxyScannerResource = new IntegrationProxyScanner("integrationProxyScannerResource", IntegrationProxyScannerArgs.builder()
.enabled(false)
.integrationProxyScannerId("string")
.limitByLabels(IntegrationProxyScannerLimitByLabelArgs.builder()
.key("string")
.value("string")
.build())
.limitByRepositories("string")
.limitByTags("string")
.limitNumImgs(0)
.name("string")
.build());
integration_proxy_scanner_resource = lacework.IntegrationProxyScanner("integrationProxyScannerResource",
enabled=False,
integration_proxy_scanner_id="string",
limit_by_labels=[{
"key": "string",
"value": "string",
}],
limit_by_repositories=["string"],
limit_by_tags=["string"],
limit_num_imgs=0,
name="string")
const integrationProxyScannerResource = new lacework.IntegrationProxyScanner("integrationProxyScannerResource", {
enabled: false,
integrationProxyScannerId: "string",
limitByLabels: [{
key: "string",
value: "string",
}],
limitByRepositories: ["string"],
limitByTags: ["string"],
limitNumImgs: 0,
name: "string",
});
type: lacework:IntegrationProxyScanner
properties:
enabled: false
integrationProxyScannerId: string
limitByLabels:
- key: string
value: string
limitByRepositories:
- string
limitByTags:
- string
limitNumImgs: 0
name: string
IntegrationProxyScanner 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 IntegrationProxyScanner resource accepts the following input properties:
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Proxy stringScanner Id - Limit
By List<IntegrationLabels Proxy Scanner Limit By Label> - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
By List<string>Repositories - A list of repositories to assess.
- List<string>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
Num doubleImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - Name string
- The Container Registry integration name.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Proxy stringScanner Id - Limit
By []IntegrationLabels Proxy Scanner Limit By Label Args - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
By []stringRepositories - A list of repositories to assess.
- []string
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
Num float64Imgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - Name string
- The Container Registry integration name.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Proxy StringScanner Id - limit
By List<IntegrationLabels Proxy Scanner Limit By Label> - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By List<String>Repositories - A list of repositories to assess.
- List<String>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
Num DoubleImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name String
- The Container Registry integration name.
- enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Proxy stringScanner Id - limit
By IntegrationLabels Proxy Scanner Limit By Label[] - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By string[]Repositories - A list of repositories to assess.
- string[]
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
Num numberImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name string
- The Container Registry integration name.
- enabled bool
- The state of the external integration. Defaults to
true
. - integration_
proxy_ strscanner_ id - limit_
by_ Sequence[Integrationlabels Proxy Scanner Limit By Label Args] - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit_
by_ Sequence[str]repositories - A list of repositories to assess.
- Sequence[str]
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit_
num_ floatimgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name str
- The Container Registry integration name.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Proxy StringScanner Id - limit
By List<Property Map>Labels - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By List<String>Repositories - A list of repositories to assess.
- List<String>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
Num NumberImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name String
- The Container Registry integration name.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationProxyScanner resource produces the following output properties:
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Server
Token string - The Proxy Scanner access token.
- Server
Uri string - The location where to download the Proxy Scanner binary.
- Type
Name string
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Server
Token string - The Proxy Scanner access token.
- Server
Uri string - The location where to download the Proxy Scanner binary.
- Type
Name string
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - server
Token String - The Proxy Scanner access token.
- server
Uri String - The location where to download the Proxy Scanner binary.
- type
Name String
- created
Or stringUpdated By - created
Or stringUpdated Time - id string
- The provider-assigned unique ID for this managed resource.
- intg
Guid string - org
Level boolean - server
Token string - The Proxy Scanner access token.
- server
Uri string - The location where to download the Proxy Scanner binary.
- type
Name string
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - id str
- The provider-assigned unique ID for this managed resource.
- intg_
guid str - org_
level bool - server_
token str - The Proxy Scanner access token.
- server_
uri str - The location where to download the Proxy Scanner binary.
- type_
name str
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - server
Token String - The Proxy Scanner access token.
- server
Uri String - The location where to download the Proxy Scanner binary.
- type
Name String
Look up Existing IntegrationProxyScanner Resource
Get an existing IntegrationProxyScanner 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?: IntegrationProxyScannerState, opts?: CustomResourceOptions): IntegrationProxyScanner
@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_proxy_scanner_id: Optional[str] = None,
intg_guid: Optional[str] = None,
limit_by_labels: Optional[Sequence[IntegrationProxyScannerLimitByLabelArgs]] = 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,
org_level: Optional[bool] = None,
server_token: Optional[str] = None,
server_uri: Optional[str] = None,
type_name: Optional[str] = None) -> IntegrationProxyScanner
func GetIntegrationProxyScanner(ctx *Context, name string, id IDInput, state *IntegrationProxyScannerState, opts ...ResourceOption) (*IntegrationProxyScanner, error)
public static IntegrationProxyScanner Get(string name, Input<string> id, IntegrationProxyScannerState? state, CustomResourceOptions? opts = null)
public static IntegrationProxyScanner get(String name, Output<String> id, IntegrationProxyScannerState state, CustomResourceOptions options)
resources: _: type: lacework:IntegrationProxyScanner 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.
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Proxy stringScanner Id - Intg
Guid string - Limit
By List<IntegrationLabels Proxy Scanner Limit By Label> - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
By List<string>Repositories - A list of repositories to assess.
- List<string>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
Num doubleImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - Name string
- The Container Registry integration name.
- Org
Level bool - Server
Token string - The Proxy Scanner access token.
- Server
Uri string - The location where to download the Proxy Scanner binary.
- Type
Name string
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Proxy stringScanner Id - Intg
Guid string - Limit
By []IntegrationLabels Proxy Scanner Limit By Label Args - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
By []stringRepositories - A list of repositories to assess.
- []string
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
Num float64Imgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - Name string
- The Container Registry integration name.
- Org
Level bool - Server
Token string - The Proxy Scanner access token.
- Server
Uri string - The location where to download the Proxy Scanner binary.
- Type
Name string
- created
Or StringUpdated By - created
Or StringUpdated Time - enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Proxy StringScanner Id - intg
Guid String - limit
By List<IntegrationLabels Proxy Scanner Limit By Label> - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By List<String>Repositories - A list of repositories to assess.
- List<String>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
Num DoubleImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name String
- The Container Registry integration name.
- org
Level Boolean - server
Token String - The Proxy Scanner access token.
- server
Uri String - The location where to download the Proxy Scanner binary.
- type
Name String
- created
Or stringUpdated By - created
Or stringUpdated Time - enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Proxy stringScanner Id - intg
Guid string - limit
By IntegrationLabels Proxy Scanner Limit By Label[] - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By string[]Repositories - A list of repositories to assess.
- string[]
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
Num numberImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name string
- The Container Registry integration name.
- org
Level boolean - server
Token string - The Proxy Scanner access token.
- server
Uri string - The location where to download the Proxy Scanner binary.
- type
Name string
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - enabled bool
- The state of the external integration. Defaults to
true
. - integration_
proxy_ strscanner_ id - intg_
guid str - limit_
by_ Sequence[Integrationlabels Proxy Scanner Limit By Label Args] - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit_
by_ Sequence[str]repositories - A list of repositories to assess.
- Sequence[str]
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit_
num_ floatimgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name str
- The Container Registry integration name.
- org_
level bool - server_
token str - The Proxy Scanner access token.
- server_
uri str - The location where to download the Proxy Scanner binary.
- type_
name str
- created
Or StringUpdated By - created
Or StringUpdated Time - enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Proxy StringScanner Id - intg
Guid String - limit
By List<Property Map>Labels - A key based map of labels to limit the assessment of images with matching
key:value
labels. If you specifylimit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By List<String>Repositories - A list of repositories to assess.
- List<String>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
Num NumberImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name String
- The Container Registry integration name.
- org
Level Boolean - server
Token String - The Proxy Scanner access token.
- server
Uri String - The location where to download the Proxy Scanner binary.
- type
Name String
Supporting Types
IntegrationProxyScannerLimitByLabel, IntegrationProxyScannerLimitByLabelArgs
Import
A Lacework Proxy Scanner container registry integration can be imported using a INT_GUID
, e.g.
$ pulumi import lacework:index/integrationProxyScanner:IntegrationProxyScanner 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.