karmor sysdump
: generated .*apparmor.tar.gz
is not actually a gzip tar
#458
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description
karmor sysdump
generates some data for debugging which also includes all the generated AppArmor profiles.The entire
/etc/apparmor.d
directory is converted to tar and dumped with the extension.tar.gz
however it is not gzipped.Ref - https://github.com/kubearmor/kubearmor-client/blob/main/sysdump/sysdump.go#L252
Possible Solution
Make it a gzip or change the file extension.
Additional refactor can be done as well to make the function a little generic.
The text was updated successfully, but these errors were encountered: