notify-jamf-slack supply Jamf Webhooks server and notify to Slack with Incoming Webhooks.
- Node.js
- memcached
brew install memcached
- (optional) heroku
- SLACK_WEBHOOK_URL
- Slack Incoming WebHooks url
- ex) https://hooks.slack.com/services/AAAAAAAA/BBBBBBBB/CCCCCCCCCCCCCCCCCCCCCC
- JAMF_URL
- Jamf application server url
- ex) https://foo.jamfcloud.com
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
For devloper, If you use next command, it will be updated automatically.
$ memcached
$ npm run local
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"
$ heroku git:remote -a foo-notify-jamf-slack
$ git push heroku main
notify-jamf-slack influenced by Jackalope.
This software is released under the MIT License, see LICENSE.txt.