Following the apparmor policy updates a little while ago, scopes are now named after the hook short ID.
For a scope package "package-name" with a hook "hook-name" to the directory "dir-name".
{
...
"hooks": {
"HOOKNAME": { "scope": "DIRNAME", "apparmor": "apparmor.json"
}
},
"name": "PACKAGENAME"
...
}
Following the apparmor policy updates a little while ago, scopes are now named after the hook short ID.
For a scope package "package-name" with a hook "hook-name" to the directory "dir-name".
"scope" : "DIRNAME",
"apparmor" : "apparmor.json"
{
...
"hooks": {
"HOOKNAME": {
}
},
"name": "PACKAGENAME"
...
}
The tool should look in
"DIRNAME/ PACKAGENAME_ HOOKNAME. ini"
for the the ini file.