You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/v2/security_monitoring.feature
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Feature: Security Monitoring
9
9
And a valid "appKeyAuth" key in the system
10
10
And an instance of "SecurityMonitoring" API
11
11
12
-
@team:DataDog/k9-investigation
12
+
@skip@team:DataDog/k9-investigation
13
13
Scenario: Attach security finding to a Jira issue returns "OK" response
14
14
Given new "AttachJiraIssue" request
15
15
And body with value {"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"}}
@@ -30,21 +30,21 @@ Feature: Security Monitoring
30
30
And the response "data.attributes.status_group" is equal to "SG_OPEN"
31
31
And the response "data.attributes.insights" has item with field "resource_id" with value "ZGZhMDI3ZjdjMDM3YjJmNzcxNTlhZGMwMjdmZWNiNTZ-MTVlYTNmYWU3NjNlOTNlYTE2YjM4N2JmZmI4Yjk5N2Y="
32
32
33
-
@team:DataDog/k9-investigation
33
+
@skip@team:DataDog/k9-investigation
34
34
Scenario: Attach security findings to a Jira issue returns "Bad Request" response
35
35
Given new "AttachJiraIssue" request
36
36
And body with value {"data": {"attributes": {"jira_issue_url": "https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105476"}, "relationships": {"findings": {"data": []}, "project": {"data": {"id": "959a6f71-bac8-4027-b1d3-2264f569296f", "type": "projects"}}}, "type": "jira_issues"}}
37
37
When the request is sent
38
38
Then the response status is 400 Bad Request
39
39
40
-
@team:DataDog/k9-investigation
40
+
@skip@team:DataDog/k9-investigation
41
41
Scenario: Attach security findings to a Jira issue returns "Not Found" response
42
42
Given new "AttachJiraIssue" request
43
43
And body with value {"data": {"attributes": {"jira_issue_url": "https://datadoghq-sandbox-538.atlassian.net/browse/CSMSEC-105476"}, "relationships": {"findings": {"data": [{"id": "wrong-finding-id", "type": "findings"}]}, "project": {"data": {"id": "959a6f71-bac8-4027-b1d3-2264f569296f", "type": "projects"}}}, "type": "jira_issues"}}
44
44
When the request is sent
45
45
Then the response status is 404 Not Found
46
46
47
-
@team:DataDog/k9-investigation
47
+
@skip@team:DataDog/k9-investigation
48
48
Scenario: Attach security findings to a Jira issue returns "OK" response
49
49
Given new "AttachJiraIssue" request
50
50
And body with value {"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"}}
0 commit comments