Skip to content

Commit

Permalink
Update policy_management.md
Browse files Browse the repository at this point in the history
  • Loading branch information
furi0us333 authored Aug 7, 2024
1 parent beb56ef commit d46bf28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/knowledge_base/policy_management.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Policy Management

## Add custom policy

Phylum allows group administrators to upload and apply custom policies. Whether added via the project or group view, these policies are stored at the group level and available to all projects in the group.

![Project custom policy button](../../assets/project_custom_policy_button.png)

The Phylum UI uses the metadata at the top of the rego to display a `title` and `description` for the policy list, so this data is highly recommended.
The Phylum UI uses the metadata at the top of the policy file (rego) to display a `title` and `description` for the policy list, so this data is highly recommended.

## Remove custom policy

Removal of a custom policy requires the policy to be inactive on all projects. Removal is a destructive action and can only be performed by a group administrator. Phylum-provided policies cannot be removed from the available list. To remove a custom policy from the group, use the trash can icon on the policy tab of the group details view.

![Remove custom policy](../../assets/remove_custom_policy.png)

0 comments on commit d46bf28

Please sign in to comment.