Skip to content

data_protection_file_type

This data source provides information about a single file type in the Falcon Data Protection file type catalog. File types are a CrowdStrike-managed reference catalog (for example PDF, DOCX, and source code file types) used when configuring Data Protection policies. Use this to look up a file type by ID or name and reference its attributes in other resources. This is a read-only catalog API; there is no corresponding resource to create, update, or delete file types.

The following API scopes are required:

  • Data Protection: READ
terraform {
required_providers {
crowdstrike = {
source = "registry.terraform.io/crowdstrike/crowdstrike"
}
}
}
provider "crowdstrike" {
cloud = "us-2"
}
# Look up a file type by name.
data "crowdstrike_data_protection_file_type" "by_name" {
name = "PDF"
}
# Look up a file type by ID.
data "crowdstrike_data_protection_file_type" "by_id" {
id = "00000000-0000-0000-0000-000000000000"
}
output "file_type" {
value = data.crowdstrike_data_protection_file_type.by_name
}
  • id (String) The ID of the file type. Exactly one of id or name must be provided.
  • name (String) The name of the file type (for example PDF or Microsoft Word). Exactly one of id or name must be provided.
  • category_id (String) The ID of the category the file type belongs to.
  • created (String) The timestamp when the file type was created.
  • description (String) The description of the file type.
  • last_updated (String) The timestamp when the file type was last updated.
  • supported_platforms (List of String) The platforms that support this file type.
  • supports_content_inspection (Boolean) Whether this file type supports content inspection.
  • supports_mip_extraction (Boolean) Whether this file type supports Microsoft Information Protection (MIP) label extraction.