Flipt
featureflags.flipt
Protects against destructive Flipt CLI and API operations.
- 8blocking rules
- 18safe patterns
- 2Critical
- 4High
- 2Medium
[packs]
enabled = ["featureflags.flipt"]Evaluated when a command contains flipt.
Blocking rules
Each rule ID is featureflags.flipt:<name>. Use it in allowlists and [policy.rules].
Criticalflipt-flag-deleteflipt flag delete permanently removes a feature flag. This cannot be undone.
Explanation
Deleting a Flipt feature flag immediately removes it from evaluation. All applications checking this flag will receive default values or errors. Rules, variants, and distributions associated with the flag are also removed. Safer alternatives: - flipt flag get: Review flag configuration first - Disable the flag instead of deleting - Export flag configuration before deletion
Criticalflipt-namespace-deleteflipt namespace delete removes a namespace and all its flags, segments, and rules.
Explanation
Deleting a namespace removes ALL flags, segments, rules, and constraints within it. This is a complete wipe of that feature flag environment. All applications using this namespace will lose flag evaluations. Safer alternatives: - flipt namespace get: Review namespace contents - Export all flags and segments before deletion - Migrate resources to another namespace first
Highflipt-api-deleteDELETE request to Flipt API can remove flags, segments, or rules.
Explanation
Direct API DELETE calls to Flipt can remove flags, segments, rules, or namespaces without CLI confirmation prompts. API deletions take effect immediately across all connected applications. Safer alternatives: - Use the Flipt CLI for better confirmation prompts - GET the resource first to verify what will be deleted - Use the Flipt UI for visibility into dependencies
Highflipt-rule-deleteflipt rule delete removes a targeting rule from a flag.
Explanation
Deleting a rule changes how the flag evaluates for targeted users. Users previously matching this rule will fall through to other rules or receive the default variant. Safer alternatives: - flipt rule get: Review rule configuration - Disable the rule instead of deleting - Verify other rules handle affected users
Highflipt-segment-deleteflipt segment delete removes a segment and its constraints.
Explanation
Deleting a segment removes user grouping rules. Any flags using this segment for targeting will lose that targeting logic, potentially changing which users receive which variants. Safer alternatives: - flipt segment get: Review segment configuration - Check which flags reference this segment - Update flags to use different segments first
Highflipt-variant-deleteflipt variant delete removes a variant from a flag.
Explanation
Deleting a variant removes a possible flag value. Rules distributing traffic to this variant will fail or need adjustment. Applications expecting this variant value may break. Safer alternatives: - Check which rules reference this variant - Update distributions before deleting - Zero out traffic to this variant first
Mediumflipt-constraint-deleteflipt constraint delete removes a constraint from a segment.
Explanation
Removing a constraint changes segment membership. Users previously excluded or included by this constraint will now match or not match the segment differently. Safer alternatives: - Review segment membership before and after - Test constraint changes in a staging namespace - Document why the constraint is being removed
Mediumflipt-distribution-deleteflipt distribution delete removes a distribution from a rule.
Explanation
Removing a distribution changes traffic allocation within a rule. The affected variant will no longer receive traffic from this rule, shifting all traffic to remaining distributions. Safer alternatives: - Review current traffic allocation - Adjust percentages instead of deleting - Verify other distributions handle the traffic
Safe patterns
Checked first. A command that matches one is never blocked by this pack.
flipt-flag-listflipt-flag-getflipt-flag-createflipt-flag-updateflipt-segment-listflipt-segment-getflipt-segment-createflipt-namespace-listflipt-namespace-getflipt-namespace-createflipt-rule-listflipt-rule-getflipt-rule-createflipt-evaluateflipt-helpflipt-versionflipt-serverflipt-config