sensu-plugins-microsoft-teams 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/handler-microsoft-teams.rb +1 -1
- data/lib/sensu-plugins-microsoft-teams/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 779554dc5611d05093a173c312848eedf5fc9431
|
4
|
+
data.tar.gz: 1e9b56eb171f2de2ff88929c55f1dfd5169b0589
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98f2c393527f7d8191fe52660026ab5219d600b4e570836548b6c4de2ad162e4472f05335e4de3263ca527c797cb1d7abc6bf1b0356fd3e5c26393d9abeabc6b
|
7
|
+
data.tar.gz: e9cb4a1f91bce5c1f9c44de6827dff39bc765a73805b0c4e8532153cb14de36505b91d7c4ee4930ca731f451a84b19a8026dd3d7065c0ae34e0f94cbbe9e3aca
|
@@ -180,10 +180,10 @@ class MicrosoftTeams < Sensu::Handler
|
|
180
180
|
end
|
181
181
|
|
182
182
|
{
|
183
|
-
icon_url: teams_icon_url ? teams_icon_url : 'https://raw.githubusercontent.com/sensu/sensu-logo/master/sensu1_flat%20white%20bg_png.png',
|
184
183
|
themeColor: color,
|
185
184
|
text: "#{@event['client']['address']} - #{translate_status}",
|
186
185
|
sections: [{
|
186
|
+
activityImage: teams_icon_url ? teams_icon_url : 'https://raw.githubusercontent.com/sensu/sensu-logo/master/sensu1_flat%20white%20bg_png.png',
|
187
187
|
text: [teams_message_prefix, notice].compact.join(' '),
|
188
188
|
fields: client_fields
|
189
189
|
}]
|