> ## 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.

# Okta_ScopedTo

> Scope relationship between a role assignment and its target

<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

* Source: [Okta\_RoleAssignment](/opengraph/extensions/okta/nodes/okta_roleassignment)
* Destination: [Okta\_Organization](/opengraph/extensions/okta/nodes/okta_organization), [Okta\_User](/opengraph/extensions/okta/nodes/okta_user), [Okta\_Group](/opengraph/extensions/okta/nodes/okta_group), [Okta\_ResourceSet](/opengraph/extensions/okta/nodes/okta_resourceset), [Okta\_Application](/opengraph/extensions/okta/nodes/okta_application), [Okta\_ApiServiceIntegration](/opengraph/extensions/okta/nodes/okta_apiserviceintegration), [Okta\_Device](/opengraph/extensions/okta/nodes/okta_device), [Okta\_AuthorizationServer](/opengraph/extensions/okta/nodes/okta_authorizationserver)
* Traversable: ❌

## General Information

The [Okta\_HasRoleAssignment](/opengraph/extensions/okta/edges/okta_hasroleassignment) edges connect users, groups, and applications to their respective [Okta\_RoleAssignment](/opengraph/extensions/okta/nodes/okta_roleassignment) nodes. The Okta\_ScopedTo edges connect the [Okta\_RoleAssignment](/opengraph/extensions/okta/nodes/okta_roleassignment) nodes to the resources they are scoped to, such as the organization or specific groups or applications.

```mermaid theme={null}
graph TB
    ra1("Okta_RoleAssignment Help Desk Administrator")
    ra2("Okta_RoleAssignment Super Administrator")
    r1("Okta_Role Help Desk Administrator")
    r2("Okta_Role Super Administrator")
    u1("Okta_User john\@contoso.com")
    u2("Okta_User steve\@contoso.com")
    u3("Okta_User alice\@contoso.com")
    g1("Okta_Group Seattle Help Desk")
    g2("Okta_Group Seattle Office")
    org("Okta_Organization contoso.okta.com")

    u1 -- Okta_MemberOf --> g1
    g1 -. Okta_HasRoleAssignment .-> ra1
    g1 -. Okta_HasRole .-> r1
    g1 -- Okta_HelpDeskAdmin --> u3
    u3 -- Okta_MemberOf --> g2
    ra1 -. Okta_ScopedTo .-> g2
    u2 -. Okta_HasRoleAssignment .-> ra2
    ra2 -. Okta_ScopedTo .-> org
    u2 -- Okta_SuperAdmin --> org
    u2 -. Okta_HasRole .-> r2
```
