Skip to content

Commit

Permalink
Added GSute SAML provider node support for WebOfTrust report (#756)
Browse files Browse the repository at this point in the history
Co-authored-by: Ravi Soni <ravi.soni@infodesk.com>
  • Loading branch information
rvsoni and Ravi Soni committed Aug 23, 2020
1 parent 7aa1f62 commit 2daa44d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions commands/weboftrust.py
Expand Up @@ -244,6 +244,15 @@ def get_iam_trusts(account, nodes, connections, connections_to_get):
}
)
assume_role_nodes.add(node)
elif "saml-provider/gsuite" in saml_provider_arn.lower():
node = Account(
json_blob={
"id": "gsuite",
"name": "gsuite",
"type": "gsuite",
}
)
assume_role_nodes.add(node)
elif "cognito-identity.amazonaws.com" in saml_provider_arn.lower():
continue
elif "www.amazon.com" in saml_provider_arn.lower():
Expand Down
Binary file added web/icons/logos/gsuite.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions web/style.json
Expand Up @@ -993,6 +993,18 @@
"height": 100
}
},
{
"selector": "[type = \"gsuite\"]",
"css": {
"label": "",
"background-opacity": 0,
"background-image": "./icons/logos/gsuite.png",
"background-fit": "contain",
"background-clip": "none",
"width": 150,
"height": 100
}
},
{
"selector": "[type = \"user\"]",
"css": {
Expand Down

0 comments on commit 2daa44d

Please sign in to comment.