filevantage_policy_precedence
This resource allows you to set the precedence of FileVantage Policies based on the order of IDs.
API Scopes
Section titled “API Scopes”The following API scopes are required:
- Falcon FileVantage: READ
- Falcon FileVantage: WRITE
Example Usage
Section titled “Example Usage”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"}Schema
Section titled “Schema”Required
Section titled “Required”enforcement(String) The enforcement type for this resource.strictrequires all non-default filevantage policy ids for platform to be provided.dynamicwill ensure the provided policies have precedence over others. When using dynamic, policy ids not included inidswill 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)
Read-Only
Section titled “Read-Only”last_updated(String) Timestamp of the last Terraform update of the resource.