Files
probo/pkg/accessreview/drivers/testdata/gitlab.yaml
Aurélien Sibiril 7b814576df Refine Asana OAuth2 scopes → Build driver query URLs with url.URL not concatenation
- Refine Asana OAuth2 scopes
- Re-record access-review cassettes from live tokens
- Escape URL path segments in access-review drivers
- Build driver query URLs with url.URL not concatenation

Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
2026-05-17 17:22:50 +02:00

94 lines
3.2 KiB
YAML

---
version: 2
interactions:
- id: 0
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 0
host: gitlab.com
form:
per_page:
- "100"
headers:
Accept:
- application/json
url: https://gitlab.com/api/v4/groups/12345/members/all?per_page=100
method: GET
response:
proto: HTTP/2.0
proto_major: 2
proto_minor: 0
content_length: -1
uncompressed: true
body: '[{"id":1000001,"username":"jane.doe","public_email":"","name":"Jane Doe","state":"active","locked":false,"avatar_url":"https://gitlab.com/uploads/-/system/user/avatar/1000001/avatar.png","web_url":"https://gitlab.com/jane.doe","access_level":50,"created_at":"2024-01-15T10:00:00.000Z","expires_at":null,"membership_state":"active"}]'
headers:
Cache-Control:
- max-age=0, private, must-revalidate
Cf-Cache-Status:
- MISS
Cf-Ray:
- 9f89e63e6d2cf0b7-CDG
Content-Security-Policy:
- default-src 'none'
Content-Type:
- application/json
Date:
- Fri, 08 May 2026 16:39:15 GMT
Etag:
- W/"865471874cf5294ecdf14af2b23ad593"
Gitlab-Lb:
- haproxy-main-51-lb-gprd
Gitlab-Sv:
- api-gke-us-east1-d
Link:
- <https://gitlab.com/api/v4/groups/12345/members/all?id=12345&page=1&per_page=100>; rel="first", <https://gitlab.com/api/v4/groups/12345/members/all?id=12345&page=1&per_page=100>; rel="last"
Nel:
- '{"max_age": 0}'
Ratelimit-Limit:
- "2000"
Ratelimit-Name:
- throttle_authenticated_api
Ratelimit-Observed:
- "2"
Ratelimit-Remaining:
- "1998"
Ratelimit-Reset:
- "1778258400"
Referrer-Policy:
- strict-origin-when-cross-origin
Server:
- cloudflare
Set-Cookie:
- _cfuvid=G0At132h1lYNrhp.xWKU3r_wLyN7CyYvvx55kUwOmNA-1778258354.9485164-1.0.1.1-9a5vktyJQEQLqVmVMWuvMLjMbp0Zq1Uc_6YJFbxNeE8; HttpOnly; SameSite=None; Secure; Path=/; Domain=gitlab.com
Strict-Transport-Security:
- max-age=31536000
Vary:
- Origin, Accept-Encoding
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Gitlab-Meta:
- '{"correlation_id":"9f89e63e6d2cf0b7-CDG","version":"1"}'
X-Next-Page:
- ""
X-Page:
- "1"
X-Per-Page:
- "100"
X-Prev-Page:
- ""
X-Request-Id:
- 9f89e63e6d2cf0b7-CDG
X-Runtime:
- "0.160039"
X-Total:
- "1"
X-Total-Pages:
- "1"
status: 200 OK
code: 200
duration: 554.994208ms