> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/appsec-rules/ci-cd-security/flow-control-mechanism.md).

# Flow Control Mechanism

| Rule Name                                                                                                                                                                            | AppSec Rule ID    | Severity |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------- | -------- |
| [Actively used repository lacks branch protection rules](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-2.md)                                                       | APPSEC\_CICD\_2   | MEDIUM   |
| [Actively used GitLab repository lacks branch protection rules](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-3.md)                                                | APPSEC\_CICD\_3   | MEDIUM   |
| [Actively used BitBucket repository lacks branch protection rules](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-4.md)                                             | APPSEC\_CICD\_4   | MEDIUM   |
| [Branch protection not enforced on administrators](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-33.md)                                                            | APPSEC\_CICD\_33  | LOW      |
| [Pull request reviews not required before merging to the default branch](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-34.md)                                      | APPSEC\_CICD\_34  | MEDIUM   |
| [Required reviews can be bypassed using GitHub Actions](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-53.md)                                                       | APPSEC\_CICD\_53  | HIGH     |
| [Pull request reviews in BitBucket not required before merging code to default branch](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-68.md)                        | APPSEC\_CICD\_68  | MEDIUM   |
| [Push restrictions not enforced on the default branch](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-69.md)                                                        | APPSEC\_CICD\_69  | MEDIUM   |
| [Merge request approvals not required for default branch](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-79.md)                                                     | APPSEC\_CICD\_79  | MEDIUM   |
| [GitLab branch protection rule allows push to default branch](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-83.md)                                                 | APPSEC\_CICD\_83  | LOW      |
| ["Require review from Code Owners" Branch Protection rule was disabled](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-116.md)                                      | APPSEC\_CICD\_116 | MEDIUM   |
| [Reviews may no longer be required before merging](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-142.md)                                                           | APPSEC\_CICD\_142 | MEDIUM   |
| [Repository does not dismiss pull request approvals on the default branch when new commits are pushed](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-152.md)       | APPSEC\_CICD\_152 | MEDIUM   |
| [Pull request reviews are not required in Azure Repos before merging to the default branch](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-179.md)                  | APPSEC\_CICD\_179 | MEDIUM   |
| [Requestors allowed to self-approve pull requests on default branch](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-180.md)                                         | APPSEC\_CICD\_180 | MEDIUM   |
| [Code owners reviews not required before merging to the default branch](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-187.md)                                      | APPSEC\_CICD\_187 | MEDIUM   |
| [Merging to default branch with outdated code allowed](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-197.md)                                                       | APPSEC\_CICD\_197 | LOW      |
| [Azure repository does not dismiss pull request approvals on the default branch when new commits are pushed](/appsec-rules/ci-cd-security/flow-control-mechanism/appsec-cicd-262.md) | APPSEC\_CICD\_262 | MEDIUM   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/appsec-rules/ci-cd-security/flow-control-mechanism.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
