📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

github.com/vince15dk/sms-webhook-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/vince15dk/sms-webhook-api

v0.0.0-20211216073313-d9a7291f3091
Source
Go
Version published
Created
Source

SMS-Webhook-api

Execute it in local env

make run

Webhook Post Request URL

Post :8080/{dep}/{groups}/sms

For grafana alert webhook usage

  • http://{sms-webhook-api}/v1/srep/grafana/sms

For argocd notification webhook usage

  • http://{sms-webhook-api}/v1/srep/argocd/sms

Where to store config

vi /config/dep_users.json
    {
      "depGroup": [
        {
          "sender": "xx",
          "appKey": "xx",
          "secretKey": "xx",
          "groupName": "{dep}",
          "users": [
            {
              "name": "rabbit",
              "phoneNo": "123",
              "email": "rabbit@animal.com"
            },
            {
              "name": "mouse",
              "phoneNo": "123",
              "email": "mouse@animal.com"
            }
          ]
        }
      ]
    }

FAQs

Package last updated on 16 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts