Click the Integrations icon in the navigation bar and select Analysis Tools to open the Analysis Tools page.
Use the Search field to search for a specific tool.
Configuring an Analysis Tool
To configure an analysis tool:
- Click the Integrations icon in the navigation bar and select Analysis Tools to open the Analysis Tools page.
- Click the Set Up button for the tool you want to configure.
Not all tools are configurable.
- Click Add Connection.
- Add an API token with "API Security Audit" rights in the API Token
field.
To test the connection, click the Test Connection button.
- Select sharing options with users or user groups.
- Select permissions.
- Add an API token with "API Security Audit" rights in the API Token
field.
- Click Add Options.
- Enter a name in the Options Name field and select which options to include.
- Click Save Options.
Note that you can edit existing options.
- Select Schedules from the upper menu.
- Click Add Schedule.
- Add projects.
Managing Integration Projects
Select the Projects tab to view and manage projects imported from a tool integration. Using an integration to manage projects provides centralized control over connections, options, and schedules across multiple projects, whereas configuring a tool connector directly on a single project applies only to that project.
The Projects table displays the following columns:
- Project Name – The name of the project in the connected tool.
- SRM Project Name – The corresponding SRM project.
- Connection Name – The tool connection used to import the project.
- Default Options – The analysis options applied when analyzing this project.
- Default Schedule – The analysis schedule associated with this project.
Click a row in the Project Name column to expand a version panel below the table. The version panel lists all imported versions for that project and lets you import additional versions, analyze versions, change options and schedules, or delete versions.
The Other Versions section at the bottom of the version panel lets SRM automatically choose an appropriate version based on the branch name at analysis time, for versions that have not been explicitly imported.
Importing Integration Projects
Click Import Projects to import projects from the integration into SRM. Select a connection from the Import Projects From drop-down, then choose an import mode:
- Automatically import projects – SRM detects new projects from the connection and pre-populates an import list with one default version per project.
- Automatically import projects with versions – Same as automatic import, but also includes all available versions for each detected project.
- Manually import projects – You define each project and version to import individually, with full control over the SRM project and branch mappings.
Automatic Import
When using automatic import, SRM detects new projects from the selected connection and displays a pre-populated list. Each entry shows the source connection, the SRM project to create or map to, the SRM parent project, and the SRM branch name. Review and modify the list before clicking Import.
- Only projects that have not already been imported are shown.
- One default version is imported per project.
- You can deselect projects, change SRM project mappings, or modify branch names before confirming.
Manual Import
When using manual import, click + Add Project to add each project individually. For each project, specify the project type, the project or application to import, display names, the branch, and the SRM project and branch name mappings. Additional versions can be imported after the initial import.
Migrating Existing Tools to SRM
SRM’s centralized configuration functionality allows Software Risk Manager to act as a hub for interacting with tool connectors. For Code Dx users migrating to Software Risk Manager, existing tool connectors can be converted to take full advantage of SRM’s centralized configuration. (In an upcoming release of SRM, legacy tool connectors will be converted automatically, consolidating common information, such as connection URLs and credentials, into more-easily-managed shared entities.)
- The first URL performs a "dry run" of the conversion, providing a report of all the decisions and consolidations that will be made during the actual conversion process.
- The second URL performs the conversion.
To perform the dry run and see a text-based report, log in as an admin and enter the
following into your browser: <SRM Base
URL>/x/integrations/tool-connector/migration/dry-run. You can also use
your HTTP client-of-choice to send a GET request to that URL to
obtain the report.
To trigger the actual conversion, use <SRM Base
URL>/x/integrations/tool-connector/migration/commit-run. This URL
responds with a 204 No Content upon success.