content_update_policy_precedence
This resource allows you to set the precedence of Content Update Policies based on the order of IDs.
In a Flight Control (MSSP) environment the precedence API only manages the policies that belong to the CID authenticated by the provider. Policies belonging to other CIDs (parent or child) are returned by the API but cannot be reordered, so they are excluded automatically. Resolving the authenticated CID requires the Sensor Download: Read scope; without it, precedence can only be managed for tenants that are not part of a Flight Control hierarchy.
API Scopes
Section titled “API Scopes”The following API scopes are required:
- Content Update Policy: READ
- Content Update Policy: WRITE
- Sensor Download: READ
Example Usage
Section titled “Example Usage”terraform { required_providers { crowdstrike = { source = "registry.terraform.io/crowdstrike/crowdstrike" } }}
provider "crowdstrike" { cloud = "us-2"}
resource "crowdstrike_content_update_policy_precedence" "example" { ids = [ "1234567890abcdef1234567890abcdef", "abcdef1234567890abcdef1234567890", ] enforcement = "dynamic"}Schema
Section titled “Schema”Required
Section titled “Required”enforcement(String) The enforcement type for this resource.strictrequires all non-default content update policy ids 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.
Read-Only
Section titled “Read-Only”last_updated(String) Timestamp of the last Terraform update of the resource.