getVulnerabilityById method

Future getVulnerabilityById(
  1. String vulnerabilityId
)

Retrieve the currently stored Vulnerability data for the given ID.

The result will be what is currently stored, ignoring any pending updates or deletes.

Only Connect apps that define the jiraSecurityInfoProvider module can access this resource. This resource requires the 'READ' scope for Connect apps.

Implementation

Future<dynamic> getVulnerabilityById(String vulnerabilityId) async {
  return await _client.send(
    'get',
    'rest/security/1.0/vulnerability/{vulnerabilityId}',
    pathParameters: {
      'vulnerabilityId': vulnerabilityId,
    },
  );
}