> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.endorlabs.com/feedback

```json
{
  "path": "/scan/sast/manage-sast-rules/edit-a-sast-rule/index",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Edit a SAST rule

You can edit only the custom SAST rules. You cannot edit or delete Endor Labs or third-party rules.

To edit a SAST rule:

1. Select **Policies & Rules** > **SAST RULES** from the left sidebar.

2. Click edit next to a rule and select **Edit Rule**.

   <img src="https://mintcdn.com/endorlabs-b4795f4f/266r_aE9BWR2B51C/images/scan/sast/SAST_editrule.webp?fit=max&auto=format&n=266r_aE9BWR2B51C&q=85&s=d871f4a7098493ccf45252528286cd22" alt="Edit SAST rule" width="749" height="803" data-path="images/scan/sast/SAST_editrule.webp" />

3. After you complete the edits, click **Save** to save the rule.
   You can also delete or disable a rule from the Edit SAST Rule screen.
