diff --git a/core/events/message.py b/core/events/message.py index 338cd12fb..543b07c65 100644 --- a/core/events/message.py +++ b/core/events/message.py @@ -17,11 +17,11 @@ graph, indicator, observable, + rbac, tag, task, template, user, - rbac, ) diff --git a/tests/apiv2/rbac.py b/tests/apiv2/rbac.py index 25375215c..e3d3e0143 100644 --- a/tests/apiv2/rbac.py +++ b/tests/apiv2/rbac.py @@ -88,7 +88,7 @@ def test_user_can_tag_entity(self): self.user1.link_to_acl(self.entity1, graph.Role.READER) response = client.post( - f"/api/v2/entities/tag", + "/api/v2/entities/tag", json={"ids": [self.entity1.id], "tags": ["test"]}, headers={"Authorization": f"Bearer {self.user1_token}"}, )