The fileImports resource type is an extension resource, which means you can apply it to another resource.
Use the scope
property on this resource to set the scope for this resource. See Set scope on extension resources in ARM templates.
For a list of changed properties in each API version, see change log.
To create a Microsoft.SecurityInsights/fileImports resource, add the following JSON to your template.
{
"type": "Microsoft.SecurityInsights/fileImports",
"apiVersion": "2023-02-01-preview",
"name": "string",
"scope": "string",
"properties": {
"contentType": "string",
"importFile": {
"fileFormat": "string",
"fileName": "string",
"fileSize": "int"
},
"ingestionMode": "string",
"source": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.SecurityInsights/fileImports' |
apiVersion | The resource api version | '2023-02-01-preview' |
name | The resource name | string (required) |
scope | Use when creating an extension resource at a scope that is different than the deployment scope. | Target resource For JSON, set the value to the full name of the resource to apply the extension resource to. |
properties | File import properties | FileImportProperties |
Name | Description | Value |
---|---|---|
contentType | The content type of this file. | 'BasicIndicator' 'StixIndicator' 'Unspecified' (required) |
importFile | Represents the imported file. | FileMetadata (required) |
ingestionMode | Describes how to ingest the records in the file. | 'IngestAnyValidRecords' 'IngestOnlyIfAllAreValid' 'Unspecified' (required) |
source | The source for the data in the file. | string (required) |
Name | Description | Value |
---|---|---|
fileFormat | The format of the file | 'CSV' 'JSON' 'Unspecified' |
fileName | The name of the file. | string |
fileSize | The size of the file. | int |