howdy39 / notify-jamf-slack

notify-jamf-slack supply Jamf Webhooks server and notify to Slack with Incoming Webhooks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

notify-jamf-slack

notify-jamf-slack supply Jamf Webhooks server and notify to Slack with Incoming Webhooks.

Deploy

Prerequisites

  • Node.js
  • memcached
    • brew install memcached
  • (optional) heroku

Environment Variables

Must

Optional

Do not specify if not needed.

  • JAMF_USER
    • Basic authentication user name
    • ex) jamfadmin
  • JAMF_PASSWORD
    • Basic authentication user password
    • ex) password42
  • IGNORE_POLICYIDS
    • Policies you don't want to be notified
    • ex) 1,3,9

Development

Start local server

For devloper, If you use next command, it will be updated automatically.

$ memcached
$ npm run local

Testing with ngrok

For testing, you can use the ngrok secure tunneling service to expose the application to the internet and access it using both HTTP and HTTPS.

$ ./ngrok http 3000
curl -X POST -H "Content-Type: application/json" -d @sample.json "https://xxx.ngrok.io"

For heroku user

$ heroku git:remote -a foo-notify-jamf-slack
$ git push heroku main

Thanks

notify-jamf-slack influenced by Jackalope.

License

This software is released under the MIT License, see LICENSE.txt.

About

notify-jamf-slack supply Jamf Webhooks server and notify to Slack with Incoming Webhooks.

License:MIT License


Languages

Language:JavaScript 99.9%Language:Procfile 0.1%