ok here
# audacity profile
# block everything by default
#include <tunables/global>
profile usr.bin.audacity flags=(attach_disconnected) {
# deny all access
deny network,
deny file,
deny signal,
# allow specific files and directories needed by audacity
/usr/bin/audacity rix,
/usr/lib/audacity/** rix,
# allow access to specific libraries and resources
/usr/share/audacity/** r,
/etc/audacity.conf r,
# include other necessary whitelisted paths
# add any other paths as per your needs
}