@resolution/jira-api-client 0.17.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +3 -3
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +1 -1
- package/lib/openapi/platform/models/issueCustomFieldContexts.d.ts +53 -0
- package/lib/openapi/platform/models/issueCustomFieldContexts.js +18 -0
- package/lib/openapi/platform/models/issueCustomFieldContexts.js.map +1 -1
- package/lib/openapi/platform/models/issueFields.d.ts +10 -0
- package/lib/openapi/platform/models/issueFields.js +2 -0
- package/lib/openapi/platform/models/issueFields.js.map +1 -1
- package/lib/openapi/platform/models/issueSearch.d.ts +1 -1
- package/lib/openapi/platform/models/projectTemplates.d.ts +18 -0
- package/lib/openapi/platform/models/projectTemplates.js +1 -0
- package/lib/openapi/platform/models/projectTemplates.js.map +1 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +51 -1
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +55 -0
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +6 -1
- package/lib/openapi/platform/services/StatusService.js +3 -2
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowsService.d.ts +6 -1
- package/lib/openapi/platform/services/WorkflowsService.js +3 -2
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +6 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +6 -2
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/services/SecurityInformationService.d.ts +66 -80
- package/lib/openapi/software/services/SecurityInformationService.js +6 -34
- package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
- package/package.json +3 -3
|
@@ -10,10 +10,14 @@ import { type SubmitVulnerabilitiesRequest, type SubmitVulnerabilitiesResponse,
|
|
|
10
10
|
* your sprints.
|
|
11
11
|
*
|
|
12
12
|
* APIs related to integrating Security information with Jira Software are
|
|
13
|
-
* available to Atlassian Connect apps. To use these APIs you must have
|
|
14
|
-
*
|
|
13
|
+
* available to Atlassian Connect apps. To use these APIs you must have a security
|
|
14
|
+
* info provider module in your Connect app's descriptor. See
|
|
15
15
|
* https://developer.atlassian.com/cloud/jira/software/modules/security-information/.
|
|
16
16
|
*
|
|
17
|
+
* These APIs are available to Forge apps with the `devops:securityInfoProvider`
|
|
18
|
+
* module in the Forge app's manifest. See
|
|
19
|
+
* https://developer.atlassian.com/platform/forge/manifest-reference/modules/jira-software-security-info/.
|
|
20
|
+
*
|
|
17
21
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information
|
|
18
22
|
* @category Services
|
|
19
23
|
*/
|
|
@@ -21,10 +25,6 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
21
25
|
/**
|
|
22
26
|
* Bulk delete all linked Security Workspaces that match the given request.
|
|
23
27
|
*
|
|
24
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
25
|
-
* this resource.
|
|
26
|
-
* This resource requires the 'DELETE' scope for Connect apps.
|
|
27
|
-
*
|
|
28
28
|
* e.g. DELETE /bulk?workspaceIds=111-222-333,444-555-666
|
|
29
29
|
*
|
|
30
30
|
* @path DELETE `/rest/security/1.0/linkedWorkspaces/bulk`
|
|
@@ -33,15 +33,16 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
33
33
|
*/
|
|
34
34
|
deleteLinkedWorkspaces: ({ authorization }: {
|
|
35
35
|
/**
|
|
36
|
-
* All requests must be
|
|
37
|
-
*
|
|
36
|
+
* All requests must be authenticated as an app — either with a Connect JWT token
|
|
37
|
+
* for Connect apps, or with an OAuth 2.0 access token for Forge and OAuth 2.0
|
|
38
|
+
* apps — that corresponds to the Provider app installed in Jira.
|
|
38
39
|
*
|
|
39
|
-
* If the
|
|
40
|
-
*
|
|
40
|
+
* If the app does not define a security information provider module, or does not
|
|
41
|
+
* have the required scope, the request will be rejected with a 403.
|
|
41
42
|
*
|
|
42
43
|
* Read [understanding
|
|
43
44
|
* jwt](https://developer.atlassian.com/blog/2015/01/understanding-jwt/) for more
|
|
44
|
-
* details.
|
|
45
|
+
* details about Connect JWT tokens.
|
|
45
46
|
*/
|
|
46
47
|
authorization: string;
|
|
47
48
|
}) => Promise<void>;
|
|
@@ -58,24 +59,22 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
58
59
|
* Deletion is performed asynchronously. The GET vulnerability endpoint can be
|
|
59
60
|
* used to confirm that data has been deleted successfully (if needed).
|
|
60
61
|
*
|
|
61
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
62
|
-
* this resource.
|
|
63
|
-
* This resource requires the 'DELETE' scope for Connect apps.
|
|
64
|
-
*
|
|
65
62
|
* @path DELETE `/rest/security/1.0/bulkByProperties`
|
|
66
63
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-bulkbyproperties-delete
|
|
67
64
|
* @param params
|
|
68
65
|
*/
|
|
69
66
|
deleteVulnerabilitiesByProperty: ({ authorization }: {
|
|
70
67
|
/**
|
|
71
|
-
* All requests must be
|
|
72
|
-
*
|
|
68
|
+
* All requests must be authenticated as an app — either with a Connect JWT token
|
|
69
|
+
* for Connect apps, or with an OAuth 2.0 access token for Forge and OAuth 2.0
|
|
70
|
+
* apps — that corresponds to the Provider app installed in Jira.
|
|
73
71
|
*
|
|
74
|
-
* If the
|
|
75
|
-
*
|
|
72
|
+
* If the app does not define a security information provider module, or does not
|
|
73
|
+
* have the required scope, the request will be rejected with a 403.
|
|
76
74
|
*
|
|
77
|
-
* Read
|
|
78
|
-
*
|
|
75
|
+
* Read [understanding
|
|
76
|
+
* jwt](https://developer.atlassian.com/blog/2015/01/understanding-jwt/) for more
|
|
77
|
+
* details about Connect JWT tokens.
|
|
79
78
|
*/
|
|
80
79
|
authorization: string;
|
|
81
80
|
}) => Promise<void>;
|
|
@@ -85,10 +84,6 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
85
84
|
* Deletion is performed asynchronously. The GET vulnerability endpoint can be
|
|
86
85
|
* used to confirm that data has been deleted successfully (if needed).
|
|
87
86
|
*
|
|
88
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
89
|
-
* this resource.
|
|
90
|
-
* This resource requires the 'DELETE' scope for Connect apps.
|
|
91
|
-
*
|
|
92
87
|
* @path DELETE `/rest/security/1.0/vulnerability/{vulnerabilityId}`
|
|
93
88
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-vulnerability-vulnerabilityid-delete
|
|
94
89
|
* @param params
|
|
@@ -97,14 +92,16 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
97
92
|
/** The ID of the Vulnerability to delete. */
|
|
98
93
|
vulnerabilityId: string;
|
|
99
94
|
/**
|
|
100
|
-
* All requests must be
|
|
101
|
-
*
|
|
95
|
+
* All requests must be authenticated as an app — either with a Connect JWT token
|
|
96
|
+
* for Connect apps, or with an OAuth 2.0 access token for Forge and OAuth 2.0
|
|
97
|
+
* apps — that corresponds to the Provider app installed in Jira.
|
|
102
98
|
*
|
|
103
|
-
* If the
|
|
104
|
-
*
|
|
99
|
+
* If the app does not define a security information provider module, or does not
|
|
100
|
+
* have the required scope, the request will be rejected with a 403.
|
|
105
101
|
*
|
|
106
|
-
* Read
|
|
107
|
-
*
|
|
102
|
+
* Read [Understanding
|
|
103
|
+
* JWT](https://developer.atlassian.com/blog/2015/01/understanding-jwt/) for more
|
|
104
|
+
* details about Connect JWT tokens.
|
|
108
105
|
*/
|
|
109
106
|
authorization: string;
|
|
110
107
|
}) => Promise<void>;
|
|
@@ -115,10 +112,6 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
115
112
|
* The result will be what is currently stored, ignoring any pending updates or
|
|
116
113
|
* deletes.
|
|
117
114
|
*
|
|
118
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
119
|
-
* this resource.
|
|
120
|
-
* This resource requires the 'READ' scope for Connect apps.
|
|
121
|
-
*
|
|
122
115
|
* @returns The Security Workspace information stored for the given ID.
|
|
123
116
|
* @path GET `/rest/security/1.0/linkedWorkspaces/{workspaceId}`
|
|
124
117
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-workspaceid-get
|
|
@@ -128,14 +121,16 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
128
121
|
/** The ID of the workspace to fetch. */
|
|
129
122
|
workspaceId: string;
|
|
130
123
|
/**
|
|
131
|
-
* All requests must be
|
|
132
|
-
*
|
|
124
|
+
* All requests must be authenticated as an app — either with a Connect JWT token
|
|
125
|
+
* for Connect apps, or with an OAuth 2.0 access token for Forge and OAuth 2.0
|
|
126
|
+
* apps — that corresponds to the Provider app installed in Jira.
|
|
133
127
|
*
|
|
134
|
-
* If the
|
|
135
|
-
*
|
|
128
|
+
* If the app does not define a security information provider module, or does not
|
|
129
|
+
* have the required scope, the request will be rejected with a 403.
|
|
136
130
|
*
|
|
137
|
-
* Read
|
|
138
|
-
*
|
|
131
|
+
* Read [understanding
|
|
132
|
+
* jwt](https://developer.atlassian.com/blog/2015/01/understanding-jwt/) for more
|
|
133
|
+
* details about Connect JWT tokens.
|
|
139
134
|
*/
|
|
140
135
|
authorization: string;
|
|
141
136
|
}) => Promise<SecurityWorkspaceResponse>;
|
|
@@ -145,10 +140,6 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
145
140
|
* The result will be what is currently stored, ignoring any pending updates or
|
|
146
141
|
* deletes.
|
|
147
142
|
*
|
|
148
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
149
|
-
* this resource.
|
|
150
|
-
* This resource requires the 'READ' scope for Connect apps.
|
|
151
|
-
*
|
|
152
143
|
* @returns A list of all stored workspace IDs.
|
|
153
144
|
* @path GET `/rest/security/1.0/linkedWorkspaces`
|
|
154
145
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-get
|
|
@@ -156,14 +147,16 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
156
147
|
*/
|
|
157
148
|
getLinkedWorkspaces: ({ authorization }: {
|
|
158
149
|
/**
|
|
159
|
-
* All requests must be
|
|
160
|
-
*
|
|
150
|
+
* All requests must be authenticated as an app — either with a Connect JWT token
|
|
151
|
+
* for Connect apps, or with an OAuth 2.0 access token for Forge and OAuth 2.0
|
|
152
|
+
* apps — that corresponds to the Provider app installed in Jira.
|
|
161
153
|
*
|
|
162
|
-
* If the
|
|
163
|
-
*
|
|
154
|
+
* If the app does not define a security information provider module, or does not
|
|
155
|
+
* have the required scope, the request will be rejected with a 403.
|
|
164
156
|
*
|
|
165
|
-
* Read
|
|
166
|
-
*
|
|
157
|
+
* Read [understanding
|
|
158
|
+
* jwt](https://developer.atlassian.com/blog/2015/01/understanding-jwt/) for more
|
|
159
|
+
* details about Connect JWT tokens.
|
|
167
160
|
*/
|
|
168
161
|
authorization: string;
|
|
169
162
|
}) => Promise<SecurityWorkspaceIds>;
|
|
@@ -173,10 +166,6 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
173
166
|
* The result will be what is currently stored, ignoring any pending updates or
|
|
174
167
|
* deletes.
|
|
175
168
|
*
|
|
176
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
177
|
-
* this resource.
|
|
178
|
-
* This resource requires the 'READ' scope for Connect apps.
|
|
179
|
-
*
|
|
180
169
|
* @returns The Vulnerability data currently stored for the given ID.
|
|
181
170
|
* @path GET `/rest/security/1.0/vulnerability/{vulnerabilityId}`
|
|
182
171
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-vulnerability-vulnerabilityid-get
|
|
@@ -186,14 +175,16 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
186
175
|
/** The ID of the Vulnerability to fetch. */
|
|
187
176
|
vulnerabilityId: string;
|
|
188
177
|
/**
|
|
189
|
-
* All requests must be
|
|
190
|
-
*
|
|
178
|
+
* All requests must be authenticated as an app — either with a Connect JWT token
|
|
179
|
+
* for Connect apps, or with an OAuth 2.0 access token for Forge and OAuth 2.0
|
|
180
|
+
* apps — that corresponds to the Provider app installed in Jira.
|
|
191
181
|
*
|
|
192
|
-
* If the
|
|
193
|
-
*
|
|
182
|
+
* If the app does not define a security information provider module, or does not
|
|
183
|
+
* have the required scope, the request will be rejected with a 403.
|
|
194
184
|
*
|
|
195
|
-
* Read
|
|
196
|
-
*
|
|
185
|
+
* Read [Understanding
|
|
186
|
+
* JWT](https://developer.atlassian.com/blog/2015/01/understanding-jwt/) for more
|
|
187
|
+
* details about Connect JWT tokens.
|
|
197
188
|
*/
|
|
198
189
|
authorization: string;
|
|
199
190
|
}) => Promise<VulnerabilityDetails>;
|
|
@@ -215,10 +206,6 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
215
206
|
*
|
|
216
207
|
* A maximum of 1000 vulnerabilities can be submitted in one request.
|
|
217
208
|
*
|
|
218
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
219
|
-
* this resource.
|
|
220
|
-
* This resource requires the 'WRITE' scope for Connect apps.
|
|
221
|
-
*
|
|
222
209
|
* @returns Submission accepted. Each Vulnerability submitted in a valid format will eventually be available in Jira.
|
|
223
210
|
*
|
|
224
211
|
* Details of any Vulnerabilities that were submitted but failed submission (due to data format problems, etc.) are available in the response object.
|
|
@@ -228,14 +215,16 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
228
215
|
*/
|
|
229
216
|
submitVulnerabilities: ({ authorization, submitVulnerabilitiesRequest }: {
|
|
230
217
|
/**
|
|
231
|
-
* All requests must be
|
|
232
|
-
*
|
|
218
|
+
* All requests must be authenticated as an app — either with a Connect JWT token
|
|
219
|
+
* for Connect apps, or with an OAuth 2.0 access token for Forge and OAuth 2.0
|
|
220
|
+
* apps — that corresponds to the Provider app installed in Jira.
|
|
233
221
|
*
|
|
234
|
-
* If the
|
|
235
|
-
*
|
|
222
|
+
* If the app does not define a security information provider module, or does not
|
|
223
|
+
* have the required scope, the request will be rejected with a 403.
|
|
236
224
|
*
|
|
237
|
-
* Read
|
|
238
|
-
*
|
|
225
|
+
* Read [understanding
|
|
226
|
+
* jwt](https://developer.atlassian.com/blog/2015/01/understanding-jwt/) for more
|
|
227
|
+
* details about Connect JWT tokens.
|
|
239
228
|
*/
|
|
240
229
|
authorization: string;
|
|
241
230
|
/** Vulnerability data to submit. */
|
|
@@ -247,25 +236,22 @@ export declare class SecurityInformationService extends CommonHttpService {
|
|
|
247
236
|
* and Jira already exists then the workspace ID will be ignored and Jira will
|
|
248
237
|
* process the rest of the entries.
|
|
249
238
|
*
|
|
250
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
251
|
-
* this resource.
|
|
252
|
-
* This resource requires the 'WRITE' scope for Connect apps.
|
|
253
|
-
*
|
|
254
239
|
* @path POST `/rest/security/1.0/linkedWorkspaces/bulk`
|
|
255
240
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-bulk-post
|
|
256
241
|
* @param params
|
|
257
242
|
*/
|
|
258
243
|
submitWorkspaces: ({ authorization, submitSecurityWorkspacesRequest }: {
|
|
259
244
|
/**
|
|
260
|
-
* All requests must be
|
|
261
|
-
*
|
|
245
|
+
* All requests must be authenticated as an app — either with a Connect JWT token
|
|
246
|
+
* for Connect apps, or with an OAuth 2.0 access token for Forge and OAuth 2.0
|
|
247
|
+
* apps — that corresponds to the Provider app installed in Jira.
|
|
262
248
|
*
|
|
263
|
-
* If the
|
|
264
|
-
*
|
|
249
|
+
* If the app does not define a security information provider module, or does not
|
|
250
|
+
* have the required scope, the request will be rejected with a 403.
|
|
265
251
|
*
|
|
266
252
|
* Read [understanding
|
|
267
253
|
* jwt](https://developer.atlassian.com/blog/2015/01/understanding-jwt/) for more
|
|
268
|
-
* details.
|
|
254
|
+
* details about Connect JWT tokens.
|
|
269
255
|
*/
|
|
270
256
|
authorization: string;
|
|
271
257
|
/** Security Workspace IDs to submit. */
|
|
@@ -19,10 +19,14 @@ const zod_1 = require("zod");
|
|
|
19
19
|
* your sprints.
|
|
20
20
|
*
|
|
21
21
|
* APIs related to integrating Security information with Jira Software are
|
|
22
|
-
* available to Atlassian Connect apps. To use these APIs you must have
|
|
23
|
-
*
|
|
22
|
+
* available to Atlassian Connect apps. To use these APIs you must have a security
|
|
23
|
+
* info provider module in your Connect app's descriptor. See
|
|
24
24
|
* https://developer.atlassian.com/cloud/jira/software/modules/security-information/.
|
|
25
25
|
*
|
|
26
|
+
* These APIs are available to Forge apps with the `devops:securityInfoProvider`
|
|
27
|
+
* module in the Forge app's manifest. See
|
|
28
|
+
* https://developer.atlassian.com/platform/forge/manifest-reference/modules/jira-software-security-info/.
|
|
29
|
+
*
|
|
26
30
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information
|
|
27
31
|
* @category Services
|
|
28
32
|
*/
|
|
@@ -32,10 +36,6 @@ class SecurityInformationService extends CommonHttpService_1.CommonHttpService {
|
|
|
32
36
|
/**
|
|
33
37
|
* Bulk delete all linked Security Workspaces that match the given request.
|
|
34
38
|
*
|
|
35
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
36
|
-
* this resource.
|
|
37
|
-
* This resource requires the 'DELETE' scope for Connect apps.
|
|
38
|
-
*
|
|
39
39
|
* e.g. DELETE /bulk?workspaceIds=111-222-333,444-555-666
|
|
40
40
|
*
|
|
41
41
|
* @path DELETE `/rest/security/1.0/linkedWorkspaces/bulk`
|
|
@@ -64,10 +64,6 @@ class SecurityInformationService extends CommonHttpService_1.CommonHttpService {
|
|
|
64
64
|
* Deletion is performed asynchronously. The GET vulnerability endpoint can be
|
|
65
65
|
* used to confirm that data has been deleted successfully (if needed).
|
|
66
66
|
*
|
|
67
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
68
|
-
* this resource.
|
|
69
|
-
* This resource requires the 'DELETE' scope for Connect apps.
|
|
70
|
-
*
|
|
71
67
|
* @path DELETE `/rest/security/1.0/bulkByProperties`
|
|
72
68
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-bulkbyproperties-delete
|
|
73
69
|
* @param params
|
|
@@ -87,10 +83,6 @@ class SecurityInformationService extends CommonHttpService_1.CommonHttpService {
|
|
|
87
83
|
* Deletion is performed asynchronously. The GET vulnerability endpoint can be
|
|
88
84
|
* used to confirm that data has been deleted successfully (if needed).
|
|
89
85
|
*
|
|
90
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
91
|
-
* this resource.
|
|
92
|
-
* This resource requires the 'DELETE' scope for Connect apps.
|
|
93
|
-
*
|
|
94
86
|
* @path DELETE `/rest/security/1.0/vulnerability/{vulnerabilityId}`
|
|
95
87
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-vulnerability-vulnerabilityid-delete
|
|
96
88
|
* @param params
|
|
@@ -114,10 +106,6 @@ class SecurityInformationService extends CommonHttpService_1.CommonHttpService {
|
|
|
114
106
|
* The result will be what is currently stored, ignoring any pending updates or
|
|
115
107
|
* deletes.
|
|
116
108
|
*
|
|
117
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
118
|
-
* this resource.
|
|
119
|
-
* This resource requires the 'READ' scope for Connect apps.
|
|
120
|
-
*
|
|
121
109
|
* @returns The Security Workspace information stored for the given ID.
|
|
122
110
|
* @path GET `/rest/security/1.0/linkedWorkspaces/{workspaceId}`
|
|
123
111
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-workspaceid-get
|
|
@@ -145,10 +133,6 @@ class SecurityInformationService extends CommonHttpService_1.CommonHttpService {
|
|
|
145
133
|
* The result will be what is currently stored, ignoring any pending updates or
|
|
146
134
|
* deletes.
|
|
147
135
|
*
|
|
148
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
149
|
-
* this resource.
|
|
150
|
-
* This resource requires the 'READ' scope for Connect apps.
|
|
151
|
-
*
|
|
152
136
|
* @returns A list of all stored workspace IDs.
|
|
153
137
|
* @path GET `/rest/security/1.0/linkedWorkspaces`
|
|
154
138
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-get
|
|
@@ -173,10 +157,6 @@ class SecurityInformationService extends CommonHttpService_1.CommonHttpService {
|
|
|
173
157
|
* The result will be what is currently stored, ignoring any pending updates or
|
|
174
158
|
* deletes.
|
|
175
159
|
*
|
|
176
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
177
|
-
* this resource.
|
|
178
|
-
* This resource requires the 'READ' scope for Connect apps.
|
|
179
|
-
*
|
|
180
160
|
* @returns The Vulnerability data currently stored for the given ID.
|
|
181
161
|
* @path GET `/rest/security/1.0/vulnerability/{vulnerabilityId}`
|
|
182
162
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-vulnerability-vulnerabilityid-get
|
|
@@ -216,10 +196,6 @@ class SecurityInformationService extends CommonHttpService_1.CommonHttpService {
|
|
|
216
196
|
*
|
|
217
197
|
* A maximum of 1000 vulnerabilities can be submitted in one request.
|
|
218
198
|
*
|
|
219
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
220
|
-
* this resource.
|
|
221
|
-
* This resource requires the 'WRITE' scope for Connect apps.
|
|
222
|
-
*
|
|
223
199
|
* @returns Submission accepted. Each Vulnerability submitted in a valid format will eventually be available in Jira.
|
|
224
200
|
*
|
|
225
201
|
* Details of any Vulnerabilities that were submitted but failed submission (due to data format problems, etc.) are available in the response object.
|
|
@@ -248,10 +224,6 @@ class SecurityInformationService extends CommonHttpService_1.CommonHttpService {
|
|
|
248
224
|
* and Jira already exists then the workspace ID will be ignored and Jira will
|
|
249
225
|
* process the rest of the entries.
|
|
250
226
|
*
|
|
251
|
-
* Only Connect apps that define the `jiraSecurityInfoProvider` module can access
|
|
252
|
-
* this resource.
|
|
253
|
-
* This resource requires the 'WRITE' scope for Connect apps.
|
|
254
|
-
*
|
|
255
227
|
* @path POST `/rest/security/1.0/linkedWorkspaces/bulk`
|
|
256
228
|
* @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-security-information#api-rest-security-1-0-linkedworkspaces-bulk-post
|
|
257
229
|
* @param params
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecurityInformationService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/SecurityInformationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,uEAAgS;AAChS,wEAAqE;AACrE,6BAAwB;AACxB
|
|
1
|
+
{"version":3,"file":"SecurityInformationService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/SecurityInformationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,uEAAgS;AAChS,wEAAqE;AACrE,6BAAwB;AACxB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,0BAA2B,SAAQ,qCAAiB;IAAjE;;QACE;;;;;;;;WAQG;QACH,2BAAsB,GAAG,CAAC,EACxB,aAAa,EAed,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,0CAA0C;gBAChD,MAAM,EAAE,QAAQ;gBAChB,OAAO,E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,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,sBAAsB,CAAC;SAC3D,CAAC,CAAC,QAAQ,CAAC,0DAA0D,CAAC,CAAC,CAAC;QACzE,iDAAuB,CAAC,YAAY,CAAC,CAAC,kEAA4C,CAAC,CAAC,CAAC;IACvF,CAAC;CACF;AArYD,gEAqYC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@resolution/jira-api-client",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "JIRA Platform & Software API Client based on OpenAPI Schema from Atlassian.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://bitbucket.org/resolutiongmbh/atlassian-api-clients#readme",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@resolution/atlassian-api-common": "^0.17.
|
|
41
|
+
"@resolution/atlassian-api-common": "^0.17.1"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "54ba9e0d0a27660dc7b04bcf0f8000a5eece79f6"
|
|
47
47
|
}
|