2286 行
59 KiB
JSON
2286 行
59 KiB
JSON
{
|
|
"issueId": "OANEXT2-4",
|
|
"status": "PASS_PERMISSION_MATRIX_READY",
|
|
"checkedAt": "2026-05-29T05:37:41.962Z",
|
|
"baseUrl": "https://oa.hyinda.com",
|
|
"privacy": "redacted role/status/count evidence only; no password, token, Secret, full account, invoice, contract, attachment, or raw payload",
|
|
"counts": {
|
|
"roles": 7,
|
|
"positiveProbes": 43,
|
|
"negativeProbes": 42
|
|
},
|
|
"issues": [],
|
|
"results": [
|
|
{
|
|
"key": "employee",
|
|
"expectedRoles": [
|
|
"employee"
|
|
],
|
|
"maskedIdentifier": "sm***@***.com",
|
|
"login": {
|
|
"status": "PASS",
|
|
"reason": null,
|
|
"code": null
|
|
},
|
|
"roleMatch": "PASS",
|
|
"actualRoles": [
|
|
"employee"
|
|
],
|
|
"probes": [
|
|
{
|
|
"id": "me",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"status": "active",
|
|
"notificationPushEnabled": true,
|
|
"roleCodes": [
|
|
"employee"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "portal",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [
|
|
{
|
|
"path": "data.roleCapabilities.canApproveTasks",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canUseFinance",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canManageSystem",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.isAdminOnly",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
}
|
|
],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"roleCapabilities": {
|
|
"canApproveTasks": false,
|
|
"canManageSystem": false,
|
|
"canSubmitApplications": true,
|
|
"canUseFinance": false,
|
|
"canViewTeam": false,
|
|
"isAdminOnly": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "own-invoices",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": 22
|
|
}
|
|
},
|
|
{
|
|
"id": "navigation",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [
|
|
{
|
|
"type": "visible",
|
|
"href": "/portal",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/reimbursements",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/assets",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/workflow/tasks",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/ap-operations",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/payment-batches",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/audit-logs",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/settings",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/feature-flags",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/integrations/erp",
|
|
"status": "PASS"
|
|
}
|
|
],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"navigationItemCount": 10
|
|
}
|
|
},
|
|
{
|
|
"id": "budget",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "ap",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "ap-ledger",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "payment-batches",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "all-invoices",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "audit-logs",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "notification-deliveries",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "system-feature-flags",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "erp-status",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "payroll-items",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "performance-cycles",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "travel-requests",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "global-search-sensitive",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "contract_registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "confidential_doc_ref",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "travel_request",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/contracts-registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/travel-requests",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
}
|
|
],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 7,
|
|
"total": null
|
|
}
|
|
}
|
|
],
|
|
"missingRoles": []
|
|
},
|
|
{
|
|
"key": "manager",
|
|
"expectedRoles": [
|
|
"manager",
|
|
"employee"
|
|
],
|
|
"maskedIdentifier": "sm***@***.com",
|
|
"login": {
|
|
"status": "PASS",
|
|
"reason": null,
|
|
"code": null
|
|
},
|
|
"roleMatch": "PASS",
|
|
"actualRoles": [
|
|
"employee",
|
|
"manager"
|
|
],
|
|
"probes": [
|
|
{
|
|
"id": "me",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"status": "active",
|
|
"notificationPushEnabled": true,
|
|
"roleCodes": [
|
|
"employee",
|
|
"manager"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "portal",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [
|
|
{
|
|
"path": "data.roleCapabilities.canApproveTasks",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canUseFinance",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canManageSystem",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.isAdminOnly",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
}
|
|
],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"roleCapabilities": {
|
|
"canApproveTasks": true,
|
|
"canManageSystem": false,
|
|
"canSubmitApplications": true,
|
|
"canUseFinance": false,
|
|
"canViewTeam": true,
|
|
"isAdminOnly": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "workflow",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 1,
|
|
"total": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "navigation",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [
|
|
{
|
|
"type": "visible",
|
|
"href": "/workflow/tasks",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/ap-operations",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/payment-batches",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/audit-logs",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/settings",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/feature-flags",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/integrations/erp",
|
|
"status": "PASS"
|
|
}
|
|
],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"navigationItemCount": 15
|
|
}
|
|
},
|
|
{
|
|
"id": "ap",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "ap-ledger",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "payment-batches",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "audit-logs",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "erp-status",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "payroll-items",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "performance-cycles",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "travel-requests",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "global-search-sensitive",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "contract_registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "confidential_doc_ref",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "travel_request",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/contracts-registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/travel-requests",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
}
|
|
],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 10,
|
|
"total": null
|
|
}
|
|
}
|
|
],
|
|
"missingRoles": []
|
|
},
|
|
{
|
|
"key": "finance",
|
|
"expectedRoles": [
|
|
"finance",
|
|
"employee"
|
|
],
|
|
"maskedIdentifier": "sm***@***.com",
|
|
"login": {
|
|
"status": "PASS",
|
|
"reason": null,
|
|
"code": null
|
|
},
|
|
"roleMatch": "PASS",
|
|
"actualRoles": [
|
|
"employee",
|
|
"finance"
|
|
],
|
|
"probes": [
|
|
{
|
|
"id": "me",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"status": "active",
|
|
"notificationPushEnabled": true,
|
|
"roleCodes": [
|
|
"employee",
|
|
"finance"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "portal",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [
|
|
{
|
|
"path": "data.roleCapabilities.canApproveTasks",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canUseFinance",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canManageSystem",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.isAdminOnly",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
}
|
|
],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"roleCapabilities": {
|
|
"canApproveTasks": true,
|
|
"canManageSystem": false,
|
|
"canSubmitApplications": true,
|
|
"canUseFinance": true,
|
|
"canViewTeam": true,
|
|
"isAdminOnly": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "all-invoices",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": 46
|
|
}
|
|
},
|
|
{
|
|
"id": "payment-batches",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 9,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "ap-ledger",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": 33
|
|
}
|
|
},
|
|
{
|
|
"id": "navigation",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [
|
|
{
|
|
"type": "visible",
|
|
"href": "/invoice-pool",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/payment-batches",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/ap-operations",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/audit-logs",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/settings",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/feature-flags",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/integrations/erp",
|
|
"status": "PASS"
|
|
}
|
|
],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"navigationItemCount": 18
|
|
}
|
|
},
|
|
{
|
|
"id": "audit-logs",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "notification-deliveries",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "system-feature-flags",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "erp-status",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "payroll-items",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "performance-cycles",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "travel-requests",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "global-search-sensitive",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "contract_registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "confidential_doc_ref",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "travel_request",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/contracts-registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/travel-requests",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
}
|
|
],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 9,
|
|
"total": null
|
|
}
|
|
}
|
|
],
|
|
"missingRoles": []
|
|
},
|
|
{
|
|
"key": "finance_mgr",
|
|
"expectedRoles": [
|
|
"finance",
|
|
"finance_mgr",
|
|
"employee"
|
|
],
|
|
"maskedIdentifier": "sm***@***.com",
|
|
"login": {
|
|
"status": "PASS",
|
|
"reason": null,
|
|
"code": null
|
|
},
|
|
"roleMatch": "PASS",
|
|
"actualRoles": [
|
|
"employee",
|
|
"finance",
|
|
"finance_mgr"
|
|
],
|
|
"probes": [
|
|
{
|
|
"id": "me",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"status": "active",
|
|
"notificationPushEnabled": true,
|
|
"roleCodes": [
|
|
"employee",
|
|
"finance",
|
|
"finance_mgr"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "portal",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [
|
|
{
|
|
"path": "data.roleCapabilities.canApproveTasks",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canUseFinance",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canManageSystem",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.isAdminOnly",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
}
|
|
],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"roleCapabilities": {
|
|
"canApproveTasks": true,
|
|
"canManageSystem": true,
|
|
"canSubmitApplications": true,
|
|
"canUseFinance": true,
|
|
"canViewTeam": true,
|
|
"isAdminOnly": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "all-invoices",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": 46
|
|
}
|
|
},
|
|
{
|
|
"id": "payment-batches",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 9,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "ap-ledger",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": 33
|
|
}
|
|
},
|
|
{
|
|
"id": "erp-status",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 3,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "audit-logs",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": 2244
|
|
}
|
|
},
|
|
{
|
|
"id": "notification-deliveries",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "system-feature-flags",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 26,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "navigation",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [
|
|
{
|
|
"type": "visible",
|
|
"href": "/invoice-pool",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/payment-batches",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/ap-operations",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/audit-logs",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/system/feature-flags",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/system/integrations/erp",
|
|
"status": "PASS"
|
|
}
|
|
],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"navigationItemCount": 27
|
|
}
|
|
}
|
|
],
|
|
"missingRoles": []
|
|
},
|
|
{
|
|
"key": "hr",
|
|
"expectedRoles": [
|
|
"hr",
|
|
"employee"
|
|
],
|
|
"maskedIdentifier": "sm***@***.com",
|
|
"login": {
|
|
"status": "PASS",
|
|
"reason": null,
|
|
"code": null
|
|
},
|
|
"roleMatch": "PASS",
|
|
"actualRoles": [
|
|
"employee",
|
|
"hr"
|
|
],
|
|
"probes": [
|
|
{
|
|
"id": "me",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"status": "active",
|
|
"notificationPushEnabled": true,
|
|
"roleCodes": [
|
|
"employee",
|
|
"hr"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "portal",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [
|
|
{
|
|
"path": "data.roleCapabilities.canApproveTasks",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canUseFinance",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canManageSystem",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.isAdminOnly",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
}
|
|
],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"roleCapabilities": {
|
|
"canApproveTasks": false,
|
|
"canManageSystem": true,
|
|
"canSubmitApplications": true,
|
|
"canUseFinance": false,
|
|
"canViewTeam": true,
|
|
"isAdminOnly": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "wecom-archive",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": 9
|
|
}
|
|
},
|
|
{
|
|
"id": "navigation",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [
|
|
{
|
|
"type": "visible",
|
|
"href": "/people",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/system/settings",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/ap-operations",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/payment-batches",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/audit-logs",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/feature-flags",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/integrations/erp",
|
|
"status": "PASS"
|
|
}
|
|
],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"navigationItemCount": 16
|
|
}
|
|
},
|
|
{
|
|
"id": "ap-ledger",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "payment-batches",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "audit-logs",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "system-feature-flags",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "payroll-items",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "performance-cycles",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "global-search-sensitive",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "contract_registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "confidential_doc_ref",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "travel_request",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/contracts-registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/travel-requests",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
}
|
|
],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 4,
|
|
"total": null
|
|
}
|
|
}
|
|
],
|
|
"missingRoles": []
|
|
},
|
|
{
|
|
"key": "ceo",
|
|
"expectedRoles": [
|
|
"ceo",
|
|
"employee"
|
|
],
|
|
"maskedIdentifier": "sm***@***.com",
|
|
"login": {
|
|
"status": "PASS",
|
|
"reason": null,
|
|
"code": null
|
|
},
|
|
"roleMatch": "PASS",
|
|
"actualRoles": [
|
|
"ceo",
|
|
"employee"
|
|
],
|
|
"probes": [
|
|
{
|
|
"id": "me",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"status": "active",
|
|
"notificationPushEnabled": true,
|
|
"roleCodes": [
|
|
"ceo",
|
|
"employee"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "portal",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [
|
|
{
|
|
"path": "data.roleCapabilities.canApproveTasks",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canUseFinance",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canManageSystem",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.isAdminOnly",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
}
|
|
],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"roleCapabilities": {
|
|
"canApproveTasks": true,
|
|
"canManageSystem": false,
|
|
"canSubmitApplications": true,
|
|
"canUseFinance": false,
|
|
"canViewTeam": true,
|
|
"isAdminOnly": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "dashboard",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"totalCount": 33,
|
|
"paidCount": 8,
|
|
"reviewingCount": 3
|
|
}
|
|
},
|
|
{
|
|
"id": "navigation",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [
|
|
{
|
|
"type": "visible",
|
|
"href": "/workflow/tasks",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/budgets",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/ap-operations",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/payment-batches",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/audit-logs",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/feature-flags",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/system/integrations/erp",
|
|
"status": "PASS"
|
|
}
|
|
],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"navigationItemCount": 15
|
|
}
|
|
},
|
|
{
|
|
"id": "system-feature-flags",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "notification-deliveries",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "payroll-items",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "performance-cycles",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 403,
|
|
"expectedStatuses": [
|
|
403,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"code": "PERM_001",
|
|
"message": "无权限"
|
|
}
|
|
},
|
|
{
|
|
"id": "global-search-sensitive",
|
|
"kind": "negative",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "contract_registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "confidential_doc_ref",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_entity_type",
|
|
"value": "travel_request",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/contracts-registry",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
},
|
|
{
|
|
"type": "forbidden_href_prefix",
|
|
"value": "/travel-requests",
|
|
"status": "PASS",
|
|
"matchedCount": 0
|
|
}
|
|
],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 9,
|
|
"total": null
|
|
}
|
|
}
|
|
],
|
|
"missingRoles": []
|
|
},
|
|
{
|
|
"key": "admin",
|
|
"expectedRoles": [
|
|
"admin",
|
|
"employee"
|
|
],
|
|
"maskedIdentifier": "sm***@***.com",
|
|
"login": {
|
|
"status": "PASS",
|
|
"reason": null,
|
|
"code": null
|
|
},
|
|
"roleMatch": "PASS",
|
|
"actualRoles": [
|
|
"admin",
|
|
"employee"
|
|
],
|
|
"probes": [
|
|
{
|
|
"id": "me",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"status": "active",
|
|
"notificationPushEnabled": true,
|
|
"roleCodes": [
|
|
"admin",
|
|
"employee"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "portal",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [
|
|
{
|
|
"path": "data.roleCapabilities.canApproveTasks",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canUseFinance",
|
|
"status": "PASS",
|
|
"expected": false,
|
|
"actual": false
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.canManageSystem",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
},
|
|
{
|
|
"path": "data.roleCapabilities.isAdminOnly",
|
|
"status": "PASS",
|
|
"expected": true,
|
|
"actual": true
|
|
}
|
|
],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"roleCapabilities": {
|
|
"canApproveTasks": false,
|
|
"canManageSystem": true,
|
|
"canSubmitApplications": true,
|
|
"canUseFinance": false,
|
|
"canViewTeam": true,
|
|
"isAdminOnly": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "users",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 1,
|
|
"total": 13
|
|
}
|
|
},
|
|
{
|
|
"id": "audit-logs",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": 2247
|
|
}
|
|
},
|
|
{
|
|
"id": "notification-deliveries",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 5,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "system-feature-flags",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 26,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "payroll-items",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 0,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "performance-cycles",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 1,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "global-search",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200,
|
|
409
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 10,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "assets",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"itemCount": 7,
|
|
"total": null
|
|
}
|
|
},
|
|
{
|
|
"id": "navigation",
|
|
"kind": "positive",
|
|
"status": "PASS",
|
|
"httpStatus": 200,
|
|
"expectedStatuses": [
|
|
200
|
|
],
|
|
"dataExpectations": [],
|
|
"navigationExpectations": [
|
|
{
|
|
"type": "visible",
|
|
"href": "/audit-logs",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/system/settings",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "visible",
|
|
"href": "/system/feature-flags",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/workflow/tasks",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/ap-operations",
|
|
"status": "PASS"
|
|
},
|
|
{
|
|
"type": "hidden",
|
|
"href": "/payment-batches",
|
|
"status": "PASS"
|
|
}
|
|
],
|
|
"searchExpectations": [],
|
|
"sensitiveKeyHits": [],
|
|
"summary": {
|
|
"navigationItemCount": 26
|
|
}
|
|
}
|
|
],
|
|
"missingRoles": []
|
|
}
|
|
]
|
|
}
|