Skip to main content
Cyera

Integrate Cyera with Torq to automate event response workflows using webhooks and API key configurations.

Updated over a week ago

Cyera is a data security company that helps discover, classify, and protect data while maintaining continuous scanning and posture management.

Torq enables quick and easy integration with Cyera, so you can automate anything and everything within moments. Torq's pre-built Cyera steps include:

  • Create Token

  • Get Classifications for an Issue

  • Get Datastores

  • +3 more...

If you don't see a step you need, you can create your own in various ways, such as using the Send an HTTP Request step or Torq’s Step Builder, and share it across your organization.

To trigger a Torq workflow based on events sent from Cyera, look here.

To use Cyera steps in Torq workflows, look here.

Trigger a Torq Workflow from Cyera Events

To ingest Cyera incidents as events in Torq, you must create a Cyera trigger integration and use the generated webhook to configure a plugin in Cyera.

Step One: Create a Cyera Trigger Integration in Torq

  1. Add the Integration: Go to Build > Integrations > Triggers > Cyera and click Add.

  2. Name the Integration: Give the integration a unique and meaningful name. This cannot be changed later.

  3. Optional: Optionally add Authentication Headers.

    1. The name of the header should be Authorization.

    2. Click Generate Random Secret.

    3. In front of the secret, write Bearer with a space between the word and the generated secret.

    4. Save the generated secret in a secure location - you will need it in Cyera and will not be able to access it again.

  4. Finalize: Click Add.

  5. Save the Webhook: Copy the webhook created to use later.

Step Two: Create a Webhook Plugin in Cyera

In Cyera, you must create a webhook plugin that defines where to send events, detections, etc., and which data to include.

  1. Go to Cyera Settings: Open the Settings page and navigate to Workspace > Webhooks.

  2. Create a Webhook: Click Add Webhook and fill in the details.

    1. Give the webhook a meaningful name.

    2. Paste the webhook generated earlier in Torq.

    3. If you generated a secret earlier in Torq (Step One.3), paste it here without the word Bearer.

    4. Select the events you would like to be sent to the webhook.

  3. Finalize: Click Create.

    1. Ensure the Status is toggled On for your webhook.

Now that you've successfully created a Cyera trigger, you can build your first Cyera-initiated workflow!

In Torq, go to Build > Workflows > Create a Workflow > New Blank Workflow, and select the trigger type: Integrations > Cyera. Find your new trigger, and automate away!


Use Cyera Steps in a Torq Workflow

To use Cyera steps in a workflow, you must first generate a Cyera API key. This key will be required when configuring the Cyera steps integration in Torq.

Step One: Generate a Cyera API Key

  1. Navigate to API Tokens: Click the Settings menu and navigate to API Tokens.

  2. Generate a Token: Click Generate Token.

    1. Give the token a meaningful name.

    2. Give the token a relevant role. We recommend at least a role above Viewer, such as Project User or Editor.

    3. Set the expiration time for the API token according to your organization's best practices.

  3. Finalize: Click Create.

    1. Copy and save the displayed ClientID and Secret. You will need them in Torq and will not be able to access them again.

Step Two: Create a Cyera Steps Integration in Torq

  1. Navigate to Integration: In Torq, go to Build > Integrations > Steps > Cyera and click Add.

  2. Set Up Integration:

    1. Give the integration a unique and meaningful name - you cannot change this later.

    2. Add the ClientID created earlier.

    3. Add the Secret created earlier.

  3. Finalize: Click Add to save.

Step Three: Use Cyera Steps in a Workflow

  1. Access Token: Cyera requires an access token for API call sessions.

  2. Add Step: Before using Cyera steps in a workflow, you must add the Cyera step Create token to your canvas.

  3. Automate Token Creation: This generates an access token, which will then be used as an input parameter for subsequent Cyera steps within that workflow.

    1. A new access token is created per workflow execution.

Did this answer your question?