Files
Cloud-20Engineering/AdaptiveCards/logicApp SecurityCenter recommendation.json
Jurjen Ladenius 1a3bc1370e Commit 2c6e8ced: Multiple changes
- Check output
- Updated list generation
- Started subdomain takeover check module
2021-08-12 10:46:04 +02:00

66 lines
2.1 KiB
JSON

{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"msTeams": {
"width": "full"
},
"fallbackText": "@{triggerBody()?['properties']?['displayName']}",
"body": [
{
"type": "TextBlock",
"text": "Azure Security Center Recommendation",
"weight": "bolder",
"size": "large",
"id": "acTitle"
},
{
"type": "TextBlock",
"text": "@{triggerBody()?['properties']?['displayName']}",
"weight": "Bolder",
"wrap": true,
"id": "acSubHeader"
},
{
"type": "TextBlock",
"text": "@{triggerBody()?['properties']?['metadata']?['description']}",
"wrap": true,
"id": "acDescriptionArea"
},
{
"type": "TextBlock",
"text": "@{triggerBody()?['properties']?['metadata']?['remediationDescription']}",
"wrap": true,
"id": "acDescriptionArea"
},
{
"type": "FactSet",
"facts": [
{
"title": "Severity:",
"value": "@{triggerBody()?['properties']?['metadata']?['severity']}"
},
{
"title": "Status:",
"value": "@{triggerBody()?['properties']?['status']?['description']}"
},
{
"title": "Source:",
"value": "@{triggerBody()?['properties']?['resourceDetails']?['source']}"
},
{
"title": "Id:",
"value": "@{triggerBody()?['properties']?['resourceDetails']?['id']}"
}
],
"id": "acFactSet"
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "See details in Azure Portal",
"url": "@{triggerBody()?['properties']?['links']?['azurePortalUri']}"
}
]
}