save checkpoint
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"type": "api",
|
||||
"baseUrl": "http://127.0.0.1:19100",
|
||||
"runId": "run-002",
|
||||
"timestampUtc": "2026-02-10T11:34:30Z",
|
||||
"requests": [
|
||||
{
|
||||
"description": "Search endpoint returns success for authenticated tenant with read/query scope",
|
||||
"method": "POST",
|
||||
"path": "/graph/search",
|
||||
"headers": {
|
||||
"Authorization": "Bearer qa-token",
|
||||
"X-Stella-Tenant": "acme",
|
||||
"X-Stella-Scopes": "graph:read graph:query graph:export"
|
||||
},
|
||||
"requestBody": {
|
||||
"kinds": [
|
||||
"component"
|
||||
],
|
||||
"query": "widget",
|
||||
"limit": 3
|
||||
},
|
||||
"expectedStatus": 200,
|
||||
"actualStatus": 200,
|
||||
"result": "pass"
|
||||
},
|
||||
{
|
||||
"description": "Search endpoint enforces Authorization header",
|
||||
"method": "POST",
|
||||
"path": "/graph/search",
|
||||
"headers": {
|
||||
"X-Stella-Tenant": "acme",
|
||||
"X-Stella-Scopes": "graph:read graph:query graph:export"
|
||||
},
|
||||
"requestBody": {
|
||||
"kinds": [
|
||||
"component"
|
||||
],
|
||||
"query": "widget",
|
||||
"limit": 3
|
||||
},
|
||||
"expectedStatus": 401,
|
||||
"actualStatus": 401,
|
||||
"result": "pass"
|
||||
},
|
||||
{
|
||||
"description": "Search endpoint enforces tenant header",
|
||||
"method": "POST",
|
||||
"path": "/graph/search",
|
||||
"headers": {
|
||||
"Authorization": "Bearer qa-token",
|
||||
"X-Stella-Scopes": "graph:read graph:query graph:export"
|
||||
},
|
||||
"requestBody": {
|
||||
"kinds": [
|
||||
"component"
|
||||
],
|
||||
"query": "widget",
|
||||
"limit": 3
|
||||
},
|
||||
"expectedStatus": 400,
|
||||
"actualStatus": 400,
|
||||
"result": "pass"
|
||||
},
|
||||
{
|
||||
"description": "Query endpoint enforces graph:query scope",
|
||||
"method": "POST",
|
||||
"path": "/graph/query",
|
||||
"headers": {
|
||||
"Authorization": "Bearer qa-token",
|
||||
"X-Stella-Tenant": "acme",
|
||||
"X-Stella-Scopes": "graph:read"
|
||||
},
|
||||
"requestBody": {
|
||||
"kinds": [
|
||||
"component"
|
||||
],
|
||||
"query": "widget",
|
||||
"limit": 3
|
||||
},
|
||||
"expectedStatus": 403,
|
||||
"actualStatus": 403,
|
||||
"result": "pass"
|
||||
}
|
||||
],
|
||||
"verdict": "pass"
|
||||
}
|
||||
Reference in New Issue
Block a user