SonarQube Server connector

Connect SonarQube Server to Okou

Connect SonarQube Server to inspect projects, issues, measures, quality gates, quality profiles, rules, analyses, and instance status through a read-only Web API.

Category
Engineering
Connection
Personal Access Token
Access
Read only
Setup
No code required

What Okou can do with SonarQube Server

Find and read

  • Read SonarQube projects and application components.
  • Read SonarQube analysis tasks, branches, links, and history.
  • Read SonarQube version, health, status, and language data.
  • Read SonarQube issues, authors, tags, and changelogs.
  • Read SonarQube measures, metrics, and measure history.
  • Read SonarQube quality gates and project gate status.
  • Read SonarQube quality profiles and their history.
  • Read SonarQube rule definitions, repositories, and tags.

How to connect SonarQube Server to Okou

  1. 1

    Open Connectors

    In your Okou workspace, open Connectors, search for SonarQube Server, and select Connect. Okou can also ask you to connect SonarQube Server during a chat.

  2. 2

    Add your credentials

    Enter the credentials SonarQube Server provides in the connection form. Do not paste them into a chat.

  3. 3

    Review permissions

    If an action needs your approval, Okou asks in the chat and you choose how long to allow it. Adjust allowed actions from Connectors at any time.

  4. 4

    Describe the work

    Ask for the outcome in a chat, or save it as a workflow that runs on a schedule.

Permissions and security

  • Connecting SonarQube Server and allowing Okou to use it are separate steps. If a task needs an action that is not allowed yet, Okou asks in the chat and you choose how long to allow it.
  • You can change which SonarQube Server actions Okou may take at any time from Connectors.
  • Your SonarQube Server credentials are stored on the platform and added to each request at the network boundary. They are not exposed to the agent.
  • Each teammate connects their own SonarQube Server account. Sharing a workflow does not share your connection.
  • Disconnect SonarQube Server from Connectors to remove it from future runs.
How permissions work

SonarQube Server connector questions

What can Okou do with SonarQube Server?
Connect SonarQube Server to inspect projects, issues, measures, quality gates, quality profiles, rules, analyses, and instance status through a read-only Web API. Documented actions include: Read SonarQube projects and application components. Read SonarQube analysis tasks, branches, links, and history.
How do I connect SonarQube Server to Okou?
Open Okou, choose SonarQube Server, and follow the connection steps shown for your account.

Put SonarQube Server to work with Okou

Connect SonarQube Server, describe the outcome, and review the result.