Skip to content

Fortify Software Security Center Executor

Category: Source Code Analysis Script: fortify_ssc.py Integration: REST API Faraday Plugin: Raw JSON Website: https://www.opentext.com/products/fortify-software-security-center

Description

Imports the static analysis (SAST) issues of Fortify Software Security Center project versions into Faraday. Each project version becomes a host and its issues become vulnerabilities prefixed with [SAST].

Prerequisites

  • A Fortify Software Security Center (SSC) server reachable from the agent
  • An SSC token (for example a UnifiedLoginToken), or a user name and password, with permission to read project versions and their issues

Configuration

Environment Variables (Setup)

Variable Required Description
FORTIFY_SSC_HOST Yes Fortify SSC URL (e.g., https://ssc.example.com/ssc)
FORTIFY_SSC_TOKEN No* Fortify SSC token (e.g., a UnifiedLoginToken)
FORTIFY_SSC_USER No* Fortify SSC user name, used when no token is set
FORTIFY_SSC_PASSWORD No* Password of FORTIFY_SSC_USER

* Set FORTIFY_SSC_TOKEN, or both FORTIFY_SSC_USER and FORTIFY_SSC_PASSWORD.

These variables are also accepted as execution arguments, so a single run can override them.

Execution Arguments

Parameter Type Mandatory Description
FORTIFY_SSC_PROJECT_VERSION_ID string No ID of a single project version to import (default: all project versions)
FORTIFY_SSC_MIN_SEVERITY string No Minimum severity to import: info, low, medium, high or critical (default: info)

YAML Configuration Example

executors:
  fortify_ssc:
    repo_executor: fortify_ssc.py
    max_size: 65536
    varenvs:
      FORTIFY_SSC_HOST: "https://ssc.example.com/ssc"
      FORTIFY_SSC_TOKEN: "<fortify_ssc_token>"
      FORTIFY_SSC_USER: "<fortify_ssc_user>"
      FORTIFY_SSC_PASSWORD: "<fortify_ssc_password>"
    params:
      FORTIFY_SSC_PROJECT_VERSION_ID:
        mandatory: false
        type: string
        base: string
      FORTIFY_SSC_MIN_SEVERITY:
        mandatory: false
        type: string
        base: string

How It Works

  1. Authenticates with Authorization: FortifyToken <token> when FORTIFY_SSC_TOKEN is set, otherwise with HTTP Basic using FORTIFY_SSC_USER and FORTIFY_SSC_PASSWORD
  2. Reads the project versions from /api/v1/projectVersions (or the single version FORTIFY_SSC_PROJECT_VERSION_ID)
  3. Reads the issues of each version from /api/v1/projectVersions/{id}/issues, including removed and suppressed ones, and enriches each issue with /api/v1/issueDetails/{id} (description and recommendation)
  4. Maps each issue to a Faraday vulnerability:
    • Severity: Fortify's priority (critical, high, medium, low) or severity score
    • Status: removed issues become closed; suppressed or hidden issues, and issues tagged "Not an Issue", "Not Exploitable" or "False Positive", become risk-accepted; the rest are open
    • Details: file and line, sink location, audit tag, recommendation, CWE and rule references
  5. Drops issues below FORTIFY_SSC_MIN_SEVERITY and skips versions left without issues

Notes

  • Each project version is a host with IP 0.0.0.0 and hostname <project>/<version>, because source code findings do not belong to an IP address.
  • Either FORTIFY_SSC_TOKEN or both FORTIFY_SSC_USER and FORTIFY_SSC_PASSWORD must be set. The token is used when both are present.
  • If FORTIFY_SSC_HOST does not end in /ssc, the executor appends it.
  • One extra request per issue is made to get its details, so large projects take longer.
  • TLS certificates are not verified.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor. Use FORTIFY_SSC_MIN_SEVERITY to filter by severity.