> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
