|
| 1 | +{ |
| 2 | + "name": "Mattermost incoming webhooks", |
| 3 | + "version": "1.0.0", |
| 4 | + "overview": "Receive flag change notifications in your Mattermost channels.", |
| 5 | + "description": "Receive LaunchDarkly notifications in your Mattermost channels. Subscribe to changes in flags, projects, environments, and other resources via Mattermost's incoming webhook integration.", |
| 6 | + "author": "LaunchDarkly", |
| 7 | + "supportEmail": "support@launchdarkly.com", |
| 8 | + "links": { |
| 9 | + "site": "https://mattermost.com", |
| 10 | + "launchdarklyDocs": "https://launchdarkly.com/docs/integrations/mattermost", |
| 11 | + "privacyPolicy": "https://mattermost.com/privacy-policy/" |
| 12 | + }, |
| 13 | + "categories": ["messaging"], |
| 14 | + "icons": { |
| 15 | + "square": "assets/images/square.svg", |
| 16 | + "horizontal": "assets/images/horizontal.svg" |
| 17 | + }, |
| 18 | + "formVariables": [ |
| 19 | + { |
| 20 | + "key": "url", |
| 21 | + "name": "Incoming webhook URL", |
| 22 | + "type": "uri", |
| 23 | + "description": "Enter your Mattermost [incoming webhook URL](https://docs.mattermost.com/developer/webhooks-incoming.html).", |
| 24 | + "isSecret": false |
| 25 | + } |
| 26 | + ], |
| 27 | + "capabilities": { |
| 28 | + "auditLogEventsHook": { |
| 29 | + "endpoint": { |
| 30 | + "url": "{{{url}}}", |
| 31 | + "method": "POST", |
| 32 | + "headers": [ |
| 33 | + { |
| 34 | + "name": "Content-Type", |
| 35 | + "value": "application/json" |
| 36 | + } |
| 37 | + ] |
| 38 | + }, |
| 39 | + "templates": { |
| 40 | + "project": "templates/project.json.hbs", |
| 41 | + "environment": "templates/environment.json.hbs", |
| 42 | + "default": "templates/default.json.hbs", |
| 43 | + "validation": "templates/default.json.hbs" |
| 44 | + }, |
| 45 | + "defaultPolicy": [ |
| 46 | + { |
| 47 | + "effect": "allow", |
| 48 | + "resources": ["proj/*:env/production:flag/*"], |
| 49 | + "actions": ["*"] |
| 50 | + } |
| 51 | + ] |
| 52 | + } |
| 53 | + } |
| 54 | +} |
0 commit comments