Files
trufflehog/pkg/analyzer/analyzers/mailgun/expected_output.json
Abdul BasitandAbdul Basit 57e58123f1 [analyze] Add Analyzer for Mailgun (#3206)
* implement analyzer interface, add unit test and link with detector for mailgun

* [chore] moved expected output of test in json file to neat the code.
corrected variable name for test in detector bucket

* append domain id in fully qualified name of domain resources

* [Fixes]
domains will be added as resource in bindings and permissions.
updated the test.

---------

Co-authored-by: Abdul Basit <[email protected]>
2024-09-12 11:48:46 -07:00

25 lines
612 B
JSON

{
"AnalyzerType": 8,
"Bindings": [
{
"Resource": {
"Name": "sandbox19e49763d44e498e850589ea7d54bd82.mailgun.org",
"FullyQualifiedName": "mailgun/6478cb31d026c112819856cd/sandbox19e49763d44e498e850589ea7d54bd82.mailgun.org",
"Type": "domain",
"Metadata": {
"created_at": "Thu, 01 Jun 2023 16:45:37 GMT",
"is_disabled": false,
"state": "active",
"type": "sandbox"
},
"Parent": null
},
"Permission": {
"Value": "full_access",
"Parent": null
}
}
],
"UnboundedResources": null,
"Metadata": null
}