Files
plugin-drone-gitleaks/docs/card.json
T
2022-02-07 10:49:56 +00:00

100 lines
2.5 KiB
JSON

{
"type": "AdaptiveCard",
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "Image",
"url": "https://www.kindpng.com/picc/m/356-3561262_free-download-png-and-vector-icon-logo-git.png",
"size": "small"
}
],
"width": "auto"
},
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"text": "Plugin: Gitleaks",
"wrap": true,
"size": "small",
"weight": "bolder",
"isSubtle": false,
"spacing": "small"
},
{
"type": "TextBlock",
"text": "Number of Issues: ${NumIssues}",
"wrap": true,
"size": "Small",
"weight": "Lighter",
"isSubtle": true,
"spacing": "Small"
}
],
"width": "stretch"
}
],
"style": "default"
},
{
"type": "ColumnSet",
"style": "default",
"separator": true,
"columns": [
{
"type": "Column",
"items": [
{
"type": "FactSet",
"facts": [
{
"title": "File:",
"value": "${file}"
},
{
"title": "Line:",
"value": "${formatNumber(lineNumber, 0)}"
},
{
"title": "Commit:",
"value": "${commit}"
},
{
"title": "Rule:",
"value": "${rule}"
},
{
"title": "Commit:",
"value": "${commitMessage}"
},
{
"title": "Author:",
"value": "${author}"
},
{
"title": "Email:",
"value": "${email}"
},
{
"title": "Date:",
"value": "${date}"
}
],
"separator": true,
"$data": "${issues}"
}
],
"width": "stretch"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5"
}