Skip to content

Commit 757dca1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit c16f550c of spec repo (#1066)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 8a70cb1 commit 757dca1

File tree

4 files changed

+59
-59
lines changed

4 files changed

+59
-59
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-06-23 07:34:01.303866",
8-
"spec_repo_commit": "c2c6e7b4"
7+
"regenerated": "2022-06-23 08:09:34.821888",
8+
"spec_repo_commit": "c16f550c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-06-23 07:34:01.317476",
13-
"spec_repo_commit": "c2c6e7b4"
12+
"regenerated": "2022-06-23 08:09:34.834152",
13+
"spec_repo_commit": "c16f550c"
1414
}
1515
}
1616
}

tests/v1/features/security_monitoring.feature

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,71 +7,71 @@ Feature: Security Monitoring
77
And a valid "appKeyAuth" key in the system
88
And an instance of "SecurityMonitoring" API
99

10-
@generated @skip @team:DataDog/security-monitoring
10+
@generated @skip @team:DataDog/k9-cloud-security-platform
1111
Scenario: Add a security signal to an incident returns "Bad Request" response
1212
Given new "AddSecurityMonitoringSignalToIncident" request
1313
And request contains "signal_id" parameter from "REPLACE.ME"
1414
And body with value {"incident_id": 2066}
1515
When the request is sent
1616
Then the response status is 400 Bad Request
1717

18-
@generated @skip @team:DataDog/security-monitoring
18+
@generated @skip @team:DataDog/k9-cloud-security-platform
1919
Scenario: Add a security signal to an incident returns "Not Found" response
2020
Given new "AddSecurityMonitoringSignalToIncident" request
2121
And request contains "signal_id" parameter from "REPLACE.ME"
2222
And body with value {"incident_id": 2066}
2323
When the request is sent
2424
Then the response status is 404 Not Found
2525

26-
@replay-only @team:DataDog/security-monitoring
26+
@replay-only @team:DataDog/k9-cloud-security-platform
2727
Scenario: Add a security signal to an incident returns "OK" response
2828
Given new "AddSecurityMonitoringSignalToIncident" request
2929
And request contains "signal_id" parameter with value "AQAAAYDiB_Ol8PbzFAAAAABBWURpQl9PbEFBQU0yeXhGTG9ZV2JnQUE"
3030
And body with value {"incident_id": 2609}
3131
When the request is sent
3232
Then the response status is 200 OK
3333

34-
@generated @skip @team:DataDog/security-monitoring
34+
@generated @skip @team:DataDog/k9-cloud-security-platform
3535
Scenario: Change the triage state of a security signal returns "Bad Request" response
3636
Given new "EditSecurityMonitoringSignalState" request
3737
And request contains "signal_id" parameter from "REPLACE.ME"
3838
And body with value {"archiveReason": "none", "state": "open"}
3939
When the request is sent
4040
Then the response status is 400 Bad Request
4141

42-
@generated @skip @team:DataDog/security-monitoring
42+
@generated @skip @team:DataDog/k9-cloud-security-platform
4343
Scenario: Change the triage state of a security signal returns "Not Found" response
4444
Given new "EditSecurityMonitoringSignalState" request
4545
And request contains "signal_id" parameter from "REPLACE.ME"
4646
And body with value {"archiveReason": "none", "state": "open"}
4747
When the request is sent
4848
Then the response status is 404 Not Found
4949

50-
@replay-only @team:DataDog/security-monitoring
50+
@replay-only @team:DataDog/k9-cloud-security-platform
5151
Scenario: Change the triage state of a security signal returns "OK" response
5252
Given new "EditSecurityMonitoringSignalState" request
5353
And request contains "signal_id" parameter with value "AQAAAYDiB_Ol8PbzFAAAAABBWURpQl9PbEFBQU0yeXhGTG9ZV2JnQUE"
5454
And body with value {"archiveReason": "none", "state": "open"}
5555
When the request is sent
5656
Then the response status is 200 OK
5757

58-
@generated @skip @team:DataDog/security-monitoring
58+
@generated @skip @team:DataDog/k9-cloud-security-platform
5959
Scenario: Modify the triage assignee of a security signal returns "Bad Request" response
6060
Given new "EditSecurityMonitoringSignalAssignee" request
6161
And request contains "signal_id" parameter from "REPLACE.ME"
6262
And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940"}
6363
When the request is sent
6464
Then the response status is 400 Bad Request
6565

66-
@generated @skip @team:DataDog/security-monitoring
66+
@generated @skip @team:DataDog/k9-cloud-security-platform
6767
Scenario: Modify the triage assignee of a security signal returns "Not Found" response
6868
Given new "EditSecurityMonitoringSignalAssignee" request
6969
And request contains "signal_id" parameter from "REPLACE.ME"
7070
And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940"}
7171
When the request is sent
7272
Then the response status is 404 Not Found
7373

74-
@replay-only @team:DataDog/security-monitoring
74+
@replay-only @team:DataDog/k9-cloud-security-platform
7575
Scenario: Modify the triage assignee of a security signal returns "OK" response
7676
Given new "EditSecurityMonitoringSignalAssignee" request
7777
And request contains "signal_id" parameter with value "AQAAAYDiB_Ol8PbzFAAAAABBWURpQl9PbEFBQU0yeXhGTG9ZV2JnQUE"

tests/v2/features/cloud_workload_security.feature

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ Feature: Cloud Workload Security
88
And a valid "appKeyAuth" key in the system
99
And an instance of "CloudWorkloadSecurity" API
1010

11-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
11+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
1212
Scenario: Create a Cloud Workload Security Agent rule returns "Bad Request" response
1313
Given new "CreateCloudWorkloadSecurityAgentRule" request
1414
And body with value {"data": {"attributes": {"description": "Test Agent rule", "enabled": true, "expression": "open.file.path = sh", "name": "{{ unique_lower_alnum }}"}, "type": "agent_rule"}}
1515
When the request is sent
1616
Then the response status is 400 Bad Request
1717

18-
@skip @team:DataDog/cws-backend @team:DataDog/security-monitoring
18+
@skip @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
1919
Scenario: Create a Cloud Workload Security Agent rule returns "Conflict" response
2020
Given new "CreateCloudWorkloadSecurityAgentRule" request
2121
And body with value {"data": {"attributes": {"description": "Test Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", "name": "{{ unique_lower_alnum }}"}, "type": "agent_rule"}}
2222
When the request is sent
2323
Then the response status is 409 Conflict
2424

25-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
25+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
2626
Scenario: Create a Cloud Workload Security Agent rule returns "OK" response
2727
Given new "CreateCloudWorkloadSecurityAgentRule" request
2828
And body with value {"data": {"attributes": {"description": "Test Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", "name": "{{ unique_lower_alnum }}"}, "type": "agent_rule"}}
@@ -31,29 +31,29 @@ Feature: Cloud Workload Security
3131
And the response "data.type" is equal to "agent_rule"
3232
And the response "data.attributes.description" is equal to "Test Agent rule"
3333

34-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
34+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
3535
Scenario: Delete a Cloud Workload Security Agent rule returns "Not Found" response
3636
Given new "DeleteCloudWorkloadSecurityAgentRule" request
3737
And request contains "agent_rule_id" parameter with value "abc-123-xyz"
3838
When the request is sent
3939
Then the response status is 404 Not Found
4040

41-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
41+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
4242
Scenario: Delete a Cloud Workload Security Agent rule returns "OK" response
4343
Given there is a valid "agent_rule" in the system
4444
And new "DeleteCloudWorkloadSecurityAgentRule" request
4545
And request contains "agent_rule_id" parameter from "agent_rule.data.id"
4646
When the request is sent
4747
Then the response status is 204 OK
4848

49-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
49+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
5050
Scenario: Get a Cloud Workload Security Agent rule returns "Not Found" response
5151
Given new "GetCloudWorkloadSecurityAgentRule" request
5252
And request contains "agent_rule_id" parameter with value "abc-123-xyz"
5353
When the request is sent
5454
Then the response status is 404 Not Found
5555

56-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
56+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
5757
Scenario: Get a Cloud Workload Security Agent rule returns "OK" response
5858
Given there is a valid "agent_rule" in the system
5959
And new "GetCloudWorkloadSecurityAgentRule" request
@@ -63,21 +63,21 @@ Feature: Cloud Workload Security
6363
And the response "data.type" is equal to "agent_rule"
6464
And the response "data.attributes.description" is equal to "My Agent rule"
6565

66-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
66+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
6767
Scenario: Get all Cloud Workload Security Agent rules returns "OK" response
6868
Given there is a valid "agent_rule" in the system
6969
And new "ListCloudWorkloadSecurityAgentRules" request
7070
When the request is sent
7171
Then the response status is 200 OK
7272
And the response "data[0].type" is equal to "agent_rule"
7373

74-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
74+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
7575
Scenario: Get the latest Cloud Workload Security policy returns "OK" response
7676
Given new "DownloadCloudWorkloadPolicyFile" request
7777
When the request is sent
7878
Then the response status is 200 OK
7979

80-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
80+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
8181
Scenario: Update a Cloud Workload Security Agent rule returns "Bad Request" response
8282
Given there is a valid "agent_rule" in the system
8383
And new "UpdateCloudWorkloadSecurityAgentRule" request
@@ -86,7 +86,7 @@ Feature: Cloud Workload Security
8686
When the request is sent
8787
Then the response status is 400 Bad Request
8888

89-
@skip @team:DataDog/cws-backend @team:DataDog/security-monitoring
89+
@skip @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
9090
Scenario: Update a Cloud Workload Security Agent rule returns "Concurrent Modification" response
9191
Given there is a valid "agent_rule" in the system
9292
And new "UpdateCloudWorkloadSecurityAgentRule" request
@@ -95,15 +95,15 @@ Feature: Cloud Workload Security
9595
When the request is sent
9696
Then the response status is 409 Concurrent Modification
9797

98-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
98+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
9999
Scenario: Update a Cloud Workload Security Agent rule returns "Not Found" response
100100
Given new "UpdateCloudWorkloadSecurityAgentRule" request
101101
And request contains "agent_rule_id" parameter with value "abc-123-xyz"
102102
And body with value {"data": {"attributes": {"description": "Test Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\""}, "type": "agent_rule"}}
103103
When the request is sent
104104
Then the response status is 404 Not Found
105105

106-
@team:DataDog/cws-backend @team:DataDog/security-monitoring
106+
@team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
107107
Scenario: Update a Cloud Workload Security Agent rule returns "OK" response
108108
Given there is a valid "agent_rule" in the system
109109
And new "UpdateCloudWorkloadSecurityAgentRule" request

0 commit comments

Comments
 (0)