> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/f/fortify-software-security-center.md).

# Fortify Software Security Center

OpenText Fortify Software Security Center (SSC) is an on-premises application security platform that manages the results of static and dynamic code scans. OctoXLabs collects its local user accounts and the ScanCentral SAST sensor hosts that run the scans.

## Use cases

* List the ScanCentral SAST sensor hosts so they are visible in the device inventory.

```
Adapters = fortify-software-security-center
```

* Find SSC accounts that are not in Active Directory.

```
Adapters = fortify-software-security-center AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination | Port                        | Protocol                           |
| ------------------- | ----------- | --------------------------- | ---------------------------------- |
| OctoXLabs connector | SSC server  | 443 (default, configurable) | HTTPS (HTTP when Is secure is off) |

### Required permissions

| Scope or role                             | Permission                                     | Needed for           |
| ----------------------------------------- | ---------------------------------------------- | -------------------- |
| SSC user role (for example Administrator) | View users                                     | Users                |
| SSC user role                             | View ScanCentral SAST sensors                  | Devices              |
| AutomationToken                           | Has the permissions of the user who created it | Token authentication |

## Create credentials in Fortify Software Security Center

{% stepper %}
{% step %}

### Choose an authentication type

**credentials** signs in with the username and password of an SSC user and creates a one-day UnifiedLoginToken at the start of each run. The token expires by itself.

**token** uses a token created in SSC. Go to **Administration** > **Users** > **Token Management** and create an **AutomationToken**. It can call most REST API endpoints and lives up to 365 days. Either the encoded or the decoded token string is accepted.
{% endstep %}

{% step %}

### Check the user's rights

The SSC user, or the user who created the token, must be able to view users and ScanCentral SAST sensors.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required                      | Type             | Default     | Description                                                                                                                 |
| ------------- | ----------------------------- | ---------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------- |
| Ip            | Yes                           | Text             | None        | Host name or IP address of the SSC server, for example `ssc.example.com`.                                                   |
| Port          | No                            | Integer          | 443         | Port of the web interface and REST API.                                                                                     |
| Is secure     | No                            | Boolean          | True        | Use HTTPS.                                                                                                                  |
| Context path  | No                            | Text             | `/ssc`      | Path SSC is deployed under. Enter `/` if SSC answers at the server root.                                                    |
| Auth type     | No                            | Choice           | credentials | `credentials` or `token`.                                                                                                   |
| Username      | When Auth type is credentials | Text             | None        | SSC user name.                                                                                                              |
| Password      | When Auth type is credentials | Text (sensitive) | None        | Password of the user.                                                                                                       |
| Token         | When Auth type is token       | Text (sensitive) | None        | AutomationToken.                                                                                                            |
| Fetch devices | No                            | Boolean          | True        | Collect ScanCentral SAST sensor hosts. If ScanCentral SAST is not set up, no devices are collected and a warning is logged. |
| Fetch users   | No                            | Boolean          | True        | Collect SSC local users.                                                                                                    |
| Page size     | No                            | Integer          | 200         | Users or sensors per page. Minimum 1. Advanced.                                                                             |
| Timeout       | No                            | Integer          | 30          | Seconds to wait for API responses. Advanced.                                                                                |

## Troubleshooting

| Error message                                                                                | Cause                                               | Fix                                                |
| -------------------------------------------------------------------------------------------- | --------------------------------------------------- | -------------------------------------------------- |
| `'token' is required for the token auth type.`                                               | Auth type is token and Token is empty.              | Enter the AutomationToken.                         |
| `'username' and 'password' are required for the credentials auth type.`                      | Auth type is credentials and a credential is empty. | Fill in both fields.                               |
| `Fortify SSC token response has no token.`                                                   | The sign-in returned no token.                      | Check the credentials and the context path.        |
| `Fortify SSC ScanCentral sensors could not be read, no devices are collected.` (log warning) | ScanCentral SAST is not set up, or the call failed. | Set up ScanCentral SAST or turn Fetch devices off. |

## Change history

{% hint style="info" %}
Available starting from version 6.9.1.
{% endhint %}
