Skip to content

Commit 5e763d7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove x-unstable property from security findings Jira issues endpoints (#3335)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 8dfbd02 commit 5e763d7

18 files changed

Lines changed: 675 additions & 49 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13778,7 +13778,8 @@ components:
1377813778
description: Attributes of the Jira issue to create.
1377913779
properties:
1378013780
assignee_id:
13781-
description: Unique identifier of the user assigned to the Jira issue.
13781+
description: Unique identifier of the Datadog user assigned to the Jira
13782+
issue.
1378213783
example: f315bdaf-9ee7-4808-a9c1-99c15bf0f4d0
1378313784
type: string
1378413785
description:
@@ -13799,8 +13800,9 @@ components:
1379913800
type: object
1380013801
priority:
1380113802
$ref: '#/components/schemas/CasePriority'
13802-
description: Priority of the Jira issue. If not provided, the priority will
13803-
be automatically set to "NOT_DEFINED".
13803+
description: Datadog case priority mapped to the Jira issue priority. If
13804+
not provided, the priority will be automatically set to "NOT_DEFINED".
13805+
To configure the mapping, see [Bidirectional ticket syncing with Jira](https://docs.datadoghq.com/security/ticketing_integrations/#bidirectional-ticket-syncing-with-jira).
1380413806
example: P4
1380513807
title:
1380613808
description: Title of the Jira issue. If not provided, the title will be
@@ -87819,9 +87821,6 @@ paths:
8781987821
permissions:
8782087822
- security_monitoring_findings_write
8782187823
- appsec_vm_write
87822-
x-unstable: '**Note**: This endpoint is in beta and is subject to change.
87823-
87824-
Please check the documentation regularly for updates.'
8782587824
post:
8782687825
description: 'Create Jira issues for security findings.
8782787826

@@ -87865,9 +87864,6 @@ paths:
8786587864
permissions:
8786687865
- security_monitoring_findings_write
8786787866
- appsec_vm_write
87868-
x-unstable: '**Note**: This endpoint is in beta and is subject to change.
87869-
87870-
Please check the documentation regularly for updates.'
8787187867
/api/v2/security/findings/search:
8787287868
post:
8787387869
description: 'Get a list of security findings that match a search query. [See
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-01-02T17:04:07.979Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"log": {
3+
"_recordingName": "Security Monitoring/Create Jira issue for security finding returns \"Created\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "66c5017325aae5447ddd43626af2401e",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 335,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 578,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"data\":[{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"YmNlZmJhYTcyMDU5ZDk0ZDhiNjRmNGI0NDk4MDdiNzN-MDJlMjg0NzNmYzJiODY2MzJkNjU0OTI4NmVhZTUyY2U=\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v2/security/findings/jira_issues"
39+
},
40+
"response": {
41+
"bodySize": 1056,
42+
"content": {
43+
"mimeType": "application/vnd.api+json",
44+
"size": 1056,
45+
"text": "{\"data\":[{\"id\":\"b5b9ee39-29f8-4b84-a878-28e597e2a33f\",\"type\":\"cases\",\"attributes\":{\"created_at\":\"2026-01-02T17:04:10.514692Z\",\"creation_source\":\"CS_SECURITY_FINDING\",\"description\":\"A description\",\"insights\":[{\"type\":\"SECURITY_FINDING\",\"ref\":\"/security/csm/vm?query=%40workflow.integrations.cases.id%3A%2A\\u0026vulnerability=bcefbaa72059d94d8b64f4b449807b73\",\"resource_id\":\"YmNlZmJhYTcyMDU5ZDk0ZDhiNjRmNGI0NDk4MDdiNzN-MDJlMjg0NzNmYzJiODY2MzJkNjU0OTI4NmVhZTUyY2U=\"}],\"jira_issue\":{\"status\":\"COMPLETED\",\"result\":{\"issue_id\":\"2523546\",\"issue_key\":\"CSMSEC-105847\",\"issue_url\":\"https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105847\",\"account_id\":\"fdcffa62-24ab-4914-a195-a22bdc607030\"}},\"key\":\"CSMINV-521\",\"modified_at\":\"2026-01-02T17:04:11.504549Z\",\"priority\":\"P4\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"A title\",\"type\":\"SECURITY\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"dc09afab-6ae7-11ef-92b1-828dac1b0195\",\"type\":\"users\"}},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}}}]}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/vnd.api+json"
52+
}
53+
],
54+
"headersSize": 526,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 201,
58+
"statusText": "Created"
59+
},
60+
"startedDateTime": "2026-01-02T17:04:07.989Z",
61+
"time": 3628
62+
},
63+
{
64+
"_id": "8212e835e925377e3a73db3447b49755",
65+
"_order": 0,
66+
"cache": {},
67+
"request": {
68+
"bodySize": 181,
69+
"cookies": [],
70+
"headers": [
71+
{
72+
"_fromType": "array",
73+
"name": "accept",
74+
"value": "*/*"
75+
},
76+
{
77+
"_fromType": "array",
78+
"name": "content-type",
79+
"value": "application/json"
80+
}
81+
],
82+
"headersSize": 555,
83+
"httpVersion": "HTTP/1.1",
84+
"method": "DELETE",
85+
"postData": {
86+
"mimeType": "application/json",
87+
"params": [],
88+
"text": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"YmNlZmJhYTcyMDU5ZDk0ZDhiNjRmNGI0NDk4MDdiNzN-MDJlMjg0NzNmYzJiODY2MzJkNjU0OTI4NmVhZTUyY2U=\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}"
89+
},
90+
"queryString": [],
91+
"url": "https://api.datadoghq.com/api/v2/security/findings/cases"
92+
},
93+
"response": {
94+
"bodySize": 0,
95+
"content": {
96+
"mimeType": "text/plain",
97+
"size": 0
98+
},
99+
"cookies": [],
100+
"headers": [],
101+
"headersSize": 464,
102+
"httpVersion": "HTTP/1.1",
103+
"redirectURL": "",
104+
"status": 204,
105+
"statusText": "No Content"
106+
},
107+
"startedDateTime": "2026-01-02T17:04:11.626Z",
108+
"time": 925
109+
}
110+
],
111+
"pages": [],
112+
"version": "1.2"
113+
}
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-01-02T17:21:33.080Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"log": {
3+
"_recordingName": "Security Monitoring/Create Jira issue for security findings returns \"Created\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "1ce4a06617774a13107a661ea467db71",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 363,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 580,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"data\":[{\"attributes\":{\"description\":\"A description\",\"title\":\"A title\"},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"a3ZoLXNjbS14eXV-aS0wNWY5MGYwMGE4NDg2ODdlOA==\",\"type\":\"findings\"},{\"id\":\"eWswLWJsdC1hZm5-aS0wMjRlYTgwMzVkZTU1MGIwYQ==\",\"type\":\"findings\"}]},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v2/security/findings/jira_issues"
39+
},
40+
"response": {
41+
"bodySize": 1353,
42+
"content": {
43+
"mimeType": "application/vnd.api+json",
44+
"size": 1353,
45+
"text": "{\"data\":[{\"id\":\"527aa591-d40e-4445-be80-9d012ba8397e\",\"type\":\"cases\",\"attributes\":{\"created_at\":\"2026-01-02T17:21:34.65318Z\",\"creation_source\":\"CS_SECURITY_FINDING\",\"description\":\"A description\",\"insights\":[{\"type\":\"SECURITY_FINDING\",\"ref\":\"/security/compliance?panels=cpfinding%7Cevent%7CruleId%3Akvh-scm-xyu%7CresourceId%3Ai-05f90f00a848687e8\\u0026query=%40finding_id%3Aa3ZoLXNjbS14eXV-aS0wNWY5MGYwMGE4NDg2ODdlOA%3D%3D\",\"resource_id\":\"a3ZoLXNjbS14eXV-aS0wNWY5MGYwMGE4NDg2ODdlOA==\"},{\"type\":\"SECURITY_FINDING\",\"ref\":\"/security/compliance?panels=cpfinding%7Cevent%7CruleId%3Ayk0-blt-afn%7CresourceId%3Ai-024ea8035de550b0a\\u0026query=%40finding_id%3AeWswLWJsdC1hZm5-aS0wMjRlYTgwMzVkZTU1MGIwYQ%3D%3D\",\"resource_id\":\"eWswLWJsdC1hZm5-aS0wMjRlYTgwMzVkZTU1MGIwYQ==\"}],\"jira_issue\":{\"status\":\"COMPLETED\",\"result\":{\"issue_id\":\"2523579\",\"issue_key\":\"CSMSEC-105849\",\"issue_url\":\"https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105849\",\"account_id\":\"fdcffa62-24ab-4914-a195-a22bdc607030\"}},\"key\":\"CSMINV-523\",\"modified_at\":\"2026-01-02T17:21:35.836445Z\",\"priority\":\"P3\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"A title\",\"type\":\"SECURITY\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"dc09afab-6ae7-11ef-92b1-828dac1b0195\",\"type\":\"users\"}},\"project\":{\"data\":{\"id\":\"959a6f71-bac8-4027-b1d3-2264f569296f\",\"type\":\"projects\"}}}}]}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/vnd.api+json"
52+
}
53+
],
54+
"headersSize": 526,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 201,
58+
"statusText": "Created"
59+
},
60+
"startedDateTime": "2026-01-02T17:21:33.087Z",
61+
"time": 2890
62+
},
63+
{
64+
"_id": "6572e0b0c67dc572b4d94501093d4afa",
65+
"_order": 0,
66+
"cache": {},
67+
"request": {
68+
"bodySize": 137,
69+
"cookies": [],
70+
"headers": [
71+
{
72+
"_fromType": "array",
73+
"name": "accept",
74+
"value": "*/*"
75+
},
76+
{
77+
"_fromType": "array",
78+
"name": "content-type",
79+
"value": "application/json"
80+
}
81+
],
82+
"headersSize": 557,
83+
"httpVersion": "HTTP/1.1",
84+
"method": "DELETE",
85+
"postData": {
86+
"mimeType": "application/json",
87+
"params": [],
88+
"text": "{\"data\":{\"relationships\":{\"findings\":{\"data\":[{\"id\":\"a3ZoLXNjbS14eXV-aS0wNWY5MGYwMGE4NDg2ODdlOA==\",\"type\":\"findings\"}]}},\"type\":\"cases\"}}"
89+
},
90+
"queryString": [],
91+
"url": "https://api.datadoghq.com/api/v2/security/findings/cases"
92+
},
93+
"response": {
94+
"bodySize": 0,
95+
"content": {
96+
"mimeType": "text/plain",
97+
"size": 0
98+
},
99+
"cookies": [],
100+
"headers": [],
101+
"headersSize": 464,
102+
"httpVersion": "HTTP/1.1",
103+
"redirectURL": "",
104+
"status": 204,
105+
"statusText": "No Content"
106+
},
107+
"startedDateTime": "2026-01-02T17:21:35.996Z",
108+
"time": 2056
109+
}
110+
],
111+
"pages": [],
112+
"version": "1.2"
113+
}
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-01-02T16:54:04.434Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"log": {
3+
"_recordingName": "Security Monitoring/Create Jira issues for security findings returns \"Bad Request\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "b1ea1e5912551888ac07e95b75f3804b",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 173,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 580,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"data\":[{\"attributes\":{},\"relationships\":{\"findings\":{\"data\":[]},\"project\":{\"data\":{\"id\":\"7f198869-c7ef-4afc-97cf-da5cdc13b5c3\",\"type\":\"projects\"}}},\"type\":\"jira_issues\"}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v2/security/findings/jira_issues"
39+
},
40+
"response": {
41+
"bodySize": 82,
42+
"content": {
43+
"mimeType": "application/vnd.api+json",
44+
"size": 82,
45+
"text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"no finding provided\"}]}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/vnd.api+json"
52+
}
53+
],
54+
"headersSize": 524,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 400,
58+
"statusText": "Bad Request"
59+
},
60+
"startedDateTime": "2026-01-02T16:54:04.440Z",
61+
"time": 425
62+
}
63+
],
64+
"pages": [],
65+
"version": "1.2"
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2026-01-02T17:23:28.665Z"

0 commit comments

Comments
 (0)