-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmanifest.json
More file actions
50 lines (49 loc) · 1.29 KB
/
manifest.json
File metadata and controls
50 lines (49 loc) · 1.29 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
{
"manifest_version": 3,
"name": "Guardon — Kubernetes Guardon checks",
"version": "0.5",
"description": "Guardon validates Kubernetes YAML files in GitHub/GitLab against configurable Guardon checks.",
"permissions": ["storage"],
"host_permissions": [
"https://github.com/*",
"https://www.github.com/*",
"https://gitlab.com/*",
"https://www.gitlab.com/*"
],
"background": { "service_worker": "src/background.js" },
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
},
"content_scripts": [
{
"matches": [
"https://github.com/*",
"https://www.github.com/*",
"https://gitlab.com/*",
"https://www.gitlab.com/*"
],
"js": ["src/lib/js-yaml.min.js", "src/content.js"],
"type": "module"
}
],
"web_accessible_resources": [
{
"resources": [
"src/utils/*.js",
"src/lib/*.js",
"src/lib/opa-wasm-bundle.js",
"src/popup/*.js"
],
"matches": ["<all_urls>"]
}
],
"action": {
"default_popup": "src/popup/popup.html",
"default_icon": {
"16": "assets/icon16.png",
"48": "assets/icon48.png",
"128": "assets/icon128.png"
}
},
"options_page": "src/options/options.html"
}