Files
trufflehog/pkg/analyzer/analyzers/postman/expected_output.json
Abdul BasitandAbdul Basit 5ce1578a6f [analyze] Add analyzer for Postman (#3180)
* implement analyzer interface for postman and add unit test

* analyzer interface inplementation for postman

linked detector with analyzer for postman
add permission for postman

* [fix] linter in postman

* considered Miccah comments about fullyqualifiedName and code refactoring.

* moved want result to expected output file.

---------

Co-authored-by: Abdul Basit <[email protected]>
2024-09-04 15:40:12 -07:00

76 lines
1.7 KiB
JSON

{
"AnalyzerType": 13,
"Bindings": [
{
"Resource": {
"Name": "rendy",
"FullyQualifiedName": "[email protected]",
"Type": "user",
"Metadata": {
"email": "[email protected]",
"role": "user",
"team_domain": "",
"team_name": "",
"username": "rendyplayground"
},
"Parent": null
},
"Permission": {
"Value": "usage_data:view",
"Parent": null
}
},
{
"Resource": {
"Name": "rendy",
"FullyQualifiedName": "[email protected]",
"Type": "user",
"Metadata": {
"email": "[email protected]",
"role": "user",
"team_domain": "",
"team_name": "",
"username": "rendyplayground"
},
"Parent": null
},
"Permission": {
"Value": "team_workspaces:create",
"Parent": null
}
},
{
"Resource": {
"Name": "rendy",
"FullyQualifiedName": "[email protected]",
"Type": "user",
"Metadata": {
"email": "[email protected]",
"role": "user",
"team_domain": "",
"team_name": "",
"username": "rendyplayground"
},
"Parent": null
},
"Permission": {
"Value": "team_workspaces:view",
"Parent": null
}
}
],
"UnboundedResources": [
{
"Name": "My Workspace",
"FullyQualifiedName": "4d06fc0c-6402-4a26-857d-80787b10eabf",
"Type": "workspace",
"Metadata": {
"id": "4d06fc0c-6402-4a26-857d-80787b10eabf",
"type": "personal",
"visibility": "personal"
},
"Parent": null
}
],
"Metadata": null
}