diff --git a/src/test/resources/cassettes/features/v2/Get_All_Containers_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_All_Containers_returns_OK_response_with_pagination.json index c4fce886ecb..c5d0f583f30 100644 --- a/src/test/resources/cassettes/features/v2/Get_All_Containers_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_All_Containers_returns_OK_response_with_pagination.json @@ -63,5 +63,39 @@ "unlimited": true }, "id": "0907a899-8644-3453-9bb6-19daf9428f81" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/containers", + "queryStringParameters": { + "page[size]": [ + "2" + ], + "page[cursor]": [ + "c3RhcnRlZDoxNjk3MTE4NDExMDAwLjAwMDAwMHxpZC5yYXc6ODY4OWY2ODUtZTQ0MS00ODJjLTYwNDMtNWQ5ZA==" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "f831b6fe-7b05-02df-371d-d39587b281eb" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_list_of_Audit_Logs_events_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_a_list_of_Audit_Logs_events_returns_OK_response_with_pagination.json index baeb602709c..610d556508a 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_list_of_Audit_Logs_events_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_a_list_of_Audit_Logs_events_returns_OK_response_with_pagination.json @@ -63,5 +63,39 @@ "unlimited": true }, "id": "2b753e88-a4c7-f7a4-51dd-856c3642bfae" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/audit/events", + "queryStringParameters": { + "page[limit]": [ + "2" + ], + "page[cursor]": [ + "eyJhZnRlciI6IkFRQUFBWUFpUWhuWTNRM3VVUUFBQUFCQldVRnBVV2h3YmtGQlEwczJhSGMyTWtoNGNtOTNRVUUifQ" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "ce9bbfa2-c690-7d15-7c4d-36d38aa65d46" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_list_of_RUM_events_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_a_list_of_RUM_events_returns_OK_response_with_pagination.json index 2356244dacb..a21d24211e6 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_list_of_RUM_events_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_a_list_of_RUM_events_returns_OK_response_with_pagination.json @@ -63,5 +63,39 @@ "unlimited": true }, "id": "5ddbd2a2-b87a-98d4-705a-0d1993c8b388" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/rum/events", + "queryStringParameters": { + "page[limit]": [ + "2" + ], + "page[cursor]": [ + "eyJhZnRlciI6IkFRQUFBWUFkTzNLYXN2VDNLd0FBQUFCQldVRmtUek5UVFVGQlFrOXRiRkZaY3kwNGFVcDNRVWMifQ" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "ffaad040-bc62-fb3a-f9f0-84cb3a16b744" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_list_of_events_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_a_list_of_events_returns_OK_response_with_pagination.json index d0193d310c4..e8f12893a19 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_list_of_events_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_a_list_of_events_returns_OK_response_with_pagination.json @@ -75,5 +75,45 @@ "unlimited": true }, "id": "fd227a5a-dc65-89f0-df11-832f4af32407" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/events", + "queryStringParameters": { + "filter[from]": [ + "now-15m" + ], + "filter[to]": [ + "now" + ], + "page[limit]": [ + "2" + ], + "page[cursor]": [ + "eyJhZnRlciI6IkFnQUFBWUdDRlRXSTJoUnZQZ0FBQUFBQUFBQVlBQUFBQUVGWlIwTkdWRmRKUVVGRVVqbERWbEZ5ZEdoZlMxOXJRZ0FBQUNRQUFBQUFNREU0TVRneU1UVXRNelU0T0MwME1EZGhMV0V5TURndE1qUmxZekE5TmpVMVptTmkifQ" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "e1005bf4-c1ec-e6fc-6953-baa50c3b1890" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_list_of_logs_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_a_list_of_logs_returns_OK_response_with_pagination.json index 0564c732878..ab014fa08f6 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_list_of_logs_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_a_list_of_logs_returns_OK_response_with_pagination.json @@ -63,5 +63,39 @@ "unlimited": true }, "id": "d10c8212-87e2-e19d-652d-8cbbb7a9be42" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/logs/events", + "queryStringParameters": { + "page[limit]": [ + "2" + ], + "page[cursor]": [ + "eyJhZnRlciI6IkFRQUFBWUFkTDlKNG1jT2g2QUFBQUFCQldVRmtUQzFPUzBGQlFucExkREpLZFZOYVlrTjNRVUkifQ" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "f1244801-3032-34b8-d0d6-17dbcb632024" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_list_of_metrics_returns_Success_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_a_list_of_metrics_returns_Success_response_with_pagination.json index 80308151078..092bb40192e 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_list_of_metrics_returns_Success_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_a_list_of_metrics_returns_Success_response_with_pagination.json @@ -63,5 +63,39 @@ "unlimited": true }, "id": "71ffa01c-df3d-18b9-be9f-8b8bdf93efa0" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/metrics", + "queryStringParameters": { + "page[size]": [ + "2" + ], + "page[cursor]": [ + "6354566d64454633525642695631597759323173616d4d784f5768614d6d52355748704265455a7561453154526b704554315a4f616c5577566b685862456f305455646e6557517a526e6c5752555642526d787355314e756233686c617a56575656526b52465273516c6456526c5a74557a427756574a73525546425155464251554642526c705464316455566b354a5658706e4e574d7863465669565852465657316b576b354962464a566257733156564642516b5a7561453154526b704554315a4f616c5577566b685862456f305455646e6557517a526e6c57525556425155453950546f365a474630595752765a79356c63335270625746305a57526664584e685a32557563336c756447686c64476c6a6379356863476c666447567a644639796457357a4c4445754d44417a4e6a4d795a5373774e673d3d" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "d8fc4963-ff9f-4fc4-1d10-712365ca2173" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_list_of_security_signals_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_a_list_of_security_signals_returns_OK_response_with_pagination.json index 53f6fef9eaf..3f9e96f0843 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_list_of_security_signals_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_a_list_of_security_signals_returns_OK_response_with_pagination.json @@ -58,5 +58,39 @@ "unlimited": true }, "id": "061a9b64-a1e0-5379-4d1b-17a96dd06e5c" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/security_monitoring/signals", + "queryStringParameters": { + "page[limit]": [ + "2" + ], + "page[cursor]": [ + "eyJhZnRlciI6IkFRQUFBWUFlRGFHZENMd21QZ0FBQUFCQldVRmxSR0ZIWkVGQlJFa3lkakpuYjFCSmF6Um5RVUUifQ" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "34062e0c-ed3d-3e52-4789-8a3a16fc113e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_list_of_spans_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_a_list_of_spans_returns_OK_response_with_pagination.json index 706270c1469..b51030915e7 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_list_of_spans_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_a_list_of_spans_returns_OK_response_with_pagination.json @@ -63,5 +63,39 @@ "unlimited": true }, "id": "dac4f5c3-8ea4-9aa7-310c-e48c0e650ceb" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/spans/events", + "queryStringParameters": { + "page[limit]": [ + "2" + ], + "page[cursor]": [ + "eyJhZnRlciI6IkFnQUFBWWtHdzRwa083amdBZ0FBQUFBQUFBQVlBQUFBQUVGWmEwZDNOVmRSUVVGQ01sbFRNV3N3WTNGdGVsQndad0FBQUNRQUFBQUFNREU0T1RBMll6TXRPR0UyTkMwMFpETmlMV0ZqWm1NdFlUaGxaR1kxTW1ZeE1Ua3kiLCJ2YWx1ZXMiOlsiMjAyMy0wNi0yOVQxMDo0NzowNS41NzJaIiwxMDAxOTcxNzE0XX0=" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "71a898e4-2263-698e-3030-826d7d36b4e4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_quick_list_of_security_signals_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_a_quick_list_of_security_signals_returns_OK_response_with_pagination.json index d4f5deacd72..6c5efd79cb9 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_quick_list_of_security_signals_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_a_quick_list_of_security_signals_returns_OK_response_with_pagination.json @@ -63,5 +63,35 @@ "unlimited": true }, "id": "8e31d8df-f048-f195-98d7-bf1e045843c3" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"filter\":{\"from\":\"2022-04-13T11:17:57.080Z\",\"query\":\"security:attack status:high\",\"to\":\"2022-04-13T11:32:57.080Z\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFRQUFBWUFlRGFHZENMd21QZ0FBQUFCQldVRmxSR0ZIWkVGQlJFa3lkakpuYjFCSmF6Um5RVUUifQ\",\"limit\":2},\"sort\":\"timestamp\"}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/security_monitoring/signals/search", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "f16b41c7-90b8-d28e-8fd1-11a6b537762b" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_all_Container_Images_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_all_Container_Images_returns_OK_response_with_pagination.json index bbed88a531d..50653b68cec 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_Container_Images_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_all_Container_Images_returns_OK_response_with_pagination.json @@ -63,5 +63,39 @@ "unlimited": true }, "id": "098a57c3-892e-9ae2-d08a-38af58bc06d4" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/container_images", + "queryStringParameters": { + "page[size]": [ + "2" + ], + "page[cursor]": [ + "bmFtZTowMTM5MTA3MzM1MTIuZGtyLmVjci51cy1lYXN0LTEuYW1hem9uYXdzLmNvbS9hcmdvfGlkOjAxMzkxMDczMzUxMi5ka3IuZWNyLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tL2FyZ29Ac2hhMjU2OmZmMTUxZWYyNDZkN2I0ZDZiOGZlMzE5MjNiMjk4ZDg0ZThmMjA2MzI3MDFiYmI2ZWQ5N2ZjYzU4YTAxNTBmODA=" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "13fd9d6d-7fd6-5d49-4fbc-3e5ef46cc6af" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_all_processes_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Get_all_processes_returns_OK_response_with_pagination.json index 984d515bd4b..a4915c41426 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_processes_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Get_all_processes_returns_OK_response_with_pagination.json @@ -63,5 +63,39 @@ "unlimited": true }, "id": "547cbd9f-1784-c832-d152-7613b829f210" + }, + { + "httpRequest": { + "headers": {}, + "method": "GET", + "path": "/api/v2/processes", + "queryStringParameters": { + "page[limit]": [ + "2" + ], + "page[cursor]": [ + "78ece26c7701000015e90400ecda56b600e21f012357ad716ee71ca9" + ] + }, + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "8f505a17-14ef-3b46-4773-f7fc17f0ea21" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Search_Audit_Logs_events_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Search_Audit_Logs_events_returns_OK_response_with_pagination.json index 17275fa3f1f..517b745c190 100644 --- a/src/test/resources/cassettes/features/v2/Search_Audit_Logs_events_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Search_Audit_Logs_events_returns_OK_response_with_pagination.json @@ -58,5 +58,35 @@ "unlimited": true }, "id": "283de1d2-fab4-ace0-bf88-f0d7465a4d1e" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"filter\":{\"from\":\"now-15m\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFRQUFBWUFpT2hnV2pkb1otUUFBQUFCQldVRnBUMmgzVFVGQlJHSkxUR1pvU1U1MFRrOW5RVUUifQ\",\"limit\":2},\"sort\":\"timestamp\"}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/audit/events/search", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "cf7178e1-1618-cd79-a1c8-ba5c142d4049" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Search_RUM_events_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Search_RUM_events_returns_OK_response_with_pagination.json index 39ebe3ab924..55773bec6a3 100644 --- a/src/test/resources/cassettes/features/v2/Search_RUM_events_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Search_RUM_events_returns_OK_response_with_pagination.json @@ -58,5 +58,35 @@ "unlimited": true }, "id": "8b916a34-67a6-910b-7517-c8593af9a56b" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"filter\":{\"from\":\"now-15m\",\"query\":\"@type:session AND @session.type:user\",\"to\":\"now\"},\"options\":{\"time_offset\":0,\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFRQUFBWUFkTzNLYXN2VDNLd0FBQUFCQldVRmtUek5UVFVGQlFrOXRiRkZaY3kwNGFVcDNRVWMifQ\",\"limit\":2},\"sort\":\"timestamp\"}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/rum/events/search", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "1c0f1f31-e267-131c-f064-cb27cb28ad48" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Search_events_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Search_events_returns_OK_response_with_pagination.json index 0f9a40015c5..686758ea271 100644 --- a/src/test/resources/cassettes/features/v2/Search_events_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Search_events_returns_OK_response_with_pagination.json @@ -58,5 +58,35 @@ "unlimited": true }, "id": "8dc73d3d-b018-c78d-f18e-cd9d52b44b2f" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"filter\":{\"from\":\"now-15m\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFnQUFBWUdDRlhBZ0lWRnZQZ0FBQUFBQUFBQVlBQUFBQUVGWlIwTkdXRUZuUVVGQmVGaEhkVTlPZUY5MU9FWmpTd0FBQUNRQUFBQUFNREU0TVRneU1UVXROekF5TUMwMFpXTTJMV0l3WVdJdFpEVTFZbU0zTlRZMlpUUTMifQ\",\"limit\":2},\"sort\":\"timestamp\"}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/events/search", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "8b63f338-f236-581f-3809-5d0fd8e3dd17" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Search_logs_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Search_logs_returns_OK_response_with_pagination.json index b841ded3b14..bbf60c622da 100644 --- a/src/test/resources/cassettes/features/v2/Search_logs_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Search_logs_returns_OK_response_with_pagination.json @@ -58,5 +58,35 @@ "unlimited": true }, "id": "a0160341-4b28-8ccc-7303-d771268b7416" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"filter\":{\"from\":\"now-15m\",\"indexes\":[\"main\"],\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFRQUFBWUFaZGJvSzdkR3dPUUFBQUFCQldVRmFaR0p5TVVGQlEwczRPRU4zWW1aMVVESlJRVVEifQ\",\"limit\":2},\"sort\":\"timestamp\"}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/logs/events/search", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "78edd6ab-8662-035b-e055-bec525718657" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Search_spans_returns_OK_response_with_pagination.json b/src/test/resources/cassettes/features/v2/Search_spans_returns_OK_response_with_pagination.json index 3003d811d49..0850a8865d7 100644 --- a/src/test/resources/cassettes/features/v2/Search_spans_returns_OK_response_with_pagination.json +++ b/src/test/resources/cassettes/features/v2/Search_spans_returns_OK_response_with_pagination.json @@ -58,5 +58,35 @@ "unlimited": true }, "id": "e53d46d7-1e33-3355-074d-b40b931dfe55" + }, + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"filter\":{\"from\":\"now-15m\",\"query\":\"service:python*\",\"to\":\"now\"},\"options\":{\"timezone\":\"GMT\"},\"page\":{\"cursor\":\"eyJhZnRlciI6IkFnQUFBWWtHdXF2UUQ0YzdlUUFBQUFBQUFBQVlBQUFBQUVGWmEwZDFjbVpSUVVGRWMzZDVaVUZYYVZOblFWRmxOUUFBQUNRQUFBQUFNREU0T1RBMll6QXROVEZrT0MwME5EYzVMV0ZsT0RndE56WXdZbVl4TldRM016QXkiLCJ2YWx1ZXMiOlsiMjAyMy0wNi0yOVQxMDozNzoyNC4zMDRaIiwyNjA1MjA4MjVdfQ==\",\"limit\":2},\"sort\":\"timestamp\"},\"type\":\"search_request\"}}" + }, + "headers": {}, + "method": "POST", + "path": "/api/v2/spans/events/search", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":[]}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 200, + "reasonPhrase": "OK" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "770fecc6-8e6f-d5b0-3198-87655de73c52" } ] \ No newline at end of file