---
title: "Harness"
slug: "harness"
updated: 2024-04-25T13:17:34Z
published: 2024-04-25T13:17:34Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.safe.security/llms.txt
> Use this file to discover all available pages before exploring further.

# Harness

## About this document

---

This document provides the step-by-step procedure to configure Harness in SAFE.

## Introduction

---

SAFE integrates with Harness and fetches the security misconfiguration of the Harness account in SAFE.

## Prerequisites

---

- Access required in **SAFE**:
  - SAFE Admin Access
- Access required in **Harness**:
  - Harness Admin
- Required User Inputs:
  - API URL
  - API Key
- Required Scope:
  - Admin Access

## Generate Connection Details

---

- How to generate **API Key**
  - Log in to your Harness account as **Admin**.
  - Click on the **My Profile**option at the bottom left corner
  - Click on the **Profile Overview**
  - Click on the **+ API Key** under **My API Keys**

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/1(32).png)
  - Enter the **Name** and click on the **Save** button.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/2(29).png)
  - Click on the **+ Token** option

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/3(28).png)
  - Enter the **Name**
  - Enter the **Expiration**
  - Click on the **Generate Token** button

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/4(27).png)
  - The system displays the **Token**. **Copy** and **save** the API Token to use it while configuring Harness in SAFE.
  - It's important to regularly update the API Key in SAFE according to its expiration date.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/5(27).png)

- How to get **API URL**
  - Access the Harness API documentation by clicking on the provided [link](https://apidocs.harness.io/#section/Introduction/Status-Codes).
  - Upon reaching the Harness API documentation page, locate the section titled as "**Domain**".
  - In the exhibit provided, find the base URL highlighted as 3. **Copy** and **save** this *API Base URL* to use it while configuring Harness in SAFE.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/6(27).png)

## Configure Harness in SAFE

---

- Log in to your SAFE account as **Admin**.
- Click on the **Integrations**option from the left navigation.
- Scroll to find the Harness integration card or search for Harness in the search bar.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/7(26).png)
- Hover over the Harness integration card and click on the **Configure** button.
- Enter the following:
  - API URL
  - API Key
- Enter the **Auto Sync Frequency**.
- Click on the **Test Connection** button.
- Once the connection is successful, click on the **Save** button.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/8(29).png)
- Once the configuration is saved successfully, click on the **Sync** **Now** button to trigger an on-demand sync.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/9(28).png)
- Upon a successful sync, the system pulls the Harness assets and their findings in SAFE. You can track the status of the sync in the **History** table.

## View Results

---

- Go to the integration homepage
- Scroll to find the Harness integration card or search for Harness in the search bar.
- Click on the Harness integration card for **Finding View** and **Asset View**.
  - **Finding View:** This tab displays all the findings details pulled from Harness.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/10(26).png)
  - **Asset View:**This tab displays all the assets pulled from Harness.

![](https://cdn.document360.io/23dc20b8-a989-48c0-8653-f1d3e4abc734/Images/Documentation/11(19).png)

## History

---

Learn More about Integration History [here](https://docs.safe.security/safe-4/docs/integration-history).

## SAFE's Outgoing IP Addresses

---

Click [here](https://docs.safe.security/safe-4/docs/safes-outgoing-ip-addresses) to find the outgoing IP addresses of SAFE. All traffic to any integrations in SAFE will see one IP address as the source IP of the incoming connection.
