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

> An Okta resource set contains the members of 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\_Group](https://bloodhound.specterops.io/opengraph/extensions/okta/nodes/okta_group.md)
* Traversable: ❌

## General Information

The non-traversable Okta\_ResourceSetContainsMembersOf edges represent resource sets that contain the members of a group in Okta, as opposed to the group object itself:

```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
```

In the Okta Admin Console, this corresponds to adding a group to a resource set with the *Users in group* option instead of *Group*.

A custom role scoped to the resource set applies to the users who are members of the group, not to the group itself. For example, a Help Desk role scoped to this resource set can reset passwords of the group's members but cannot manage the group's membership. The individual users in scope are represented by the [Okta\_ResourceSetContainsIndirect](https://bloodhound.specterops.io/opengraph/extensions/okta/edges/okta_resourcesetcontainsindirect.md) edges, while directly contained objects are represented by the [Okta\_ResourceSetContains](https://bloodhound.specterops.io/opengraph/extensions/okta/edges/okta_resourcesetcontains.md) edges.

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