Files
trufflehog/pkg/analyzer/analyzers/mux/tests.json
Nabeel Alam 8da58156fd [Feat] Added Mux API Analyzer (#4128)
* added mux analyzer

* updated mux analyzer print function and mux detector

* updated mux analyzer test expected output
2025-05-16 01:47:06 +05:00

46 lines
1.3 KiB
JSON

{
"tests": [
{
"resource_type": "video",
"permission": "read",
"endpoint": "/video/v1/assets?limit=1",
"method": "GET",
"valid_status_code": 200
},
{
"resource_type": "video",
"permission": "write",
"endpoint": "/video/v1/assets",
"method": "POST",
"valid_status_code": 400
},
{
"resource_type": "data",
"permission": "read",
"endpoint": "/data/v1/annotations?limit=1",
"method": "GET",
"valid_status_code": 200
},
{
"resource_type": "data",
"permission": "write",
"endpoint": "/data/v1/annotations",
"method": "POST",
"valid_status_code": 400
},
{
"resource_type": "system",
"permission": "read",
"endpoint": "/system/v1/signing-keys?limit=1",
"method": "GET",
"valid_status_code": 200
},
{
"resource_type": "system",
"permission": "write",
"endpoint": "/system/v1/signing-keys",
"method": "DELETE",
"valid_status_code": 400
}
]
}