Skip to content

Commit 1b1ca26

Browse files
authored
Merge pull request #3275 from zapbot/update-data
Update data
2 parents c0137c4 + 123864b commit 1b1ca26

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
# This page was generated from the add-on.
3+
title: Software Risk Manager
4+
type: userguide
5+
weight: 1
6+
cascade:
7+
addon:
8+
id: srm
9+
version: 2025.9.0
10+
---
11+
12+
# Software Risk Manager
13+
14+
The Software Risk Manager add-on allows you to generate compatible reports and upload them to a Software Risk Manager server. There are two options under the Report menu.
15+
16+
17+
Contributed by <https://www.blackduck.com/>
18+
19+
## Software Risk Manager: Upload Report
20+
21+
This option will generate a report for you and upload it to a Software Risk Manager server. Selecting it will prompt you for the Server URL and API Key. After populating the fields, click the refresh button to get a list of projects available to the API Key. Then click the Upload button to send results to the Software Risk Manager server.
22+
23+
## Software Risk Manager: Generate XML Report
24+
25+
This option will generate a standard XML report that includes the HTTP request and response data.
26+
27+
# API
28+
29+
## Actions
30+
31+
### uploadReport
32+
33+
Uploads a report to Software Risk Manager. Note that uploading an empty report with no alerts will cause an Exception to be thrown as Software Risk Manager won't be able to read it and will return a non-200 response.
34+
35+
*Parameters*
36+
37+
* filePath: Absolute path to the report file
38+
* serverUrl: Software Risk Manager server URL
39+
* codeDxApiKey: Software Risk Manager API Key
40+
* projectId: Software Risk Manager Project ID
41+
* fingerprint: Optional SHA1 hash of an invalid certificate to make an exception for
42+
* acceptPermanently: Optional boolean for if the exception should be stored permanently in a truststore file.
43+
44+
*Returns*
45+
"OK" if the report is uploaded successfully.
46+
47+
### generateAndUpload
48+
49+
Generates a Software Risk Manager report, saves it to a temporary file, uploads to Software Risk Manager, then deletes the file.
50+
51+
*Parameters*
52+
53+
* serverUrl: Software Risk Manager server URL
54+
* codeDxApiKey: Software Risk Manager API Key
55+
* projectId: Software Risk Manager Project ID
56+
* fingerprint: Optional SHA1 hash of an invalid certificate to make an exception for
57+
* acceptPermanently: Optional boolean for if the exception should be stored permanently in a truststore file.
58+
59+
*Returns*
60+
"OK" if the report is uploaded successfully.
61+
"EMPTY" if the generated report is empty. The report will not be uploaded to Software Risk Manager.
62+
63+
## Views
64+
65+
### generateReport
66+
67+
Generates an XML report with request and response data.
68+
69+
*Returns*
70+
An XML report String.

site/data/addons.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,17 @@
10071007
downloadUrl: https://github.com/zaproxy/zap-extensions/releases/download/sqliplugin-v16/sqliplugin-beta-16.zap
10081008
date: 2025-04-30
10091009
version: 16
1010+
- id: srm
1011+
name: Software Risk Manager Extension
1012+
description: Includes request and response data in XML reports and provides the
1013+
ability to upload reports directly to a Software Risk Manager server
1014+
author: Black Duck, Inc.
1015+
status: alpha
1016+
infoUrl: /docs/desktop/addons/software-risk-manager/
1017+
repoUrl: https://github.com/codedx/zap-extensions/
1018+
downloadUrl: https://github.com/zaproxy-addons/srm/releases/download/v2025.9.0/srm-alpha-2025.9.0.zap
1019+
date: 2025-09-26
1020+
version: 2025.9.0
10101021
- id: sse
10111022
name: Server-Sent Events
10121023
description: Allows you to view Server-Sent Events (SSE) communication.

0 commit comments

Comments
 (0)