> 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/credential-hygiene.md).

# Credential Hygiene

| Rule Name                                                                                                                                      | AppSec Rule ID    | Severity |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | -------- |
| [Jenkins credentials stored with global scope](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-38.md)                              | APPSEC\_CICD\_38  | HIGH     |
| [Variable is not scoped to an environment](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-74.md)                                  | APPSEC\_CICD\_74  | MEDIUM   |
| [Accesses to cloud providers using insecure long-term credentials](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-75.md)          | APPSEC\_CICD\_75  | MEDIUM   |
| [GitLab CI/CD accesses cloud provider using insecure long-term credentials](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-78.md) | APPSEC\_CICD\_78  | MEDIUM   |
| [Secrets detected in pipeline's console output](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-84.md)                             | APPSEC\_CICD\_84  | MEDIUM   |
| [Secrets found in console output of a CircleCI pipeline](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-85.md)                    | APPSEC\_CICD\_85  | MEDIUM   |
| [CircleCI accesses cloud provider using insecure long-term credentials](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-87.md)     | APPSEC\_CICD\_87  | MEDIUM   |
| [Jenkins environment variables exposed when printed to log](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-132.md)                | APPSEC\_CICD\_132 | LOW      |
| [Secrets found in console output of a GitHub Actions pipeline](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-133.md)             | APPSEC\_CICD\_133 | MEDIUM   |
| [Environment variables exposed when printed to log](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-134.md)                        | APPSEC\_CICD\_134 | LOW      |
| [CircleCI environment variables exposed when printed to log](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-135.md)               | APPSEC\_CICD\_135 | LOW      |
| [GitLab CI environment variables exposed when printed to log](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-136.md)              | APPSEC\_CICD\_136 | LOW      |
| [Secrets found in webhook URL](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-148.md)                                             | APPSEC\_CICD\_148 | HIGH     |
| [Secrets found in GitLab webhook URL](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-149.md)                                      | APPSEC\_CICD\_149 | HIGH     |
| [Secrets found in BitBucket webhook URL](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-150.md)                                   | APPSEC\_CICD\_150 | HIGH     |
| [GitHub Organization secret not scoped](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-178.md)                                    | APPSEC\_CICD\_178 | MEDIUM   |
| [Insecure definition of secret variable in pipeline](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-192.md)                       | APPSEC\_CICD\_192 | MEDIUM   |
| [Environment variables exposed when printed to log in Azure Pipelines](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-193.md)     | APPSEC\_CICD\_193 | LOW      |
| [Secrets found in console output of an Azure pipeline](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-242.md)                     | APPSEC\_CICD\_242 | MEDIUM   |
| [Unrotated GitHub Organization secrets](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-247.md)                                    | APPSEC\_CICD\_247 | MEDIUM   |
| [Unrotated repository secrets](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-248.md)                                             | APPSEC\_CICD\_248 | MEDIUM   |
| [Secrets found in logs of a GitLab CI pipeline](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-256.md)                            | APPSEC\_CICD\_256 | MEDIUM   |
| [Pipeline uploads the GITHUB\_TOKEN in an artifact](/appsec-rules/ci-cd-security/credential-hygiene/appsec-cicd-340.md)                        | APPSEC\_CICD\_340 | CRITICAL |


---

# 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/credential-hygiene.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.
