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

# GH_ViewSecretScanningAlerts

> [Repository] Role can view secret scanning alerts

<img noZoom src="https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=tTIczgde9H07oLXf&q=85&s=ad49a576589f4d2a8081df77d07fdf56" alt="Applies to BloodHound Enterprise and CE" width="482" height="45" data-path="assets/enterprise-AND-community-edition-pill-tag.svg" />

## Edge Schema

* Traversable: ❌

| Start | Kind | End |
| - | - | - |
| [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole) | GH\_ViewSecretScanningAlerts | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization) |
| [GH\_RepoRole](/opengraph/extensions/github/nodes/gh_reporole) | GH\_ViewSecretScanningAlerts | [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository) |

```mermaid theme={null}
flowchart LR
    GH_Organization["GH_Organization"]
    GH_OrgRole["GH_OrgRole"]
    GH_RepoRole["GH_RepoRole"]
    GH_Repository["GH_Repository"]
    GH_OrgRole -- GH_ViewSecretScanningAlerts --> GH_Organization
    GH_RepoRole -- GH_ViewSecretScanningAlerts --> GH_Repository
```

## General Information

The non-traversable GH\_ViewSecretScanningAlerts edge represents that a role can view secret scanning alerts at the organization or repository level. This edge is dynamically generated from custom role permissions discovered by the collector. Secret scanning alerts may reveal details about leaked credentials, including partial or full secret values and the locations where they were detected. This makes the permission significant for security because an attacker with access to view these alerts could harvest exposed credentials for use in lateral movement or privilege escalation.

## Edge Schema

| Source | Destination | Traversable |
| - | - | - |
| [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole) | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization) | `false` |
| [GH\_RepoRole](/opengraph/extensions/github/nodes/gh_reporole) | [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository) | `false` |

## Diagram

```mermaid theme={null}
graph LR
    n0["GH_OrgRole"]
    n1["GH_Organization"]
    n2["GH_RepoRole"]
    n3["GH_Repository"]
    n0 -.->|GH_ViewSecretScanningAlerts| n1
    n2 -.->|GH_ViewSecretScanningAlerts| n3
```
