Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions config/_default/menus/api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3094,6 +3094,66 @@ menu:
unstable:
- v2
order: 28
- name: Create Jira issues for security findings
url: '#create-jira-issues-for-security-findings'
identifier: security-monitoring-create-jira-issues-for-security-findings
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- CreateJiraIssues
unstable: []
order: 7
- name: Attach security findings to a Jira issue
url: '#attach-security-findings-to-a-jira-issue'
identifier: security-monitoring-attach-security-findings-to-a-jira-issue
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- AttachJiraIssue
unstable: []
order: 8
- name: Attach security findings to a case
url: '#attach-security-findings-to-a-case'
identifier: security-monitoring-attach-security-findings-to-a-case
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- AttachCase
unstable: []
order: 5
- name: Create cases for security findings
url: '#create-cases-for-security-findings'
identifier: security-monitoring-create-cases-for-security-findings
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- CreateCases
unstable: []
order: 4
- name: Detach security findings from their case
url: '#detach-security-findings-from-their-case'
identifier: security-monitoring-detach-security-findings-from-their-case
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- DetachCase
unstable: []
order: 6
- name: Get a finding
url: '#get-a-finding'
identifier: security-monitoring-get-a-finding
Expand Down
699 changes: 699 additions & 0 deletions content/en/api/v2/security-monitoring/examples.json

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions content/en/api/v2/security-monitoring/request.AttachCase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"data": {
"id": "7d16945b-baf8-411e-ab2a-20fe43af1ea3",
"relationships": {
"findings": {
"data": [
{
"id": "ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=",
"type": "findings"
},
{
"id": "MmUzMzZkODQ2YTI3NDU0OTk4NDk3NzhkOTY5YjU2Zjh-YWJjZGI1ODI4OTYzNWM3ZmUwZTBlOWRkYTRiMGUyOGQ=",
"type": "findings"
}
]
}
},
"type": "cases"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"data": {
"id": "7d16945b-baf8-411e-ab2a-20fe43af1ea3",
"relationships": {
"findings": {
"data": [
{
"id": "ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=",
"type": "findings"
}
]
}
},
"type": "cases"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"data": {
"attributes": {
"jira_issue_url": "https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105476"
},
"relationships": {
"findings": {
"data": [
{
"id": "OTQ3NjJkMmYwMTIzMzMxNTc1Y2Q4MTA5NWU0NTBmMDl-ZjE3NjMxZWVkYzBjZGI1NDY2NWY2OGQxZDk4MDY4MmI=",
"type": "findings"
},
{
"id": "MTNjN2ZmYWMzMDIxYmU1ZDFiZDRjNWUwN2I1NzVmY2F-YTA3MzllMTUzNWM3NmEyZjdiNzEzOWM5YmViZTMzOGM=",
"type": "findings"
}
]
},
"project": {
"data": {
"id": "959a6f71-bac8-4027-b1d3-2264f569296f",
"type": "projects"
}
}
},
"type": "jira_issues"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"data": {
"attributes": {
"jira_issue_url": "https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105476"
},
"relationships": {
"findings": {
"data": [
{
"id": "OTQ3NjJkMmYwMTIzMzMxNTc1Y2Q4MTA5NWU0NTBmMDl-ZjE3NjMxZWVkYzBjZGI1NDY2NWY2OGQxZDk4MDY4MmI=",
"type": "findings"
}
]
},
"project": {
"data": {
"id": "959a6f71-bac8-4027-b1d3-2264f569296f",
"type": "projects"
}
}
},
"type": "jira_issues"
}
}
50 changes: 50 additions & 0 deletions content/en/api/v2/security-monitoring/request.CreateCases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"data": [
{
"attributes": {
"title": "A title",
"description": "A description"
},
"relationships": {
"findings": {
"data": [
{
"id": "ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=",
"type": "findings"
}
]
},
"project": {
"data": {
"id": "959a6f71-bac8-4027-b1d3-2264f569296f",
"type": "projects"
}
}
},
"type": "cases"
},
{
"attributes": {
"title": "A title",
"description": "A description"
},
"relationships": {
"findings": {
"data": [
{
"id": "MzZkNTMxODNmOGZlZmJiYzIyMDg4NzhmM2QyMDExZjB-ZmY5NzUwNDQzYTE0MGIyNDM1MTg4YjkxZDNmMDU4OGU=",
"type": "findings"
}
]
},
"project": {
"data": {
"id": "959a6f71-bac8-4027-b1d3-2264f569296f",
"type": "projects"
}
}
},
"type": "cases"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"data": [
{
"attributes": {
"title": "A title",
"description": "A description"
},
"relationships": {
"findings": {
"data": [
{
"id": "ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=",
"type": "findings"
}
]
},
"project": {
"data": {
"id": "959a6f71-bac8-4027-b1d3-2264f569296f",
"type": "projects"
}
}
},
"type": "cases"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"data": [
{
"attributes": {
"title": "A title",
"description": "A description"
},
"relationships": {
"findings": {
"data": [
{
"id": "ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y=",
"type": "findings"
},
{
"id": "MzZkNTMxODNmOGZlZmJiYzIyMDg4NzhmM2QyMDExZjB-ZmY5NzUwNDQzYTE0MGIyNDM1MTg4YjkxZDNmMDU4OGU=",
"type": "findings"
}
]
},
"project": {
"data": {
"id": "959a6f71-bac8-4027-b1d3-2264f569296f",
"type": "projects"
}
}
},
"type": "cases"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"data": [
{
"type": "jira_issues",
"attributes": {},
"relationships": {
"case": {
"data": {
"type": "cases",
"id": "53e242c6-a7d6-46ad-9680-b8d14753f716"
}
}
}
},
{
"type": "jira_issues",
"attributes": {},
"relationships": {
"case": {
"data": {
"type": "cases",
"id": "195772b2-1f53-41d2-b81e-48c8e6c21d33"
}
}
}
}
],
"included": [
{
"type": "cases",
"attributes": {
"title": "A title",
"description": "A description"
},
"relationships": {
"project": {
"data": {
"type": "projects",
"id": "959a6f71-bac8-4027-b1d3-2264f569296f"
}
},
"findings": {
"data": [
{
"type": "findings",
"id": "OTQ3NjJkMmYwMTIzMzMxNTc1Y2Q4MTA5NWU0NTBmMDl-ZjE3NjMxZWVkYzBjZGI1NDY2NWY2OGQxZDk4MDY4MmI="
}
]
}
},
"id": "53e242c6-a7d6-46ad-9680-b8d14753f716"
},
{
"type": "cases",
"attributes": {
"title": "A title",
"description": "A description"
},
"relationships": {
"project": {
"data": {
"type": "projects",
"id": "959a6f71-bac8-4027-b1d3-2264f569296f"
}
},
"findings": {
"data": [
{
"type": "findings",
"id": "MTNjN2ZmYWMzMDIxYmU1ZDFiZDRjNWUwN2I1NzVmY2F-YTA3MzllMTUzNWM3NmEyZjdiNzEzOWM5YmViZTMzOGM="
}
]
}
},
"id": "195772b2-1f53-41d2-b81e-48c8e6c21d33"
},
{
"type": "projects",
"id": "959a6f71-bac8-4027-b1d3-2264f569296f"
},
{
"type": "findings",
"id": "OTQ3NjJkMmYwMTIzMzMxNTc1Y2Q4MTA5NWU0NTBmMDl-ZjE3NjMxZWVkYzBjZGI1NDY2NWY2OGQxZDk4MDY4MmI="
},
{
"type": "findings",
"id": "MTNjN2ZmYWMzMDIxYmU1ZDFiZDRjNWUwN2I1NzVmY2F-YTA3MzllMTUzNWM3NmEyZjdiNzEzOWM5YmViZTMzOGM="
}
]
}
Loading
Loading