-
Notifications
You must be signed in to change notification settings - Fork 13
/
install.json
executable file
·75 lines (75 loc) · 1.79 KB
/
install.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"$schema":"http://json.schemastore.org/install",
"workers":[
{
"src":"./build/worker.js"
}
],
"hooks":[
{
"endpoint":"https://logflare.app/webhooks/cloudflare/v1",
"events":[
"option-change:account",
"oauth-login"
],
"block":true,
"authenticate":[
"account"
],
"failure":{
"action":"notify",
"message":"There was an error communicating with Logflare."
}
}
],
"preview":{
"hide":true
},
"options":{
"properties":{
"account":{
"title":"Logflare Account",
"type":"object",
"format":"account",
"services":[
"logflare"
],
"required":true,
"order":1
},
"source":{
"showIf":{
"account":{
"op":"!=",
"value":""
}
},
"title":"Source",
"type":"string",
"description":"Which source should we send logs to?",
"order":2,
"required":true,
"enum":[
"signin"
],
"enumNames":{
"signin":"Sign in to select a source"
}
},
"ipInfoApiKey":{
"showIf":{
"account":{
"op":"!=",
"value":""
}
},
"title":"IP Address Data Enrichment (optional)",
"type":"string",
"description":"Include your IPInfo.io API key and get enriched data on IP addresses.",
"order":6,
"format":"code",
"required":false
}
}
}
}