> For the complete documentation index, see [llms.txt](https://docs.docontrol.io/docontrol-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docontrol.io/docontrol-user-guide/saas-data-monitoring/shadow-apps/github-shadow-apps.md).

# GitHub shadow apps

Third-party shadow apps are frequently connected with GitHub to streamline work processes and enhance productivity, giving these apps access to your data.

Shadow apps for GitHub include third-party apps that were installed in your GitHub **organizational** account.

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FPnSDxZN9NriCSM2UZ85c%2FShadow%20apps%20GitHub.png?alt=media&amp;token=d2a63e69-416b-48ff-9d01-4cd9c46f3444" alt=""><figcaption></figcaption></figure>

GitHub shadow apps are displayed according to these parameters:

<table><thead><tr><th width="287">GitHub shadow app parameter</th><th width="435">Description</th></tr></thead><tbody><tr><td>App name</td><td>Name of GitHub third-party app</td></tr><tr><td>Repository access</td><td>All or selected repositories</td></tr><tr><td>Permissions</td><td>Read or write</td></tr><tr><td>Scopes</td><td>Scopes of the third-party app. For example, issues:write</td></tr><tr><td>Registered events</td><td>App events that involve the third-party app</td></tr><tr><td>Created on</td><td>Date when app was installed</td></tr><tr><td>Suspended</td><td>App was suspended by a GitHub admin, so app can't be used</td></tr><tr><td>App link</td><td>App description on GitHub. Only GitHub admins have access to the app link.</td></tr></tbody></table>

{% hint style="success" %}
You can filter GitHub shadow apps according to app name, permissions, repository access, and suspended status.
{% endhint %}

## Monitor GitHub app installations

Once installed, third-party GitHub applications can access sensitive data, scopes, and obtain risky write permissions within the GitHub source code.&#x20;

To mitigate the risk of attackers exploiting OAuth tokens, DoControl enables you to monitor new installations of GitHub apps. You can enable DoControl to send you a notification each time a user installs a new GitHub application at the organization-level.

#### Use case

You can set up a workflow to automatically send the SecOps team a notification if someone in the organization installs a GitHub app with Write permissions, with access to all repositories, and a direct link to the installation in the GitHub Marketplace.

#### To set up a workflow to monitor GitHub app installations:

1. In the DoControl sidebar, select **Workflows > New workflow > Event-based**.
2. Name the workflow and trigger action.
3. For the Event trigger, select **GitHub app installation**.

<div align="left"><figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FKOpleeYNLWfb1KtgOob0%2FGITHub%20installs.png?alt=media&amp;token=72edd598-d590-4cb2-83df-f169cfa3519a" alt=""><figcaption></figcaption></figure></div>


---

# 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://docs.docontrol.io/docontrol-user-guide/saas-data-monitoring/shadow-apps/github-shadow-apps.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.
