Skip to content

rtr_put_file

This data source provides information about a single RTR put file in Falcon. Use this to look up a put file by name or ID and reference its attributes in other resources.

The following API scopes are required:

  • Real Time Response (Admin): READ
terraform {
required_providers {
crowdstrike = {
source = "registry.terraform.io/crowdstrike/crowdstrike"
}
}
}
provider "crowdstrike" {
cloud = "us-2"
}
# Look up an RTR put file by name
data "crowdstrike_rtr_put_file" "by_name" {
name = "my-put-file"
}
# Look up an RTR put file by ID
data "crowdstrike_rtr_put_file" "by_id" {
id = "abc123def456"
}
output "put_file_sha256" {
value = data.crowdstrike_rtr_put_file.by_name.sha256
}
  • id (String) The RTR put file ID. Exactly one of ‘id’ or ‘name’ must be provided.
  • name (String) The RTR put file name. Exactly one of ‘id’ or ‘name’ must be provided.
  • comments_for_audit_log (String) Audit log comment for the put file creation.
  • created_by (String) User who created the file.
  • created_timestamp (String) Timestamp when the file was created.
  • description (String) Description of the RTR put file.
  • file_type (String) Detected file type.
  • modified_by (String) User who last modified the file.
  • modified_timestamp (String) Timestamp when the file was last modified.
  • permission_type (String) Permission type of the file.
  • platform (List of String) Platforms the file is available on.
  • sha256 (String) SHA256 hash of the uploaded file.
  • size (Number) Size of the uploaded file in bytes.