Skip to main content

User Management

One-Click Least Privilege. Zero Disruption.



© 2026 Sonrai Security. All rights reserved.

Inviting Users​

Users can be managed by navigating to the Users tab within the lefthand menu.

To send the invitation, the user's email address and at least one role must be input into the form. Each role is paired with a scope — select All Scopes, or choose the part of your cloud hierarchy the role should apply to.

The Cloud Permissions Firewall Invite User form with the Scope Administrator role selected, showing the Assign Scope field, its scope picker, the All Scopes checkbox, and the Assign button.The Cloud Permissions Firewall Invite User form with the Scope Administrator role selected, showing the Assign Scope field, its scope picker, the All Scopes checkbox, and the Assign button. The Cloud Permissions Firewall Users page showing the Pending User Invitations tab, listing each invitation's email address, date sent, active state, and expiry date.The Cloud Permissions Firewall Users page showing the Pending User Invitations tab, listing each invitation's email address, date sent, active state, and expiry date.

Once sent, users will be listed in the "Pending User Invitations" tab until the invitation is accepted.

info

Only valid email addresses can be used with the Sonrai Platform. Addresses which cannot accept email are not supported (this applies to users utilizing local Sonrai authentication and external SSO integration)

Organizations are permitted to have up to 25 accounts by default (contact Support and the limit can be increased)

Automating User Invitations​

Leverage the "Send Validation Email" setting at the top of the form to assist in automating user invitations.

Unchecking the "Send Validation Email" setting will not send a user validation email and it will hide the “CC myself on the email” checkbox.

info

If required, supplying invalid domains (Example: joe.smith@exampleinvalid.domain.testing) in general email address format [with "Send Validation Email" unchecked] is supported.

To script user invitation automation using GraphQL:

User Invitation Mutation
mutation createInvite {
CreateSonraiInvites(
input: {
email: "joe.smith@exampleinvalid.domain.testing"
name: "Joe Smith"
ccInviterOnEmail: true
expiryTimeInSeconds: 1143500
sendEmail: false
})
{
items{
srn
}
}
}

Authentication & Password Policy​

Single Sign-On (SSO)​

If your organization has SSO configured and an IDP group has CPF role assignments, users in that group can log in without an invitation. See Login without invitations for details.

Password & MFA Token Resets​

Authentication and password/MFA token resets are handled through your organization's SSO platform.


Local Sonrai Password/MFA​

For users who have local passwords [i.e., are not leveraging SSO], password and MFA settings are managed by Sonrai's Auth0 password management.


Password Requirements​
  • 10 character minimum length

  • At least 3 of the following:

  • Lower case letters (a-z)

  • Upper case letters (A-Z)

  • Numbers (0-9)

  • Special characters ( ex.!@#$%^&*)

  • No more than 2 identical characters in a row

  • Previous 5 passwords cannot be reused


*Multi-factor authentication is required for local (non-SSO) users


Resetting Passwords​

To reset a password:

  • Navigate to https://app.sonraisecurity.com/
  • Enter the user's email address
  • Click the "Forgot password?" link
  • Click and check the email inbox for the password reset link
The Sonrai platform login page showing the email address field and the Forgot password? link used to initiate a local password reset.
The Auth0 password reset email notification indicating that a password reset link has been sent to the user’s email address.

*Check your spam folder if the email is not received within a few minutes!


The Auth0 password reset form showing fields for entering and confirming a new password after following the reset link.

Resetting MFA Tokens​

Local (non-SSO) MFA token resets can only be completed through submitting a Support Ticket.

Failed Login Attempts​

If a user enters their password incorrectly more than 10 times from a single IP address, they will be blocked from logging into that account from that IP address. This can block can be removed manually by Sonrai by changing your password, or by clicking the “Unblock” link in the email notification sent to the blocked account.

Reference: For more details on failed login monitoring & disabling, refer to Auth0 - Brute Force Protection documentation.


Changing the Default Invitation Timeout Period​

By default, Sonrai user invitations are valid for 5 days, and afterwards, invitations must be resent. This default invitation expiration can be set to a larger value by using the following mutation in Explorer:

Standard timeout values for consideration include:

  • 30 days -> 2592000
  • 60 days -> 5184000
  • 90 days -> 7776000
  • 120 days -> 10368000
  • 180 days -> 15552000
warning

Do not set the timeout value to exceed 6 months.

To view the current timeout value:

Example Query

Example Query
query getSonraiOrgConfig {
SonraiOrgConfig {
metadata
}
}

To change the current value to a new one:

Example Mutation
mutation setOrgInviteDefaultExpiry {
UpdateOrgConfigMetadata(metadata: [
{
keyName: "ui/preferences/defaultInviteTimoutDurationSeconds"
keyValue: "7776000"
}
]) {
metadata
}
}

Managing Users​

Role Changes​

Once a user has been added to the Sonrai platform, their assigned role(s) can be edited from the Current Users management screen (simply click on the name of the user in the table row). The Edit User Roles dialog lists each assignment with its Role, Scope, and Source, and lets you add or remove assignments. Adding the same role at a second scope creates a second assignment — see Role Assignment Scope.

The Cloud Permissions Firewall Edit User Roles dialog listing a user's assignments in a table of Role, Scope, and Source, with two roles each assigned at a different scope.The Cloud Permissions Firewall Edit User Roles dialog listing a user's assignments in a table of Role, Scope, and Source, with two roles each assigned at a different scope.

Modifying Pending User Invitations​

To manage a pending user invitation, select for the invitation. Alternatively, you can cancel or resend the invitation email.

The Pending User Invitations tab with a row's overflow menu open, showing the Edit Role Assignments, Resend Invitation, and Cancel options.The Pending User Invitations tab with a row's overflow menu open, showing the Edit Role Assignments, Resend Invitation, and Cancel options.

Selecting Edit Role Assignments opens the invitation's roles, where you can add or remove role and scope assignments before the invitation is accepted.

The Edit Role Assignments dialog for a pending invitation, showing the assigned roles with their scope and source.The Edit Role Assignments dialog for a pending invitation, showing the assigned roles with their scope and source.

User Name Changes​

A user's name can be changed through API calls, if needed.

  • Within the browser Developer Tools, navigate to the Network tab

  • Log in to your environment

  • Within the browser Developer Tools, click on one of the graphql calls, then the "Headers" tab. Within the Request Headers, copy the Bearer Token:

Browser Developer Tools Network tab showing a GraphQL request with the Request Headers section highlighted, indicating where to copy the Bearer Token for API authentication.
  • Using whichever method you like, submit a POST request for a GraphQL mutation similar to the following example:
Example Mutation
mutation UpdateSonraiCurrentUsers {
UpdateSonraiCurrentUsers(input: { name: "newName" }) {
count
items {
name
}
}
}

An API client showing the GraphQL mutation response for updating a Sonrai user’s name, with the returned updated name in the result payload.

Disabling Users​

For audit purposes, users are not deleted from the Cloud Permissions Firewall.

Instead, we recommend users are terminated and the privileges removed from the user account.

This ensures that the user cannot login, and if for some reason the account was re-activated, that the user has no active permissions.

Select in the user's Edit User Roles dialog. A confirmation appears before the account is disabled.

The Terminate User confirmation dialog, warning that the user is about to be terminated from the Permissions Firewall, with a Do not show me this again checkbox, Cancel, and Delete.The Terminate User confirmation dialog, warning that the user is about to be terminated from the Permissions Firewall, with a Do not show me this again checkbox, Cancel, and Delete.

Groups​

Groups let you assign roles to multiple users at once instead of individually. A user's effective permissions are the union of any roles assigned directly to them and any roles assigned to groups they belong to. Groups are available whether or not your organization has SSO configured.

There are two kinds of groups in CPF: CPF-managed and IdP-synced.

Group typeCreated byMembership sourceWhen to use
CPF-managedAdmin in CPFManually added and removed in CPFInternal-only roles, contractors, or users who are not represented in your IdP
IdP-syncedCreated automatically on first login (or via SCIM) when CPF sees a new group in the groups claimThe user's IdP group memberships, refreshed each loginThe common case — mirror your IdP groups so CPF permissions follow your existing IdP membership management

The Groups tab​

Groups are managed from the Groups tab on the Users screen, alongside Current Users and Pending User Invitations. The tab lists every group's name, description, assigned role(s), member count, and enabled state, and includes a quick search and a Show Terminated Groups toggle for viewing disabled groups.

The Cloud Permissions Firewall Users page showing the Groups tab, listing each group's name, description, assigned roles, member count, and enabled state, with the Manage Groups button.The Cloud Permissions Firewall Users page showing the Groups tab, listing each group's name, description, assigned roles, member count, and enabled state, with the Manage Groups button.

Creating a group​

Select to open the Manage Group dialog:

  • Name — select an existing group discovered from your IdP to map it into CPF as an IdP-synced group, or type a new name to create a CPF-managed group.
  • Description — optional.
  • Assign Role(s) — required; at least one role must be assigned.
  • Members — select to open a searchable dropdown of users and add them to the group.

Select to create the group.

The Manage Group dialog for creating a group, showing the Name picker for selecting a known group or entering a new one, an optional Description, the required Assign Role(s) field, and an empty Members table.The Manage Group dialog for creating a group, showing the Name picker for selecting a known group or entering a new one, an optional Description, the required Assign Role(s) field, and an empty Members table.

Editing a group​

Select a group's name in the list (or Edit from its row's overflow menu) to open the Edit Group dialog. From here you can update the description, add or remove role assignments, and add or remove members.

The Members table's Type column shows how each member's group membership originated — Local for members added manually, and SSO for members discovered through your IdP.

The Edit Group dialog showing the group's name and description, its assigned roles with scope and source, and its members with each membership's type.The Edit Group dialog showing the group's name and description, its assigned roles with scope and source, and its members with each membership's type.

Assigning roles to groups​

Roles are assigned to groups in the same way they are assigned to users, including the scope each assignment applies to. All members of the group inherit the role assignments and their scopes. See User Roles and Personas for the list of available CPF roles.

Terminating a group​

Select Terminate from a group's row overflow menu to disable it. Terminating a group does not delete it — enable Show Terminated Groups to view previously terminated groups.

info

For groups synchronized from an identity provider — including group name matching and SCIM-based provisioning — see Group Synchronization in the Single Sign-on (SSO) documentation.


Apps​

App identities are non-person accounts for external integrations and programmatic access to the Sonrai API — for example, a CI/CD pipeline or a third-party service that calls the Sonrai GraphQL API directly. Unlike a person's user account, an App identity has no email invitation and cannot log in to the UI. It is active as soon as it's created, and you manage its access entirely through the access keys you generate for it.

The Cloud Permissions Firewall Users page showing the Apps tab, listing each App identity's name, assigned roles, creation date, and status, with the Create App identity button.The Cloud Permissions Firewall Users page showing the Apps tab, listing each App identity's name, assigned roles, creation date, and status, with the Create App identity button.

The Apps tab​

Apps are managed from the Apps tab on the Users screen, alongside Current Users, Groups, and Pending User Invitations. The tab lists each App's name, assigned role(s), creation date, and status, and includes a Show disabled Apps toggle for viewing disabled Apps, which are hidden by default.

The Status column shows two independent pieces of information:

  • Enabled / Disabled — whether the App identity itself is enabled. A disabled App cannot authenticate at all, regardless of its keys.
  • Active / Inactive — whether the App has at least one access key that hasn't expired. An App shows Inactive once every key attached to it has expired, even if the App itself is still Enabled.

Creating an App identity​

Select to open the Create App identity dialog:

  • Name — required. The application or integration's name; this does not need to be an email address, and must be unique among existing App identities.
  • Assign Role(s) — required; at least one role must be assigned, the same way roles are assigned to a user. See Role Assignment Scope.
  • Key expiry — how long the App's initial access key is valid for: 1, 7, 14, or 30 days. Access keys for App identities cannot be created with a longer expiry than 30 days.

Select to create the App identity and generate its first access key.

The Create App identity dialog showing the Name field, the required Assign Role(s) field, and the Key expiry selector.The Create App identity dialog showing the Name field, the required Assign Role(s) field, and the Key expiry selector.
warning

An access key's value is shown only once, immediately after it's generated. Copy it before closing the window — CPF never displays a key's value again.

The App identity creation confirmation showing the one-time access key value and a copy-to-clipboard icon button.The App identity creation confirmation showing the one-time access key value and a copy-to-clipboard icon button.

Managing an App's access keys​

Select an App's name in the list to open its edit view. The Access keys section lists every key generated for the App, showing each key's name, status (Active / Expired), creation date, and expiry date. As with the initial key, an existing key's value is never shown again after it's created — only a key generated in the current session displays its value.

The App identity edit view showing its assigned roles and the Access keys section listing each key's name, status, created date, and expiry date.The App identity edit view showing its assigned roles and the Access keys section listing each key's name, status, created date, and expiry date.

To generate an additional key, select , choose a Key expiry (1, 7, 14, or 30 days), then select . The new key's value is shown once — copy it before continuing.

To remove a key, select its delete icon and confirm .

danger

Deleting an access key cannot be undone. Anything still using that key loses access immediately.

Assigning roles to an App​

Roles are assigned to an App identity the same way they are assigned to a user, including the scope each assignment applies to. See User Roles and Personas for the list of available CPF roles.

Disabling and enabling an App identity​

Select from an App's row overflow menu, or from within its edit view, to disable it. Disabling an App identity immediately blocks authentication for all of its access keys — anything still using them loses access right away.

Disabled Apps are hidden from the Apps tab by default; enable Show disabled Apps to view them. Select to re-enable a disabled App identity — authentication resumes for any keys that haven't expired or been deleted.