-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathmanifest.json
More file actions
128 lines (128 loc) · 3.09 KB
/
manifest.json
File metadata and controls
128 lines (128 loc) · 3.09 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "Multiple UI Components",
"description": "An example of creating many GUI components from one app.",
"version": "1.0",
"uuid": "619b9be1-7cdb-411c-8a63-68c21403721a",
"image": "qradar-app-base:2.0.0",
"areas": [
{
"id": "QMultiComponentApp",
"text": "MultiComponent App",
"description": "An example of creating many GUI components from one app.",
"url": "index",
"required_capabilities": []
}
],
"dashboard_items": [
{
"text": "MultiComponentApp Item",
"description": "Another Sample dashboard item that is going to show some HTML",
"rest_method": "sampleDashboardItem",
"required_capabilities": []
}
],
"rest_methods": [
{
"name": "sampleDashboardItem",
"url": "/sampleDashboardItem",
"method": "GET",
"argument_names": [],
"required_capabilities": []
},
{
"name": "sampleToolbarMethod",
"url": "/sampleToolbarButton",
"method": "GET",
"argument_names": [
"context"
],
"required_capabilities": []
},
{
"name": "sampleIPInformation",
"url": "/sampleIpInformation",
"method": "GET",
"argument_names": [
"metaDataContext"
],
"required_capabilities": []
},
{
"name": "sampleUserInformation",
"url": "/sampleUserInformation",
"method": "GET",
"argument_names": [
"metaDataContext"
],
"required_capabilities": []
},
{
"name": "sampleURLInformation",
"url": "/sampleURLInformation",
"method": "GET",
"argument_names": [
"metaDataContext"
],
"required_capabilities": []
}
],
"configuration_pages": [
{
"text": "Open IBM.com",
"description": "Loading IBM.com in a new window",
"icon": null,
"url": "admin_screen",
"required_capabilities": [
"ADMIN"
]
}
],
"gui_actions": [
{
"id": "sampleRightClick",
"text": "Sample Right Click",
"description": "Sample IP right click action that searches Google.",
"icon": null,
"javascript": "window.open('http://www.google.com?q='+context.innerText)",
"groups": [
"ipPopup"
],
"required_capabilities": []
},
{
"id": "sampleToolbarButton",
"text": "Sample Toolbar Button",
"description": "Sample toolbar button that calls a REST method, passing an offense ID along",
"icon": null,
"rest_method": "sampleToolbarMethod",
"javascript": "alert('hello new button!')",
"groups": [
"OffenseListToolbar"
],
"required_capabilities": []
}
],
"page_scripts": [
{
"app_name": "SEM",
"page_id": "OffenseList",
"scripts": [
"static/js/sampleScriptInclude.js"
]
}
],
"metadata_providers": [
{
"rest_method": "sampleIPInformation",
"metadata_type": "ip"
},
{
"rest_method": "sampleUserInformation",
"metadata_type": "userName"
},
{
"rest_method": "sampleURLInformation",
"metadata_type": "ariel:URL"
}
]
}