Skip to content

filevantage_policy_precedence

This resource allows you to set the precedence of FileVantage Policies based on the order of IDs.

The following API scopes are required:

  • Falcon FileVantage: READ
  • Falcon FileVantage: WRITE
terraform {
required_providers {
crowdstrike = {
source = "registry.terraform.io/crowdstrike/crowdstrike"
}
}
}
provider "crowdstrike" {
cloud = "us-2"
}
resource "crowdstrike_filevantage_policy_precedence" "windows" {
ids = [
"12345678901234567890123456789012",
"abcdefabcdefabcdefabcdefabcdefab",
"11111111222222223333333344444444",
]
platform_name = "windows"
enforcement = "dynamic"
}
resource "crowdstrike_filevantage_policy_precedence" "linux" {
ids = [
"aaaabbbbccccddddeeeeffffaaaabbbb",
"55555555666666667777777788888888",
]
platform_name = "linux"
enforcement = "dynamic"
}
resource "crowdstrike_filevantage_policy_precedence" "mac" {
ids = [
"deadbeefdeadbeefdeadbeefdeadbeef",
"cafebabecafebabecafebabecafebabe",
]
platform_name = "mac"
enforcement = "dynamic"
}
  • enforcement (String) The enforcement type for this resource. strict requires all non-default filevantage policy ids for platform to be provided. dynamic will ensure the provided policies have precedence over others. When using dynamic, policy ids not included in ids will retain their current ordering after the managed ids.
  • ids (List of String) The policy ids in order. The first ID specified will have the highest precedence and the last ID specified will have the lowest.
  • platform_name (String) That platform of the filevantage policies. (Windows, Mac, Linux)
  • last_updated (String) Timestamp of the last Terraform update of the resource.