Add initial cockpit profiles.

This commit is contained in:
Alexandre Pujol 2021-10-07 14:58:54 +01:00
parent 1a31d8271e
commit a2dc5b1132
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
11 changed files with 259 additions and 1 deletions

View file

@ -0,0 +1,20 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /{usr/,}lib/cockpit/cockpit-tls
profile cockpit-tls @{exec_path} {
include <abstractions/base>
network inet6 stream,
@{exec_path} mr,
/etc/cockpit/ws-certs.d/{,**} r,
include if exists <local/cockpit-tls>
}