diff options
author | James Elford <james.p.elford@gmail.com> | 2018-03-31 14:49:35 +0100 |
---|---|---|
committer | James Elford <james.p.elford@gmail.com> | 2018-03-31 14:49:35 +0100 |
commit | 1b258d48e66d6a6c1902790f4ddc3fddaf191f4b (patch) | |
tree | 5e6bf1b9c7b2d3fea5c29240c5f09c60cfcd1fa7 /etc | |
parent | Merge pull request #1848 from jelford/cloud-providers (diff) | |
download | firejail-1b258d48e66d6a6c1902790f4ddc3fddaf191f4b.tar.gz firejail-1b258d48e66d6a6c1902790f4ddc3fddaf191f4b.tar.zst firejail-1b258d48e66d6a6c1902790f4ddc3fddaf191f4b.zip |
Added a basic profile for gcloud
gcloud is the Google Cloud Platform's cli. It understands how to
interact with GCP's endpoint, and it need to read config and creds
from the user's $HOME, plus it integrates with docker-cli
Diffstat (limited to 'etc')
-rw-r--r-- | etc/gcloud.profile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/etc/gcloud.profile b/etc/gcloud.profile new file mode 100644 index 000000000..3224611c7 --- /dev/null +++ b/etc/gcloud.profile | |||
@@ -0,0 +1,40 @@ | |||
1 | # Firejail profile for gcloud | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /usr/local/etc/firejail/gcloud.local | ||
5 | # Persistent global definitions | ||
6 | include /usr/local/etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.boto | ||
9 | noblacklist ${HOME}/.config/gcloud | ||
10 | noblacklist /var/run/docker.sock | ||
11 | |||
12 | include /usr/local/etc/firejail/disable-common.inc | ||
13 | include /usr/local/etc/firejail/disable-devel.inc | ||
14 | include /usr/local/etc/firejail/disable-programs.inc | ||
15 | |||
16 | apparmor | ||
17 | caps.drop all | ||
18 | machine-id | ||
19 | netfilter | ||
20 | nodbus | ||
21 | nodvd | ||
22 | # required for sudo-free docker | ||
23 | #nogroups | ||
24 | nonewprivs | ||
25 | noroot | ||
26 | notv | ||
27 | protocol unix,inet,inet6 | ||
28 | seccomp | ||
29 | shell none | ||
30 | tracelog | ||
31 | |||
32 | disable-mnt | ||
33 | private-dev | ||
34 | private-etc ca-certificates,ssl,hosts,localtime,nsswitch.conf,resolv.conf,pki,crypto-policies,ld.so.cache | ||
35 | private-tmp | ||
36 | |||
37 | noexec /tmp | ||
38 | |||
39 | # will break user-local installs of gcloud tooling | ||
40 | # noexec ${HOME} | ||