published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
Represents a file import in Azure Security Insights.
Uses Azure REST API version 2025-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-06-01-preview.
Other available API versions: 2023-03-01-preview, 2023-04-01-preview, 2023-05-01-preview, 2023-06-01-preview, 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-12-01-preview, 2024-01-01-preview, 2024-04-01-preview, 2024-10-01-preview, 2025-04-01-preview, 2025-07-01-preview, 2025-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native securityinsights [ApiVersion]. See the version guide for details.
Example Usage
Create a file import.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var fileImport = new AzureNative.SecurityInsights.FileImport("fileImport", new()
{
ContentType = AzureNative.SecurityInsights.FileImportContentType.StixIndicator,
FileImportId = "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
ImportFile = new AzureNative.SecurityInsights.Inputs.FileMetadataArgs
{
FileFormat = AzureNative.SecurityInsights.FileFormat.JSON,
FileName = "myFile.json",
FileSize = 4653,
},
IngestionMode = AzureNative.SecurityInsights.IngestionMode.IngestAnyValidRecords,
ResourceGroupName = "myRg",
Source = "mySource",
WorkspaceName = "myWorkspace",
});
});
package main
import (
securityinsights "github.com/pulumi/pulumi-azure-native-sdk/securityinsights/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityinsights.NewFileImport(ctx, "fileImport", &securityinsights.FileImportArgs{
ContentType: pulumi.String(securityinsights.FileImportContentTypeStixIndicator),
FileImportId: pulumi.String("73e01a99-5cd7-4139-a149-9f2736ff2ab5"),
ImportFile: &securityinsights.FileMetadataArgs{
FileFormat: pulumi.String(securityinsights.FileFormatJSON),
FileName: pulumi.String("myFile.json"),
FileSize: pulumi.Int(4653),
},
IngestionMode: pulumi.String(securityinsights.IngestionModeIngestAnyValidRecords),
ResourceGroupName: pulumi.String("myRg"),
Source: pulumi.String("mySource"),
WorkspaceName: pulumi.String("myWorkspace"),
})
if err != nil {
return err
}
return nil
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_securityinsights_file_import" "fileImport" {
lifecycle {
create_before_destroy = true
}
content_type = "StixIndicator"
file_import_id = "73e01a99-5cd7-4139-a149-9f2736ff2ab5"
import_file = {
file_format = "JSON"
file_name = "myFile.json"
file_size = 4653
}
ingestion_mode = "IngestAnyValidRecords"
resource_group_name = "myRg"
source = "mySource"
workspace_name = "myWorkspace"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.securityinsights.FileImport;
import com.pulumi.azurenative.securityinsights.FileImportArgs;
import com.pulumi.azurenative.securityinsights.inputs.FileMetadataArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 fileImport = new FileImport("fileImport", FileImportArgs.builder()
.contentType("StixIndicator")
.fileImportId("73e01a99-5cd7-4139-a149-9f2736ff2ab5")
.importFile(FileMetadataArgs.builder()
.fileFormat("JSON")
.fileName("myFile.json")
.fileSize(4653)
.build())
.ingestionMode("IngestAnyValidRecords")
.resourceGroupName("myRg")
.source("mySource")
.workspaceName("myWorkspace")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const fileImport = new azure_native.securityinsights.FileImport("fileImport", {
contentType: azure_native.securityinsights.FileImportContentType.StixIndicator,
fileImportId: "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
importFile: {
fileFormat: azure_native.securityinsights.FileFormat.JSON,
fileName: "myFile.json",
fileSize: 4653,
},
ingestionMode: azure_native.securityinsights.IngestionMode.IngestAnyValidRecords,
resourceGroupName: "myRg",
source: "mySource",
workspaceName: "myWorkspace",
});
import pulumi
import pulumi_azure_native as azure_native
file_import = azure_native.securityinsights.FileImport("fileImport",
content_type=azure_native.securityinsights.FileImportContentType.STIX_INDICATOR,
file_import_id="73e01a99-5cd7-4139-a149-9f2736ff2ab5",
import_file={
"file_format": azure_native.securityinsights.FileFormat.JSON,
"file_name": "myFile.json",
"file_size": 4653,
},
ingestion_mode=azure_native.securityinsights.IngestionMode.INGEST_ANY_VALID_RECORDS,
resource_group_name="myRg",
source="mySource",
workspace_name="myWorkspace")
resources:
fileImport:
type: azure-native:securityinsights:FileImport
properties:
contentType: StixIndicator
fileImportId: 73e01a99-5cd7-4139-a149-9f2736ff2ab5
importFile:
fileFormat: JSON
fileName: myFile.json
fileSize: 4653
ingestionMode: IngestAnyValidRecords
resourceGroupName: myRg
source: mySource
workspaceName: myWorkspace
Create FileImport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileImport(name: string, args: FileImportArgs, opts?: CustomResourceOptions);@overload
def FileImport(resource_name: str,
args: FileImportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FileImport(resource_name: str,
opts: Optional[ResourceOptions] = None,
content_type: Optional[Union[str, FileImportContentType]] = None,
import_file: Optional[FileMetadataArgs] = None,
ingestion_mode: Optional[Union[str, IngestionMode]] = None,
resource_group_name: Optional[str] = None,
source: Optional[str] = None,
workspace_name: Optional[str] = None,
file_import_id: Optional[str] = None)func NewFileImport(ctx *Context, name string, args FileImportArgs, opts ...ResourceOption) (*FileImport, error)public FileImport(string name, FileImportArgs args, CustomResourceOptions? opts = null)
public FileImport(String name, FileImportArgs args)
public FileImport(String name, FileImportArgs args, CustomResourceOptions options)
type: azure-native:securityinsights:FileImport
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_securityinsights_file_import" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FileImportArgs
- 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 FileImportArgs
- 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 FileImportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileImportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileImportArgs
- 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 fileImportResource = new AzureNative.SecurityInsights.FileImport("fileImportResource", new()
{
ContentType = "string",
ImportFile = new AzureNative.SecurityInsights.Inputs.FileMetadataArgs
{
FileFormat = "string",
FileName = "string",
FileSize = 0,
},
IngestionMode = "string",
ResourceGroupName = "string",
Source = "string",
WorkspaceName = "string",
FileImportId = "string",
});
example, err := securityinsights.NewFileImport(ctx, "fileImportResource", &securityinsights.FileImportArgs{
ContentType: pulumi.String("string"),
ImportFile: &securityinsights.FileMetadataArgs{
FileFormat: pulumi.String("string"),
FileName: pulumi.String("string"),
FileSize: pulumi.Int(0),
},
IngestionMode: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Source: pulumi.String("string"),
WorkspaceName: pulumi.String("string"),
FileImportId: pulumi.String("string"),
})
resource "azure-native_securityinsights_file_import" "fileImportResource" {
lifecycle {
create_before_destroy = true
}
content_type = "string"
import_file = {
file_format = "string"
file_name = "string"
file_size = 0
}
ingestion_mode = "string"
resource_group_name = "string"
source = "string"
workspace_name = "string"
file_import_id = "string"
}
var fileImportResource = new FileImport("fileImportResource", FileImportArgs.builder()
.contentType("string")
.importFile(FileMetadataArgs.builder()
.fileFormat("string")
.fileName("string")
.fileSize(0)
.build())
.ingestionMode("string")
.resourceGroupName("string")
.source("string")
.workspaceName("string")
.fileImportId("string")
.build());
file_import_resource = azure_native.securityinsights.FileImport("fileImportResource",
content_type="string",
import_file={
"file_format": "string",
"file_name": "string",
"file_size": 0,
},
ingestion_mode="string",
resource_group_name="string",
source="string",
workspace_name="string",
file_import_id="string")
const fileImportResource = new azure_native.securityinsights.FileImport("fileImportResource", {
contentType: "string",
importFile: {
fileFormat: "string",
fileName: "string",
fileSize: 0,
},
ingestionMode: "string",
resourceGroupName: "string",
source: "string",
workspaceName: "string",
fileImportId: "string",
});
type: azure-native:securityinsights:FileImport
properties:
contentType: string
fileImportId: string
importFile:
fileFormat: string
fileName: string
fileSize: 0
ingestionMode: string
resourceGroupName: string
source: string
workspaceName: string
FileImport 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 FileImport resource accepts the following input properties:
- Content
Type string | Pulumi.Azure Native. Security Insights. File Import Content Type - The content type of this file.
- Import
File Pulumi.Azure Native. Security Insights. Inputs. File Metadata - Represents the imported file.
- Ingestion
Mode string | Pulumi.Azure Native. Security Insights. Ingestion Mode - Describes how to ingest the records in the file.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Source string
- The source for the data in the file.
- Workspace
Name string - The name of the workspace.
- File
Import stringId - File import ID
- Content
Type string | FileImport Content Type - The content type of this file.
- Import
File FileMetadata Args - Represents the imported file.
- Ingestion
Mode string | IngestionMode - Describes how to ingest the records in the file.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Source string
- The source for the data in the file.
- Workspace
Name string - The name of the workspace.
- File
Import stringId - File import ID
- content_
type string | "BasicIndicator" | "Stix Indicator" | "Unspecified" - The content type of this file.
- import_
file object - Represents the imported file.
- ingestion_
mode string | "IngestOnly If All Are Valid" | "Ingest Any Valid Records" | "Unspecified" - Describes how to ingest the records in the file.
- resource_
group_ stringname - The name of the resource group. The name is case insensitive.
- source string
- The source for the data in the file.
- workspace_
name string - The name of the workspace.
- file_
import_ stringid - File import ID
- content
Type String | FileImport Content Type - The content type of this file.
- import
File FileMetadata - Represents the imported file.
- ingestion
Mode String | IngestionMode - Describes how to ingest the records in the file.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- source String
- The source for the data in the file.
- workspace
Name String - The name of the workspace.
- file
Import StringId - File import ID
- content
Type string | FileImport Content Type - The content type of this file.
- import
File FileMetadata - Represents the imported file.
- ingestion
Mode string | IngestionMode - Describes how to ingest the records in the file.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- source string
- The source for the data in the file.
- workspace
Name string - The name of the workspace.
- file
Import stringId - File import ID
- content_
type str | FileImport Content Type - The content type of this file.
- import_
file FileMetadata Args - Represents the imported file.
- ingestion_
mode str | IngestionMode - Describes how to ingest the records in the file.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- source str
- The source for the data in the file.
- workspace_
name str - The name of the workspace.
- file_
import_ strid - File import ID
- content
Type String | "BasicIndicator" | "Stix Indicator" | "Unspecified" - The content type of this file.
- import
File Property Map - Represents the imported file.
- ingestion
Mode String | "IngestOnly If All Are Valid" | "Ingest Any Valid Records" | "Unspecified" - Describes how to ingest the records in the file.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- source String
- The source for the data in the file.
- workspace
Name String - The name of the workspace.
- file
Import StringId - File import ID
Outputs
All input properties are implicitly available as output properties. Additionally, the FileImport resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Created
Time stringUTC - The time the file was imported.
- Error
File Pulumi.Azure Native. Security Insights. Outputs. File Metadata Response - Represents the error file (if the import was ingested with errors or failed the validation).
- Errors
Preview List<Pulumi.Azure Native. Security Insights. Outputs. Validation Error Response> - An ordered list of some of the errors that were encountered during validation.
- Files
Valid stringUntil Time UTC - The time the files associated with this import are deleted from the storage account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Import
Valid stringUntil Time UTC - The time the file import record is soft deleted from the database and history.
- Ingested
Record intCount - The number of records that have been successfully ingested.
- Name string
- The name of the resource
- State string
- The state of the file import.
- System
Data Pulumi.Azure Native. Security Insights. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Total
Record intCount - The number of records in the file.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Valid
Record intCount - The number of records that have passed validation.
- Azure
Api stringVersion - The Azure API version of the resource.
- Created
Time stringUTC - The time the file was imported.
- Error
File FileMetadata Response - Represents the error file (if the import was ingested with errors or failed the validation).
- Errors
Preview []ValidationError Response - An ordered list of some of the errors that were encountered during validation.
- Files
Valid stringUntil Time UTC - The time the files associated with this import are deleted from the storage account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Import
Valid stringUntil Time UTC - The time the file import record is soft deleted from the database and history.
- Ingested
Record intCount - The number of records that have been successfully ingested.
- Name string
- The name of the resource
- State string
- The state of the file import.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Total
Record intCount - The number of records in the file.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Valid
Record intCount - The number of records that have passed validation.
- azure_
api_ stringversion - The Azure API version of the resource.
- created_
time_ stringutc - The time the file was imported.
- error_
file object - Represents the error file (if the import was ingested with errors or failed the validation).
- errors_
preview list(object) - An ordered list of some of the errors that were encountered during validation.
- files_
valid_ stringuntil_ time_ utc - The time the files associated with this import are deleted from the storage account.
- id string
- The provider-assigned unique ID for this managed resource.
- import_
valid_ stringuntil_ time_ utc - The time the file import record is soft deleted from the database and history.
- ingested_
record_ numbercount - The number of records that have been successfully ingested.
- name string
- The name of the resource
- state string
- The state of the file import.
- system_
data object - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total_
record_ numbercount - The number of records in the file.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- valid_
record_ numbercount - The number of records that have passed validation.
- azure
Api StringVersion - The Azure API version of the resource.
- created
Time StringUTC - The time the file was imported.
- error
File FileMetadata Response - Represents the error file (if the import was ingested with errors or failed the validation).
- errors
Preview List<ValidationError Response> - An ordered list of some of the errors that were encountered during validation.
- files
Valid StringUntil Time UTC - The time the files associated with this import are deleted from the storage account.
- id String
- The provider-assigned unique ID for this managed resource.
- import
Valid StringUntil Time UTC - The time the file import record is soft deleted from the database and history.
- ingested
Record IntegerCount - The number of records that have been successfully ingested.
- name String
- The name of the resource
- state String
- The state of the file import.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total
Record IntegerCount - The number of records in the file.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- valid
Record IntegerCount - The number of records that have passed validation.
- azure
Api stringVersion - The Azure API version of the resource.
- created
Time stringUTC - The time the file was imported.
- error
File FileMetadata Response - Represents the error file (if the import was ingested with errors or failed the validation).
- errors
Preview ValidationError Response[] - An ordered list of some of the errors that were encountered during validation.
- files
Valid stringUntil Time UTC - The time the files associated with this import are deleted from the storage account.
- id string
- The provider-assigned unique ID for this managed resource.
- import
Valid stringUntil Time UTC - The time the file import record is soft deleted from the database and history.
- ingested
Record numberCount - The number of records that have been successfully ingested.
- name string
- The name of the resource
- state string
- The state of the file import.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total
Record numberCount - The number of records in the file.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- valid
Record numberCount - The number of records that have passed validation.
- azure_
api_ strversion - The Azure API version of the resource.
- created_
time_ strutc - The time the file was imported.
- error_
file FileMetadata Response - Represents the error file (if the import was ingested with errors or failed the validation).
- errors_
preview Sequence[ValidationError Response] - An ordered list of some of the errors that were encountered during validation.
- files_
valid_ struntil_ time_ utc - The time the files associated with this import are deleted from the storage account.
- id str
- The provider-assigned unique ID for this managed resource.
- import_
valid_ struntil_ time_ utc - The time the file import record is soft deleted from the database and history.
- ingested_
record_ intcount - The number of records that have been successfully ingested.
- name str
- The name of the resource
- state str
- The state of the file import.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total_
record_ intcount - The number of records in the file.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- valid_
record_ intcount - The number of records that have passed validation.
- azure
Api StringVersion - The Azure API version of the resource.
- created
Time StringUTC - The time the file was imported.
- error
File Property Map - Represents the error file (if the import was ingested with errors or failed the validation).
- errors
Preview List<Property Map> - An ordered list of some of the errors that were encountered during validation.
- files
Valid StringUntil Time UTC - The time the files associated with this import are deleted from the storage account.
- id String
- The provider-assigned unique ID for this managed resource.
- import
Valid StringUntil Time UTC - The time the file import record is soft deleted from the database and history.
- ingested
Record NumberCount - The number of records that have been successfully ingested.
- name String
- The name of the resource
- state String
- The state of the file import.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- total
Record NumberCount - The number of records in the file.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- valid
Record NumberCount - The number of records that have passed validation.
Look up Existing FileImport Resource
Get an existing FileImport 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>, opts?: CustomResourceOptions): FileImport@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> FileImportfunc GetFileImport(ctx *Context, name string, id IDInput, state *FileImportState, opts ...ResourceOption) (*FileImport, error)public static FileImport Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static FileImport get(String name, Output<String> id, CustomResourceOptions options)resources: existingFileImport: type: azure-native:securityinsights:FileImport get: id: ${id}import {
to = azure-native_securityinsights_file_import.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state FileImportState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
FileFormat
The format of the file
| Name | Value | Description |
|---|---|---|
| CSV | CSV | A CSV file. |
| JSON | JSON | A JSON file. |
| Unspecified | Unspecified | A file of other format. |
| Name | Value | Description |
|---|---|---|
| File | CSV | A CSV file. |
| File | JSON | A JSON file. |
| File | Unspecified | A file of other format. |
| Value | Description |
|---|---|
CSV | A CSV file. |
JSON | A JSON file. |
Unspecified | A file of other format. |
| Name | Value | Description |
|---|---|---|
| CSV | CSV | A CSV file. |
| JSON | JSON | A JSON file. |
| Unspecified | Unspecified | A file of other format. |
| Name | Value | Description |
|---|---|---|
| CSV | CSV | A CSV file. |
| JSON | JSON | A JSON file. |
| Unspecified | Unspecified | A file of other format. |
| Name | Value | Description |
|---|---|---|
| CSV | CSV | A CSV file. |
| JSON | JSON | A JSON file. |
| UNSPECIFIED | Unspecified | A file of other format. |
| Value | Description |
|---|---|
CSV | A CSV file. |
JSON | A JSON file. |
Unspecified | A file of other format. |
FileImportContentType
The content type of this file.
| Name | Value | Description |
|---|---|---|
| Basic | BasicIndicator | File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. |
| Stix | StixIndicator | File containing STIX indicators. |
| Unspecified | Unspecified | File containing other records. |
| Name | Value | Description |
|---|---|---|
| File | BasicIndicator | File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. |
| File | StixIndicator | File containing STIX indicators. |
| File | Unspecified | File containing other records. |
| Value | Description |
|---|---|
BasicIndicator | File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. |
StixIndicator | File containing STIX indicators. |
Unspecified | File containing other records. |
| Name | Value | Description |
|---|---|---|
| Basic | BasicIndicator | File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. |
| Stix | StixIndicator | File containing STIX indicators. |
| Unspecified | Unspecified | File containing other records. |
| Name | Value | Description |
|---|---|---|
| Basic | BasicIndicator | File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. |
| Stix | StixIndicator | File containing STIX indicators. |
| Unspecified | Unspecified | File containing other records. |
| Name | Value | Description |
|---|---|---|
| BASIC_INDICATOR | BasicIndicator | File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. |
| STIX_INDICATOR | StixIndicator | File containing STIX indicators. |
| UNSPECIFIED | Unspecified | File containing other records. |
| Value | Description |
|---|---|
BasicIndicator | File containing records with the core fields of an indicator, plus the observables to construct the STIX pattern. |
StixIndicator | File containing STIX indicators. |
Unspecified | File containing other records. |
FileMetadata, FileMetadataArgs
Represents a file.
- File
Format string | Pulumi.Azure Native. Security Insights. File Format - The format of the file
- File
Name string - The name of the file.
- File
Size int - The size of the file.
- File
Format string | FileFormat - The format of the file
- File
Name string - The name of the file.
- File
Size int - The size of the file.
- file_
format string | "CSV" | "JSON" | "Unspecified" - The format of the file
- file_
name string - The name of the file.
- file_
size number - The size of the file.
- file
Format String | FileFormat - The format of the file
- file
Name String - The name of the file.
- file
Size Integer - The size of the file.
- file
Format string | FileFormat - The format of the file
- file
Name string - The name of the file.
- file
Size number - The size of the file.
- file_
format str | FileFormat - The format of the file
- file_
name str - The name of the file.
- file_
size int - The size of the file.
- file
Format String | "CSV" | "JSON" | "Unspecified" - The format of the file
- file
Name String - The name of the file.
- file
Size Number - The size of the file.
FileMetadataResponse
Represents a file.
- Delete
Status string - Indicates whether the file was deleted from the storage account.
- File
Content stringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- File
Format string - The format of the file
- File
Name string - The name of the file.
- File
Size int - The size of the file.
- Delete
Status string - Indicates whether the file was deleted from the storage account.
- File
Content stringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- File
Format string - The format of the file
- File
Name string - The name of the file.
- File
Size int - The size of the file.
- delete_
status string - Indicates whether the file was deleted from the storage account.
- file_
content_ stringuri - A URI with a valid SAS token to allow uploading / downloading the file.
- file_
format string - The format of the file
- file_
name string - The name of the file.
- file_
size number - The size of the file.
- delete
Status String - Indicates whether the file was deleted from the storage account.
- file
Content StringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- file
Format String - The format of the file
- file
Name String - The name of the file.
- file
Size Integer - The size of the file.
- delete
Status string - Indicates whether the file was deleted from the storage account.
- file
Content stringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- file
Format string - The format of the file
- file
Name string - The name of the file.
- file
Size number - The size of the file.
- delete_
status str - Indicates whether the file was deleted from the storage account.
- file_
content_ struri - A URI with a valid SAS token to allow uploading / downloading the file.
- file_
format str - The format of the file
- file_
name str - The name of the file.
- file_
size int - The size of the file.
- delete
Status String - Indicates whether the file was deleted from the storage account.
- file
Content StringUri - A URI with a valid SAS token to allow uploading / downloading the file.
- file
Format String - The format of the file
- file
Name String - The name of the file.
- file
Size Number - The size of the file.
IngestionMode
Describes how to ingest the records in the file.
| Name | Value | Description |
|---|---|---|
| Ingest | IngestOnlyIfAllAreValid | No records should be ingested when invalid records are detected. |
| Ingest | IngestAnyValidRecords | Valid records should still be ingested when invalid records are detected. |
| Unspecified | Unspecified | Unspecified |
| Name | Value | Description |
|---|---|---|
| Ingestion | IngestOnlyIfAllAreValid | No records should be ingested when invalid records are detected. |
| Ingestion | IngestAnyValidRecords | Valid records should still be ingested when invalid records are detected. |
| Ingestion | Unspecified | Unspecified |
| Value | Description |
|---|---|
IngestOnlyIfAllAreValid | No records should be ingested when invalid records are detected. |
IngestAnyValidRecords | Valid records should still be ingested when invalid records are detected. |
Unspecified | Unspecified |
| Name | Value | Description |
|---|---|---|
| Ingest | IngestOnlyIfAllAreValid | No records should be ingested when invalid records are detected. |
| Ingest | IngestAnyValidRecords | Valid records should still be ingested when invalid records are detected. |
| Unspecified | Unspecified | Unspecified |
| Name | Value | Description |
|---|---|---|
| Ingest | IngestOnlyIfAllAreValid | No records should be ingested when invalid records are detected. |
| Ingest | IngestAnyValidRecords | Valid records should still be ingested when invalid records are detected. |
| Unspecified | Unspecified | Unspecified |
| Name | Value | Description |
|---|---|---|
| INGEST_ONLY_IF_ALL_ARE_VALID | IngestOnlyIfAllAreValid | No records should be ingested when invalid records are detected. |
| INGEST_ANY_VALID_RECORDS | IngestAnyValidRecords | Valid records should still be ingested when invalid records are detected. |
| UNSPECIFIED | Unspecified | Unspecified |
| Value | Description |
|---|---|
IngestOnlyIfAllAreValid | No records should be ingested when invalid records are detected. |
IngestAnyValidRecords | Valid records should still be ingested when invalid records are detected. |
Unspecified | Unspecified |
SystemDataResponse
Metadata pertaining to creation and last modification of 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 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.
ValidationErrorResponse
Describes an error encountered in the file during validation.
- Error
Messages List<string> - A list of descriptions of the error.
- Record
Index int - The number of the record that has the error.
- Error
Messages []string - A list of descriptions of the error.
- Record
Index int - The number of the record that has the error.
- error_
messages list(string) - A list of descriptions of the error.
- record_
index number - The number of the record that has the error.
- error
Messages List<String> - A list of descriptions of the error.
- record
Index Integer - The number of the record that has the error.
- error
Messages string[] - A list of descriptions of the error.
- record
Index number - The number of the record that has the error.
- error_
messages Sequence[str] - A list of descriptions of the error.
- record_
index int - The number of the record that has the error.
- error
Messages List<String> - A list of descriptions of the error.
- record
Index Number - The number of the record that has the error.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:securityinsights:FileImport 73e01a99-5cd7-4139-a149-9f2736ff2ab5 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/fileImports/{fileImportId}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Wednesday, Nov 18, 2026 by Pulumi