-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
asafshen
committed
Apr 1, 2018
1 parent
a36269f
commit 8678168
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
commonfields: | ||
id: Coffee Maker | ||
version: -1 | ||
name: Coffee Maker | ||
display: Coffee Maker | ||
category: Utilities | ||
image: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAyCAMAAACgee/qAAADAFBMVEX//////v/QztDY1tjw7/Dt6+3a2Nrs6+zU0tTb2dv+/f7n5uff3d/S0NLPzc/q6Orl4+XX1dfW1NbT0dPu7e79/P329fbv7u/n5ObV09Xi4OLe29zKyMrFw8Xy8PLp6Onh3+LNy83r6uvo5ujOzM7CwML49vjg3uDIxsje3N7Hxcf8+/z5+Pn6+fr08/Tc2tzLycvMyszJx8n7+vvk4uTz8vPj4uOwrrD19PXz8vG+vL7y8O/CwMHAvsC1s7WamJqWlJUgDQ/NyMfIwr+8urtSOC0aBwnLxsTJxMPKxMG3trdnUEgrGBf08/PQzMvPysnEwsSzsLGnpaalo6WgnqCPjY+ac1hMPD0xICHf2trd2NfU0dHLys68tbOzsbOfnZ6xhmaRa1CGYERuUENjSUBOPkBENDVWPTRfPTI7KixLMig4JyhCKyJJKyA+IRg4HhQhDxESAAHn4d3h2dO/vb+6t7mrqaqjmJSTkZOekoyYjYmGgoOgfnGObmKnfFlxWlKSaks/Li9SMSY3JSUtGx0lFBcXBAbi3+DU09XHwL7AurmurK2xqae3qaanoKCto5+YlpeqmZO2n4uIhoiNf3l2dHaNe3WBdXOtiWy6jmqKdGqohmmthGSie12geFqIZVmCZFiSb1OAW0p+V0lVRURgQzpIODhHMy9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QmoLp+5Q3p82QMa0Bs8U4zkb5kkqlBEGoCxTI3DshocOUXRO71G2Xp3a2h/l9YkHWY5014rBqtcqIkaBwrmjGhNRpUYpl6Rhng62Wx5izUOutQ/u3rnF2ypEGw0uVLmXlKH0SIWAkhZJWii36QMCtDyL0uoGF0qZOSJ+6oBkWxazli2QsNmLC/b2dt26ueq521ValolobYbUEdIKsx0m0pNWB64My/sCYMUMhlFaZmpYvXGFgxgxrElz7qjybXK9GmaUDBpTL34OUyo1O3C0IDBEinQ4R0HA9RNJyYB80GNSHcCu0sKSeWId6ZztfzFYuRYhxkJTCL6eswsFI0OlhHSImqk8hQyQZMhYOBxPFtzn6qEXfr279+vUOl3OISQ+aLp0di4hCQZlAMPwFtPhUPlop0uIpg9LCLYuk/dQVAU8SKDfixdC+ZSiVt29CQTtmU+JCTK6vkUIkRVGVkSMdIk9CsaK5e+jden0oimtFWhqTF8iZOn2Lvdv7+miHBYZF0O2tLMBw6sThcLLEcjShWIXmaTEpwe8I7F5zuY0Tawwvu/N81Tz9+EdP4AoJ8zWNOjgM9bpSm9IXy9C8UPr05dPnzp07a6EJ2fLOPNKq9Yf6NWv244svMAwBz/RCuJKmCI8rY5H0ubPyG0yM2li35Jtdk0df2je7Qd1WSRCh4a94UJ8yGvI0y1rQgzM4bnGPzjtx/6kardOUXt1qwCKB4R/5RIEADL5MJ5MhvbJ1zjZtZxY3IkvBz+d/CkN8c8bSocNb5Jqv46V/DP/4kDOVW7hnmb8R8fN/B/4IfuLH5JdaYXUAAAAASUVORK5CYII= | ||
description: Make coffee with Demisto playbooks | ||
configuration: | ||
- display: Add milk by default? | ||
name: Milk? | ||
defaultvalue: "" | ||
type: 8 | ||
required: false | ||
- display: Add sugar by default? | ||
name: Sugar? | ||
defaultvalue: "" | ||
type: 8 | ||
required: false | ||
- display: Strength of coffee (Strong, Medium or Mild) | ||
name: Strength | ||
defaultvalue: Strong | ||
type: 0 | ||
required: false | ||
script: | ||
script: | | ||
// The command input arg holds the command sent from the user. | ||
switch (command) { | ||
// This is the call made when pressing the integration test button. | ||
case 'test-module': | ||
return 'ok'; | ||
case 'make-coffee': | ||
md = '# Happy April Fools!\n\n' | ||
md += 'Demisto has over 160 integrations today, supporting over 1000 commands. Still, we recommend you make your coffee manually, while having Demisto automate all the rest...\n\n'; | ||
md += 'Regards,\n'; | ||
md += ' Your friends at Demisto.'; | ||
return {'ContentsFormat': formats['markdown'], 'Type': entryTypes['note'], 'Contents': md}; | ||
} | ||
type: javascript | ||
commands: | ||
- name: make-coffee | ||
arguments: [] | ||
description: Make coffee | ||
runonce: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters