Imperva WAF Authentication Guide

How to authenticate Imperva WAF for use with Tines

Daniel Stoeski avatar
Written by Daniel Stoeski
Updated over a week ago

Imperva's Web Application Firewall (WAF) provides out-of-the-box security for your web applications. It detects and prevents cyber threats, ensuring seamless operations and peace of mind. Protect your digital assets with Imperva's robust, industry-leading solution.

You will need the following to create an Imperva WAF credential

  • Imperva WAF username

  • Imperva WAF password

Create an Imperva WAF credential in Tines

  1. Login to your Tines tenant

  2. Navigate to the team that will be using the API and click "Credentials"

  3. Click "+ New Credential" and select "HTTP Request"

  4. Input the values for the Imperva credential

    1. Name: Imperva

    2. Description: Optional

    3. URL: https://{host:port}/SecureSphere/api/v1/auth/session

    4. Content Type: JSON

    5. Method: post

    6. Payload: NA

    7. Click "+ Add Option" and select "Basic Auth"

      1. Replace username with your Imperva WAF username

      2. Replace password with the value pill <<secret>>

    8. Secret: Your Imperva WAF password

  5. Click "Save"

  6. Click "Run request" and double-click on the session-id key to copy the path.

  7. Location of token from response: Paste the path to the token in the value pill, imperva.body.session-id

  8. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains

    2. Access: What other teams can also use the API

  9. Click "Save"

Your credential should look like the following:

More on creating credentials in Tines here.

You can also find a selection of Imperva WAF stories in the story library.

Did this answer your question?