--- title: "Sonrai Security" slug: "sonrai-security" updated: 2025-03-14T17:20:41Z published: 2025-03-14T17:20:41Z canonical: "docs.databee.buzz/sonrai-security" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.databee.buzz/llms.txt > Use this file to discover all available pages before exploring further. # Sonrai Security Sonrai Security offers a cloud security platform focused on identity and data governance. It helps organizations monitor, secure, and manage access to cloud environments by identifying potential vulnerabilities, reducing risks, and ensuring compliance. Its solutions span across cloud infrastructure, DevOps pipelines, and compliance automation. For detailed information, refer to [Sonrai’s official documentation](https://sonraisecurity.com/). **Integration Method:** API **Tables:** Ticket Inventory (99405001) This integration supports the following events. | **Event** | **Description** | | --- | --- | | Ticket | This event provides security and compliance tickets with details on severity, status, assignee, affected resources, policies, and timestamps for tracking and management. | > [!NOTE] > Note: > > Sonrai Security is a continuously updated cloud service. As of this document's preparation, the latest release was on February 6, 2025. Additionally, this integration leverages the Sonrai Security GraphQL API, which does not include an explicit version identifier. ## Prerequisites - The user should have access to the Sonrai Security portal. - The user should have access to the DataBee console. ## Configuration Overview 1. Create Authentication token and retrieve organization ID. 1. [Create Authentication Token](/user-manual/docs/sonrai-security-guide#create-authentication-token) 2. [Retrieve organization ID](/user-manual/docs/sonrai-security-guide#retrieve-organization-id) 2. Create [Sonrai Security data feed](/user-manual/docs/sonrai-security-guide#databee-configuration) in the DataBee console with the required Client credentials | **DataBee Feed Parameter** | **Sonrai Security Parameter** | | --- | --- | | Token | Token | | API Base URL() | Organization ID | ## Sonrai Security Configuration ### Create Authentication Token 1. Login to the [Sonrai security console](https://app.sonraisecurity.com/Login). 2. Scroll through the left navigation bar and click the **Search** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-uyyu7cdn.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) 3. Click on **Advanced** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-3lohxsd7.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) 4. Paste the below GraphQL query in text area. ```plaintext mutation createToken { GenerateSonraiUserToken(input: { expiresIn: 2592000, name: "sampletoken" }) { name expireAt token } } ``` ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-i25bqgz7.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) 5. Click the **Execute query** button to generate an authentication token with a 30-day expiry. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-fuc6u694.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) 6. Copy the token, as it will be required during the DataBee configuration process. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-g0f8r812.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) > [!NOTE] > Note: > > The user must regenerate the token upon expiration. The expiration time is indicated in the **expireAt** property. ### Retrieve Organization ID 1. To obtain the organization ID, click on the profile icon. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-mga5qr94.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) 2. Copy **Organization ID**, as it will be required during the DataBee configuration process. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-fur1juy3.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) ## DataBee Configuration 1. Login to the DataBee UI, navigate to **Data** > **Data Feeds** and click the **Add New Data Feed** button. ![Inserting image...](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-zef45epi.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) 2. Search for **Sonrai Security** and select it. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-h9mz25yo.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) 3. Click on the **API Ingest**. ![Inserting image...](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-3ub5vum5.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) 4. Enter feed contact information and click **Next**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-zxt3o0rv.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) 5. In the configuration page, enter the following: ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/sonrai-security-user-guide-feb2025-image-k91z8hv1.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A19%3A32Z&se=2026-10-30T13%3A19%3A32Z&sr=c&sp=r&sig=sKDxVMdeVWGYLza%2F0sGJLiEqpl9FbvNYg9kI8gFLWWc%3D) - API Base URL: replace placeholder with the organization id. - Authorization Method: Bearer Token - Token: paste the Token generated earlier in the Sonrai Security portal. - Event Types: preselected for all the event types that integration pulls. 6. Click **Submit**. ## Troubleshooting Tips - If you encounter an **Unauthorized** error, it may indicate that the authentication token has expired. In this case, regenerate the token to restore access. To prevent potential issues, consider pasting the token into a text editor to verify that there are no extra spaces or unexpected characters before reconfiguring the DataBee feed.