SentinelOne icon

SentinelOne

SentinelOne Management Console API specification.

Actions281

Rbac → Get All Roles

AI-generated

Overview

This node interacts with the SentinelOne Management Console API to retrieve all Role-Based Access Control (RBAC) roles. It is useful for scenarios where you need to list all user roles, their descriptions, and the number of users assigned to each role within the SentinelOne environment. For example, it can be used to audit roles or to fetch role IDs for further API operations.

Use Case Examples

  1. Retrieve all RBAC roles to audit user permissions in the SentinelOne console.
  2. Fetch RBAC roles to assign or modify user roles programmatically.

Properties

Name Meaning
Return All Whether to return all results or only a single page. When disabled, no pagination parameters are sent and only one page of results is returned.
Additional Fields Optional filters to refine the list of RBAC roles, such as filtering by name, update timestamps, account name, and other metadata.

Output

JSON

  • id - ID of the RBAC role
  • name - Name of the RBAC role
  • description - Description of the RBAC role
  • usersCount - Number of users assigned to the RBAC role
  • permissions - Permissions associated with the RBAC role

Dependencies

  • an API key credential for SentinelOne Management Console

Troubleshooting

  • Ensure the API key credential is correctly configured and has the necessary permissions to access RBAC roles.
  • Check network connectivity to the SentinelOne Management Console API endpoint.
  • Verify that the role ID provided (if applicable) exists and is accessible with the current credentials.
  • If pagination is enabled, ensure that the pagination parameters are correctly set to retrieve all results.
  • Review API rate limits and adjust batching or request intervals to avoid throttling errors.

Links

Discussion