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

> Indirect user membership in an Okta resource set through a group

![Applies to BloodHound Enterprise and CE](https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max\&auto=format\&n=tTIczgde9H07oLXf\&q=85\&s=ad49a576589f4d2a8081df77d07fdf56)

## Edge Schema

* Source: [Okta\_ResourceSet](https://bloodhound.specterops.io/opengraph/extensions/okta/nodes/okta_resourceset.md)
* Destination: [Okta\_User](https://bloodhound.specterops.io/opengraph/extensions/okta/nodes/okta_user.md)
* Traversable: ❌

## General Information

The non-traversable Okta\_ResourceSetContainsIndirect edges represent users that are members of a resource set indirectly through a group membership in Okta:

```mermaid theme={null}
graph LR
    rs1("Okta_ResourceSet Frontline Workers")
    g1("Okta_Group Retail Staff")
    u1("Okta_User john\@contoso.com")
    u2("Okta_User bob\@contoso.com")
    rs1 -. Okta_ResourceSetContainsMembersOf .-> g1
    u1 -- Okta_MemberOf --> g1
    u2 -- Okta_MemberOf --> g1
    rs1 -. Okta_ResourceSetContainsIndirect .-> u1
    rs1 -. Okta_ResourceSetContainsIndirect .-> u2
```

These edges are created when a resource set contains the members of a group, which is represented by the [Okta\_ResourceSetContainsMembersOf](https://bloodhound.specterops.io/opengraph/extensions/okta/edges/okta_resourcesetcontainsmembersof.md) edge. The collector resolves the current group membership and creates one Okta\_ResourceSetContainsIndirect edge per member user. Joining such a group brings a user into the resource set's scope. Leaving it removes the user from that scope only if no direct membership or membership through another included group remains.

Users that are added to a resource set directly are represented by the [Okta\_ResourceSetContains](https://bloodhound.specterops.io/opengraph/extensions/okta/edges/okta_resourcesetcontains.md) edges. The union of Okta\_ResourceSetContains and Okta\_ResourceSetContainsIndirect edges covers all objects that a role assignment scoped to the resource set applies to.

## References

* [Roles in Okta](https://developer.okta.com/docs/api/openapi/okta-management/guides/roles)
* [Role resource set bindings](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/roledresourcesetbinding/roledresourcesetbinding)
