Modern software teams can no longer afford to treat security and quality as separate goals. The same discipline that ensures tests pass must also ensure code is safe. By integrating Kiuwan SAST (Static Application Security Testing) directly into TestRail, teams bring security findings into the same lifecycle as functional and regression tests, creating a unified view of application health. This approach, known as Quality Through Security, empowers QA and DevSecOps teams to detect, track, and remediate vulnerabilities as part of their everyday testing workflows. Instead of managing security reports in isolation, developers and testers can see which builds or test runs contain critical issues, measure improvement over time, and demonstrate “safe software sooner” across both quality and security metrics.
Prerequisites
Before integrating:
You must have a valid Kiuwan account
You should be able to run a Kiuwan scan
Your TestRail instance must allow API access
Integration Flow Overview (UI)
Use the Kiuwan Integrations tab to connect Kiuwan to TestRail. This article explains how to connect Kiuwan Web to TestRail so Kiuwan can access your TestRail account through the API.
Note: The content displayed in Integrations depends on the language currently selected by the user in Kiuwan (UI language).
Connect Kiuwan to TestRail
To establish an integration from Kiuwan Web to your TestRail account, follow these steps.
Open the Integrations tab
- In Kiuwan, go to the Account Management menu.
- Select the Integrations tab.
- In the list of integrations, select TestRail.
Fill in the TestRail connection form
On this page, Kiuwan displays a TestRail connection form with the following fields:
| Field | What to enter |
| TestRail Host | Your TestRail host URL (for example, your instance URL). |
| Username | The email address used for your TestRail account. |
| API key | Your TestRail API key, available in the My Settings menu. |
If you need information on how to generate your API key, see TestRail’s documentation: Accessing the TestRail API.
Connect
- After completing all fields, click Connect to TestRail.
- Kiuwan establishes the connection and confirms it in the UI.
Manage an existing connection
After the connection has been established, you can manage it from the same area:
- Edit the connection details
- Remove the integration completely (disconnect TestRail) from the Integrations tab.
Send Audit results to TestRail
- In Kiuwan, go to Life Cycle > Deliveries and open the Audit results for a delivery (click the Status icon).
- In the Audit results page, open the menu icon next to the module title.
Select Send to TestRail.
After you click Send to TestRail, Kiuwan displays a pop-up where you define where the results will be uploaded in TestRail:- Select project
- Select test suite
- Test run title (optional). If you leave this field blank, TestRail automatically generates a title for the test run.
- Click Send to TestRail to upload the Audit results.
Once you click Send to TestRail, the Audit results are sent to TestRail for processing. When processing is complete, TestRail sends an email containing a link to the TestRail location where the results were created.
View results in TestRail
After processing, you can open the link from the TestRail email to view the created test run and the imported results in TestRail. A link to the original Kiuwan report is included in the created Test Run Description.