Skip to content

Commit

Permalink
Whitelist /opt/postman
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobaxidze256 committed Mar 15, 2023
1 parent 682784d commit c3f2dee
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions etc/profile-m-z/postman.profile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,22 @@ include globals.local
noblacklist ${HOME}/.config/Postman
noblacklist ${HOME}/Postman

include allow-nodejs.inc

mkdir ${HOME}/.config/Postman
mkdir ${HOME}/Postman
whitelist ${HOME}/.config/Postman
whitelist ${HOME}/Postman
include whitelist-run-common.inc

#private-opt postman
private-bin postman,electron,electron[0-9],electron[0-9][0-9],locale,sh
protocol unix,inet,inet6,netlink

private-bin Postman,postman,electron,electron[0-9],electron[0-9][0-9],locale,node,sh
private-etc alternatives,ca-certificates,crypto-policies,fonts,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,nsswitch.conf,pki,resolv.conf,ssl
# private-opt breaks file-copy-limit, use a whitelist instead of draining RAM
# https://github.com/netblue30/firejail/discussions/5307
#private-opt postman
whitelist /opt/postman

# Redirect
include electron.profile
include electron-common.profile

0 comments on commit c3f2dee

Please sign in to comment.