diff --git a/features/v2/audit.feature b/features/v2/audit.feature index b61cee6106ad..20a2c45f342c 100644 --- a/features/v2/audit.feature +++ b/features/v2/audit.feature @@ -7,19 +7,19 @@ Feature: Audit And a valid "appKeyAuth" key in the system And an instance of "Audit" API - @generated @skip @team:DataDog/logs-app + @generated @skip @team:DataDog/audit-trail Scenario: Get a list of Audit Logs events returns "Bad Request" response Given new "ListAuditLogs" request When the request is sent Then the response status is 400 Bad Request - @team:DataDog/logs-app + @team:DataDog/audit-trail Scenario: Get a list of Audit Logs events returns "OK" response Given new "ListAuditLogs" request When the request is sent Then the response status is 200 OK - @replay-only @skip-validation @team:DataDog/logs-app @with-pagination + @replay-only @skip-validation @team:DataDog/audit-trail @with-pagination Scenario: Get a list of Audit Logs events returns "OK" response with pagination Given new "ListAuditLogs" request And request contains "page[limit]" parameter with value 2 @@ -27,21 +27,21 @@ Feature: Audit Then the response status is 200 OK And the response has 3 items - @generated @skip @team:DataDog/logs-app + @generated @skip @team:DataDog/audit-trail Scenario: Search Audit Logs events returns "Bad Request" response Given new "SearchAuditLogs" request And body with value {"filter": {"from": "now-15m", "query": "@type:session AND @session.type:user", "to": "now"}, "options": {"timezone": "GMT"}, "page": {"cursor": "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==", "limit": 25}, "sort": "timestamp"} When the request is sent Then the response status is 400 Bad Request - @team:DataDog/logs-app + @team:DataDog/audit-trail Scenario: Search Audit Logs events returns "OK" response Given new "SearchAuditLogs" request And body with value {"filter": {"from": "now-15m", "query": "@type:session AND @session.type:user", "to": "now"}, "options": {"time_offset": 0, "timezone": "GMT"}, "page": {"limit": 25}, "sort": "timestamp"} When the request is sent Then the response status is 200 OK - @replay-only @skip-validation @team:DataDog/logs-app @with-pagination + @replay-only @skip-validation @team:DataDog/audit-trail @with-pagination Scenario: Search Audit Logs events returns "OK" response with pagination Given new "SearchAuditLogs" request And body with value {"filter": {"from": "now-15m", "to": "now"}, "options": {"timezone": "GMT"}, "page": {"limit": 2}, "sort": "timestamp"}