azure-native.securityinsights.Watchlist
Explore with Pulumi AI
Represents a Watchlist in Azure Security Insights. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-03-01-preview.
Other available API versions: 2019-01-01-preview, 2021-03-01-preview, 2021-04-01, 2021-10-01-preview, 2022-01-01-preview, 2023-06-01-preview, 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-11-01, 2023-12-01-preview, 2024-01-01-preview, 2024-03-01, 2024-04-01-preview.
Example Usage
Create or update a watchlist and bulk creates watchlist items.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var watchlist = new AzureNative.SecurityInsights.Watchlist("watchlist", new()
{
ContentType = "text/csv",
Description = "Watchlist from CSV content",
DisplayName = "High Value Assets Watchlist",
ItemsSearchKey = "header1",
NumberOfLinesToSkip = 1,
Provider = "Microsoft",
RawContent = @"This line will be skipped
header1,header2
value1,value2",
ResourceGroupName = "myRg",
Source = AzureNative.SecurityInsights.Source.Local_file,
WatchlistAlias = "highValueAsset",
WorkspaceName = "myWorkspace",
});
});
package main
import (
securityinsights "github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityinsights.NewWatchlist(ctx, "watchlist", &securityinsights.WatchlistArgs{
ContentType: pulumi.String("text/csv"),
Description: pulumi.String("Watchlist from CSV content"),
DisplayName: pulumi.String("High Value Assets Watchlist"),
ItemsSearchKey: pulumi.String("header1"),
NumberOfLinesToSkip: pulumi.Int(1),
Provider: pulumi.String("Microsoft"),
RawContent: pulumi.String("This line will be skipped\nheader1,header2\nvalue1,value2"),
ResourceGroupName: pulumi.String("myRg"),
Source: pulumi.String(securityinsights.Source_Local_file),
WatchlistAlias: pulumi.String("highValueAsset"),
WorkspaceName: pulumi.String("myWorkspace"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.securityinsights.Watchlist;
import com.pulumi.azurenative.securityinsights.WatchlistArgs;
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 watchlist = new Watchlist("watchlist", WatchlistArgs.builder()
.contentType("text/csv")
.description("Watchlist from CSV content")
.displayName("High Value Assets Watchlist")
.itemsSearchKey("header1")
.numberOfLinesToSkip(1)
.provider("Microsoft")
.rawContent("""
This line will be skipped
header1,header2
value1,value2 """)
.resourceGroupName("myRg")
.source("Local file")
.watchlistAlias("highValueAsset")
.workspaceName("myWorkspace")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
watchlist = azure_native.securityinsights.Watchlist("watchlist",
content_type="text/csv",
description="Watchlist from CSV content",
display_name="High Value Assets Watchlist",
items_search_key="header1",
number_of_lines_to_skip=1,
provider="Microsoft",
raw_content="""This line will be skipped
header1,header2
value1,value2""",
resource_group_name="myRg",
source=azure_native.securityinsights.Source.LOCAL_FILE,
watchlist_alias="highValueAsset",
workspace_name="myWorkspace")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const watchlist = new azure_native.securityinsights.Watchlist("watchlist", {
contentType: "text/csv",
description: "Watchlist from CSV content",
displayName: "High Value Assets Watchlist",
itemsSearchKey: "header1",
numberOfLinesToSkip: 1,
provider: "Microsoft",
rawContent: `This line will be skipped
header1,header2
value1,value2`,
resourceGroupName: "myRg",
source: azure_native.securityinsights.Source.Local_file,
watchlistAlias: "highValueAsset",
workspaceName: "myWorkspace",
});
resources:
watchlist:
type: azure-native:securityinsights:Watchlist
properties:
contentType: text/csv
description: Watchlist from CSV content
displayName: High Value Assets Watchlist
itemsSearchKey: header1
numberOfLinesToSkip: 1
provider: Microsoft
rawContent: |-
This line will be skipped
header1,header2
value1,value2
resourceGroupName: myRg
source: Local file
watchlistAlias: highValueAsset
workspaceName: myWorkspace
Create or update a watchlist.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var watchlist = new AzureNative.SecurityInsights.Watchlist("watchlist", new()
{
Description = "Watchlist from CSV content",
DisplayName = "High Value Assets Watchlist",
ItemsSearchKey = "header1",
Provider = "Microsoft",
ResourceGroupName = "myRg",
Source = AzureNative.SecurityInsights.Source.Local_file,
WatchlistAlias = "highValueAsset",
WorkspaceName = "myWorkspace",
});
});
package main
import (
securityinsights "github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityinsights.NewWatchlist(ctx, "watchlist", &securityinsights.WatchlistArgs{
Description: pulumi.String("Watchlist from CSV content"),
DisplayName: pulumi.String("High Value Assets Watchlist"),
ItemsSearchKey: pulumi.String("header1"),
Provider: pulumi.String("Microsoft"),
ResourceGroupName: pulumi.String("myRg"),
Source: pulumi.String(securityinsights.Source_Local_file),
WatchlistAlias: pulumi.String("highValueAsset"),
WorkspaceName: pulumi.String("myWorkspace"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.securityinsights.Watchlist;
import com.pulumi.azurenative.securityinsights.WatchlistArgs;
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 watchlist = new Watchlist("watchlist", WatchlistArgs.builder()
.description("Watchlist from CSV content")
.displayName("High Value Assets Watchlist")
.itemsSearchKey("header1")
.provider("Microsoft")
.resourceGroupName("myRg")
.source("Local file")
.watchlistAlias("highValueAsset")
.workspaceName("myWorkspace")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
watchlist = azure_native.securityinsights.Watchlist("watchlist",
description="Watchlist from CSV content",
display_name="High Value Assets Watchlist",
items_search_key="header1",
provider="Microsoft",
resource_group_name="myRg",
source=azure_native.securityinsights.Source.LOCAL_FILE,
watchlist_alias="highValueAsset",
workspace_name="myWorkspace")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const watchlist = new azure_native.securityinsights.Watchlist("watchlist", {
description: "Watchlist from CSV content",
displayName: "High Value Assets Watchlist",
itemsSearchKey: "header1",
provider: "Microsoft",
resourceGroupName: "myRg",
source: azure_native.securityinsights.Source.Local_file,
watchlistAlias: "highValueAsset",
workspaceName: "myWorkspace",
});
resources:
watchlist:
type: azure-native:securityinsights:Watchlist
properties:
description: Watchlist from CSV content
displayName: High Value Assets Watchlist
itemsSearchKey: header1
provider: Microsoft
resourceGroupName: myRg
source: Local file
watchlistAlias: highValueAsset
workspaceName: myWorkspace
Create Watchlist Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Watchlist(name: string, args: WatchlistArgs, opts?: CustomResourceOptions);
@overload
def Watchlist(resource_name: str,
args: WatchlistArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Watchlist(resource_name: str,
opts: Optional[ResourceOptions] = None,
provider: Optional[str] = None,
items_search_key: Optional[str] = None,
source: Optional[Union[str, Source]] = None,
workspace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
display_name: Optional[str] = None,
created_by: Optional[WatchlistUserInfoArgs] = None,
raw_content: Optional[str] = None,
description: Optional[str] = None,
number_of_lines_to_skip: Optional[int] = None,
default_duration: Optional[str] = None,
created: Optional[str] = None,
labels: Optional[Sequence[str]] = None,
is_deleted: Optional[bool] = None,
tenant_id: Optional[str] = None,
updated: Optional[str] = None,
updated_by: Optional[WatchlistUserInfoArgs] = None,
upload_status: Optional[str] = None,
watchlist_alias: Optional[str] = None,
watchlist_id: Optional[str] = None,
watchlist_type: Optional[str] = None,
content_type: Optional[str] = None)
func NewWatchlist(ctx *Context, name string, args WatchlistArgs, opts ...ResourceOption) (*Watchlist, error)
public Watchlist(string name, WatchlistArgs args, CustomResourceOptions? opts = null)
public Watchlist(String name, WatchlistArgs args)
public Watchlist(String name, WatchlistArgs args, CustomResourceOptions options)
type: azure-native:securityinsights:Watchlist
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 WatchlistArgs
- 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 WatchlistArgs
- 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 WatchlistArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WatchlistArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WatchlistArgs
- 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 watchlistResource = new AzureNative.SecurityInsights.Watchlist("watchlistResource", new()
{
Provider = "string",
ItemsSearchKey = "string",
Source = "string",
WorkspaceName = "string",
ResourceGroupName = "string",
DisplayName = "string",
CreatedBy = new AzureNative.SecurityInsights.Inputs.WatchlistUserInfoArgs
{
ObjectId = "string",
},
RawContent = "string",
Description = "string",
NumberOfLinesToSkip = 0,
DefaultDuration = "string",
Created = "string",
Labels = new[]
{
"string",
},
IsDeleted = false,
TenantId = "string",
Updated = "string",
UpdatedBy = new AzureNative.SecurityInsights.Inputs.WatchlistUserInfoArgs
{
ObjectId = "string",
},
UploadStatus = "string",
WatchlistAlias = "string",
WatchlistId = "string",
WatchlistType = "string",
ContentType = "string",
});
example, err := securityinsights.NewWatchlist(ctx, "watchlistResource", &securityinsights.WatchlistArgs{
Provider: pulumi.String("string"),
ItemsSearchKey: pulumi.String("string"),
Source: pulumi.String("string"),
WorkspaceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
DisplayName: pulumi.String("string"),
CreatedBy: &securityinsights.WatchlistUserInfoArgs{
ObjectId: pulumi.String("string"),
},
RawContent: pulumi.String("string"),
Description: pulumi.String("string"),
NumberOfLinesToSkip: pulumi.Int(0),
DefaultDuration: pulumi.String("string"),
Created: pulumi.String("string"),
Labels: pulumi.StringArray{
pulumi.String("string"),
},
IsDeleted: pulumi.Bool(false),
TenantId: pulumi.String("string"),
Updated: pulumi.String("string"),
UpdatedBy: &securityinsights.WatchlistUserInfoArgs{
ObjectId: pulumi.String("string"),
},
UploadStatus: pulumi.String("string"),
WatchlistAlias: pulumi.String("string"),
WatchlistId: pulumi.String("string"),
WatchlistType: pulumi.String("string"),
ContentType: pulumi.String("string"),
})
var watchlistResource = new Watchlist("watchlistResource", WatchlistArgs.builder()
.provider("string")
.itemsSearchKey("string")
.source("string")
.workspaceName("string")
.resourceGroupName("string")
.displayName("string")
.createdBy(WatchlistUserInfoArgs.builder()
.objectId("string")
.build())
.rawContent("string")
.description("string")
.numberOfLinesToSkip(0)
.defaultDuration("string")
.created("string")
.labels("string")
.isDeleted(false)
.tenantId("string")
.updated("string")
.updatedBy(WatchlistUserInfoArgs.builder()
.objectId("string")
.build())
.uploadStatus("string")
.watchlistAlias("string")
.watchlistId("string")
.watchlistType("string")
.contentType("string")
.build());
watchlist_resource = azure_native.securityinsights.Watchlist("watchlistResource",
provider="string",
items_search_key="string",
source="string",
workspace_name="string",
resource_group_name="string",
display_name="string",
created_by={
"object_id": "string",
},
raw_content="string",
description="string",
number_of_lines_to_skip=0,
default_duration="string",
created="string",
labels=["string"],
is_deleted=False,
tenant_id="string",
updated="string",
updated_by={
"object_id": "string",
},
upload_status="string",
watchlist_alias="string",
watchlist_id="string",
watchlist_type="string",
content_type="string")
const watchlistResource = new azure_native.securityinsights.Watchlist("watchlistResource", {
provider: "string",
itemsSearchKey: "string",
source: "string",
workspaceName: "string",
resourceGroupName: "string",
displayName: "string",
createdBy: {
objectId: "string",
},
rawContent: "string",
description: "string",
numberOfLinesToSkip: 0,
defaultDuration: "string",
created: "string",
labels: ["string"],
isDeleted: false,
tenantId: "string",
updated: "string",
updatedBy: {
objectId: "string",
},
uploadStatus: "string",
watchlistAlias: "string",
watchlistId: "string",
watchlistType: "string",
contentType: "string",
});
type: azure-native:securityinsights:Watchlist
properties:
contentType: string
created: string
createdBy:
objectId: string
defaultDuration: string
description: string
displayName: string
isDeleted: false
itemsSearchKey: string
labels:
- string
numberOfLinesToSkip: 0
provider: string
rawContent: string
resourceGroupName: string
source: string
tenantId: string
updated: string
updatedBy:
objectId: string
uploadStatus: string
watchlistAlias: string
watchlistId: string
watchlistType: string
workspaceName: string
Watchlist 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 Watchlist resource accepts the following input properties:
- Display
Name string - The display name of the watchlist
- Items
Search stringKey - The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- Provider string
- The provider of the watchlist
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Source
string | Pulumi.
Azure Native. Security Insights. Source - The source of the watchlist
- Workspace
Name string - The name of the workspace.
- Content
Type string - The content type of the raw content. For now, only text/csv is valid
- Created string
- The time the watchlist was created
- Created
By Pulumi.Azure Native. Security Insights. Inputs. Watchlist User Info - Describes a user that created the watchlist
- Default
Duration string - The default duration of a watchlist (in ISO 8601 duration format)
- Description string
- A description of the watchlist
- Is
Deleted bool - A flag that indicates if the watchlist is deleted or not
- Labels List<string>
- List of labels relevant to this watchlist
- Number
Of intLines To Skip - The number of lines in a csv content to skip before the header
- Raw
Content string - The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- Tenant
Id string - The tenantId where the watchlist belongs to
- Updated string
- The last time the watchlist was updated
- Updated
By Pulumi.Azure Native. Security Insights. Inputs. Watchlist User Info - Describes a user that updated the watchlist
- Upload
Status string - The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- Watchlist
Alias string - The alias of the watchlist
- Watchlist
Id string - The id (a Guid) of the watchlist
- Watchlist
Type string - The type of the watchlist
- Display
Name string - The display name of the watchlist
- Items
Search stringKey - The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- Provider string
- The provider of the watchlist
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Source string | Source
- The source of the watchlist
- Workspace
Name string - The name of the workspace.
- Content
Type string - The content type of the raw content. For now, only text/csv is valid
- Created string
- The time the watchlist was created
- Created
By WatchlistUser Info Args - Describes a user that created the watchlist
- Default
Duration string - The default duration of a watchlist (in ISO 8601 duration format)
- Description string
- A description of the watchlist
- Is
Deleted bool - A flag that indicates if the watchlist is deleted or not
- Labels []string
- List of labels relevant to this watchlist
- Number
Of intLines To Skip - The number of lines in a csv content to skip before the header
- Raw
Content string - The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- Tenant
Id string - The tenantId where the watchlist belongs to
- Updated string
- The last time the watchlist was updated
- Updated
By WatchlistUser Info Args - Describes a user that updated the watchlist
- Upload
Status string - The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- Watchlist
Alias string - The alias of the watchlist
- Watchlist
Id string - The id (a Guid) of the watchlist
- Watchlist
Type string - The type of the watchlist
- display
Name String - The display name of the watchlist
- items
Search StringKey - The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- provider String
- The provider of the watchlist
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- source String | Source
- The source of the watchlist
- workspace
Name String - The name of the workspace.
- content
Type String - The content type of the raw content. For now, only text/csv is valid
- created String
- The time the watchlist was created
- created
By WatchlistUser Info - Describes a user that created the watchlist
- default
Duration String - The default duration of a watchlist (in ISO 8601 duration format)
- description String
- A description of the watchlist
- is
Deleted Boolean - A flag that indicates if the watchlist is deleted or not
- labels List<String>
- List of labels relevant to this watchlist
- number
Of IntegerLines To Skip - The number of lines in a csv content to skip before the header
- raw
Content String - The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- tenant
Id String - The tenantId where the watchlist belongs to
- updated String
- The last time the watchlist was updated
- updated
By WatchlistUser Info - Describes a user that updated the watchlist
- upload
Status String - The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- watchlist
Alias String - The alias of the watchlist
- watchlist
Id String - The id (a Guid) of the watchlist
- watchlist
Type String - The type of the watchlist
- display
Name string - The display name of the watchlist
- items
Search stringKey - The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- provider string
- The provider of the watchlist
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- source string | Source
- The source of the watchlist
- workspace
Name string - The name of the workspace.
- content
Type string - The content type of the raw content. For now, only text/csv is valid
- created string
- The time the watchlist was created
- created
By WatchlistUser Info - Describes a user that created the watchlist
- default
Duration string - The default duration of a watchlist (in ISO 8601 duration format)
- description string
- A description of the watchlist
- is
Deleted boolean - A flag that indicates if the watchlist is deleted or not
- labels string[]
- List of labels relevant to this watchlist
- number
Of numberLines To Skip - The number of lines in a csv content to skip before the header
- raw
Content string - The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- tenant
Id string - The tenantId where the watchlist belongs to
- updated string
- The last time the watchlist was updated
- updated
By WatchlistUser Info - Describes a user that updated the watchlist
- upload
Status string - The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- watchlist
Alias string - The alias of the watchlist
- watchlist
Id string - The id (a Guid) of the watchlist
- watchlist
Type string - The type of the watchlist
- display_
name str - The display name of the watchlist
- items_
search_ strkey - The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- provider str
- The provider of the watchlist
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- source str | Source
- The source of the watchlist
- workspace_
name str - The name of the workspace.
- content_
type str - The content type of the raw content. For now, only text/csv is valid
- created str
- The time the watchlist was created
- created_
by WatchlistUser Info Args - Describes a user that created the watchlist
- default_
duration str - The default duration of a watchlist (in ISO 8601 duration format)
- description str
- A description of the watchlist
- is_
deleted bool - A flag that indicates if the watchlist is deleted or not
- labels Sequence[str]
- List of labels relevant to this watchlist
- number_
of_ intlines_ to_ skip - The number of lines in a csv content to skip before the header
- raw_
content str - The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- tenant_
id str - The tenantId where the watchlist belongs to
- updated str
- The last time the watchlist was updated
- updated_
by WatchlistUser Info Args - Describes a user that updated the watchlist
- upload_
status str - The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- watchlist_
alias str - The alias of the watchlist
- watchlist_
id str - The id (a Guid) of the watchlist
- watchlist_
type str - The type of the watchlist
- display
Name String - The display name of the watchlist
- items
Search StringKey - The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- provider String
- The provider of the watchlist
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- source String | "Local file" | "Remote storage"
- The source of the watchlist
- workspace
Name String - The name of the workspace.
- content
Type String - The content type of the raw content. For now, only text/csv is valid
- created String
- The time the watchlist was created
- created
By Property Map - Describes a user that created the watchlist
- default
Duration String - The default duration of a watchlist (in ISO 8601 duration format)
- description String
- A description of the watchlist
- is
Deleted Boolean - A flag that indicates if the watchlist is deleted or not
- labels List<String>
- List of labels relevant to this watchlist
- number
Of NumberLines To Skip - The number of lines in a csv content to skip before the header
- raw
Content String - The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- tenant
Id String - The tenantId where the watchlist belongs to
- updated String
- The last time the watchlist was updated
- updated
By Property Map - Describes a user that updated the watchlist
- upload
Status String - The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- watchlist
Alias String - The alias of the watchlist
- watchlist
Id String - The id (a Guid) of the watchlist
- watchlist
Type String - The type of the watchlist
Outputs
All input properties are implicitly available as output properties. Additionally, the Watchlist resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Security Insights. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Etag string
- Etag of the azure resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Etag string
- Etag of the azure resource
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- Etag of the azure resource
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag string
- Etag of the azure resource
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag str
- Etag of the azure resource
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- Etag of the azure resource
Supporting Types
Source, SourceArgs
- Local_
file - Local file
- Remote_
storage - Remote storage
- Source_Local_
file - Local file
- Source_Remote_
storage - Remote storage
- Local_
file - Local file
- Remote_
storage - Remote storage
- Local_
file - Local file
- Remote_
storage - Remote storage
- LOCAL_FILE
- Local file
- REMOTE_STORAGE
- Remote storage
- "Local file"
- Local file
- "Remote storage"
- Remote storage
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
WatchlistUserInfo, WatchlistUserInfoArgs
- Object
Id string - The object id of the user.
- Object
Id string - The object id of the user.
- object
Id String - The object id of the user.
- object
Id string - The object id of the user.
- object_
id str - The object id of the user.
- object
Id String - The object id of the user.
WatchlistUserInfoResponse, WatchlistUserInfoResponseArgs
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:securityinsights:Watchlist highValueAsset /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0