Skip to content

Commit

Permalink
cloudflared enabled apparmor
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-garavini committed Jan 19, 2025
1 parent f247575 commit ade58ac
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
34 changes: 34 additions & 0 deletions cloudflared/apparmor.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#include <tunables/global>

profile cloudflared flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>

# Capabilities
file,
signal (send) set=(kill,term,int,hup,cont),

# S6-Overlay
/init ix,
/bin/** ix,
/usr/bin/** ix,
/run/{s6,s6-rc*,service}/** ix,
/package/** ix,
/command/** ix,
/etc/services.d/** rwix,
/etc/cont-init.d/** rwix,
/etc/cont-finish.d/** rwix,
/run/{,**} rwk,
/dev/tty rw,

# Bashio
/usr/lib/bashio/** ix,
/tmp/** rwk,

# Access to options.json and other files within your addon
/data/** rw,
/config/** rw,
/root/** rw,

# Service
/usr/local/bin/cloudflared ix,
}
3 changes: 2 additions & 1 deletion cloudflared/config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Cloudflared

Check failure on line 1 in cloudflared/config.yaml

View workflow job for this annotation

GitHub Actions / Lint add-on cloudflared

'apparmor' should be removed, it uses a default value

Check failure on line 1 in cloudflared/config.yaml

View workflow job for this annotation

GitHub Actions / Lint add-on cloudflared

'apparmor' should be removed, it uses a default value
version: "2025.1.0-v0"
version: "2025.1.0-v1"
slug: cloudflared
codenotary: [email protected]
description: Cloudflare tunneling and Zero Trust service
apparmor: true
arch:
- aarch64
- amd64
Expand Down
File renamed without changes.

0 comments on commit ade58ac

Please sign in to comment.