From 58732a65458b368ec8cddde7deff3ec1dfbda4b7 Mon Sep 17 00:00:00 2001 From: Kobaxidze256 Date: Wed, 15 Mar 2023 12:26:12 +0000 Subject: Add profiles for jami and postman (#5691) --- etc/profile-m-z/postman.profile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 etc/profile-m-z/postman.profile (limited to 'etc/profile-m-z/postman.profile') diff --git a/etc/profile-m-z/postman.profile b/etc/profile-m-z/postman.profile new file mode 100644 index 000000000..c8f00584d --- /dev/null +++ b/etc/profile-m-z/postman.profile @@ -0,0 +1,28 @@ +# Firejail profile for postman +# Description: API testing platform +# This file is overwritten after every install/update +# Persistent local customizations +include postman.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.config/Postman +noblacklist ${HOME}/Postman + +mkdir ${HOME}/.config/Postman +mkdir ${HOME}/Postman +whitelist ${HOME}/.config/Postman +whitelist ${HOME}/Postman +include whitelist-run-common.inc + +protocol unix,inet,inet6,netlink + +private-bin electron,electron[0-9],electron[0-9][0-9],locale,node,Postman,postman,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-common.profile -- cgit v1.2.3-70-g09d2