* added plaid api analyzer * updated plaid analyzer and detector * updated plaidkey detector verify loop * added requested changes * added build tags into detector integration test * updated plaid analyzer and implemented suggestions --------- Co-authored-by: Kashif Khan <[email protected]>
26 lines
522 B
Go
26 lines
522 B
Go
package plaid
|
|
|
|
type account struct {
|
|
AccountID string `json:"account_id"`
|
|
Name string `json:"name"`
|
|
OfficialName string `json:"official_name"`
|
|
Subtype string `json:"subtype"`
|
|
Type string `json:"type"`
|
|
}
|
|
|
|
type item struct {
|
|
Products []string `json:"products"`
|
|
ItemID string `json:"item_id"`
|
|
}
|
|
|
|
type accountsResponse struct {
|
|
Accounts []account `json:"accounts"`
|
|
Item item `json:"item"`
|
|
}
|
|
|
|
type secretInfo struct {
|
|
Item item
|
|
Accounts []account
|
|
Environment string
|
|
}
|