25 lines
1.5 KiB
JSON
25 lines
1.5 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(docker logs:*)",
|
|
"Bash(docker-compose up:*)",
|
|
"Bash(docker-compose exec:*)",
|
|
"Bash(docker compose logs:*)",
|
|
"Bash(docker compose exec celery sh -c \"grep -i session /data/cookies/patreon_cookies.txt || echo ''No session cookie found''\")",
|
|
"Bash(docker compose exec celery sh -c \"gallery-dl --cookies /data/cookies/patreon_cookies.txt -v ''https://www.patreon.com/knuxy'' 2>&1 | head -20\")",
|
|
"Bash(docker compose exec:*)",
|
|
"Bash(powershell -File - <<'EOF'\nAdd-Type -AssemblyName System.IO.Compression.FileSystem\n$zip = [System.IO.Compression.ZipFile]::OpenRead\\('c:\\\\Users\\\\bvandeusen\\\\Nextcloud\\\\Projects\\\\GallerySubscriber\\\\gallerysubscriber.xpi'\\)\n$zip.Entries | Select-Object FullName\n$zip.Dispose\\(\\)\nEOF)",
|
|
"Bash(npx web-ext sign:*)",
|
|
"Bash(where:*)",
|
|
"Bash(where npm:*)",
|
|
"Bash(powershell -Command \"Copy-Item ''c:\\\\Users\\\\bvandeusen\\\\Nextcloud\\\\Projects\\\\GallerySubscriber\\\\extension\\\\web-ext-artifacts\\\\be3706e9e89640a5b70b-1.0.0.xpi'' ''c:\\\\Users\\\\bvandeusen\\\\Nextcloud\\\\Projects\\\\GallerySubscriber\\\\gallerysubscriber-signed.xpi'' -Force; Get-Item ''c:\\\\Users\\\\bvandeusen\\\\Nextcloud\\\\Projects\\\\GallerySubscriber\\\\gallerysubscriber-signed.xpi'' | Select-Object Name, Length\")",
|
|
"WebFetch(domain:github.com)",
|
|
"WebFetch(domain:raw.githubusercontent.com)",
|
|
"Bash(python -m py_compile:*)",
|
|
"Bash(powershell:*)",
|
|
"Bash(python:*)",
|
|
"Bash(xargs basename:*)"
|
|
]
|
|
}
|
|
}
|