The devops:securityInfoProvider module allows Forge apps to send security information (such as vulnerabilities and security containers) to Jira and associate it with an issue.
Supplied security information will be presented in the development panel of the issue it is associated with.
Security information is written and deleted via the Jira Software REST API which can be accessed by Forge apps using the requestJira function.
When a user uninstalls an app, all the data that the app sent to Jira is deleted. If the app is reinstalled, this data won't be added back unless the app resends historical information to Jira.
1 2modules: devops:securityInfoProvider: - key: my-security-info-provider name: value: My Security Info Provider homeUrl: https://www.my-security-info.com logoUrl: https://www.my-security-info.com/logo.svg documentationUrl: https://www.my-security-info.com/help fetchWorkspaces: endpoint: fetchWorkspacesEndpoint fetchContainers: endpoint: fetchContainersEndpoint searchContainers: endpoint: searchContainersEndpoint onEntityAssociated: endpoint: onEntityAssociatedEndpoint onEntityDisassociated: endpoint: onEntityDisassociatedEndpoint
| Property | Type | Required | Description |
|---|---|---|---|
| key | string | Yes | A key to identify this module. |
| name | object | Yes | A human readable name. |
| name.value | string | Yes | Min length: 1 Max length: 255 |
| homeUrl | string | Yes | URL to the provider's homepage. Min length: 1 Max length: 255 Regex: |
| logoUrl | string | No | The logo for the provider, will be displayed in an area 16 by 16 pixels. Min length: 1 Max length: 255 Regex: |
| documentationUrl | string | No | Optional URL to documentation about the provider's Jira integration. Min length: 1 Max length: 255 Regex: |
| fetchWorkspaces | Action | Yes |
Action invoked by Jira to fetch the list of workspaces available to the user from this security information provider. Example request
Example response
|
| fetchContainers | Action | Yes |
Action invoked by Jira to fetch the list of security containers within a workspace. Example request
Example response
|
| searchContainers | Action | Yes |
Action invoked by Jira to search for security containers matching a query. Example request
Example response
|
| onEntityAssociated | Action | No |
Action invoked by Jira when a security container is associated with a Jira entity (such as an issue or project). Example request
|
| onEntityDisassociated | Action | No |
Action invoked by Jira when a security container is disassociated from a Jira entity. Example request
|
| Property | Type | Required | Description |
|---|---|---|---|
| endpoint | string | Yes |
The key of an endpoint module that points to a Forge remote. Jira invokes this endpoint when the action is triggered. |
Rate this page: