diff --git a/apps/audits/api.py b/apps/audits/api.py index d57682ee3..8b30451a6 100644 --- a/apps/audits/api.py +++ b/apps/audits/api.py @@ -132,7 +132,7 @@ class CommandExecutionHostRelationViewSet(OrgRelationMixin, OrgBulkModelViewSet) search_fields = ('asset__hostname', ) http_method_names = ['options', 'get'] rbac_perms = { - 'GET': 'audits.view_commandexecution' + 'GET': 'ops.view_commandexecution' } def get_queryset(self):