<commit_before>module.exports = {
  'data:create': ['write:add', 'publish:add'],
  'data:createOrReplace': ['write:add', 'publish:add'],
  'data:replace': ['write:add', 'publish:add'],
  'data:update': ['write:add'],
  'data:delete': ['write:add', 'publish:add'],
  'data:deleteByQuery': ['write:add'],
  'data:bulkImport': ['write:add'],
  'data:updateMapping': ['write:add'],
  'data:createCollection': ['write:add'],
  'data:deleteCollection': ['write:add'],
  'data:truncateCollection': ['write:add'],
  'data:publish': [],
  'data:listIndexes': [],
  'data:createIndex': ['write:add'],
  'data:deleteIndex': ['write:add'],
  'data:deleteIndexes': ['write:add'],
  'data:createOrReplaceRole': [],
  'data:createOrReplaceProfile': []
};
<commit_msg>updated hooks to match the new security events<commit_after>module.exports = {
  'data:create': ['write:add', 'publish:add'],
  'data:createOrReplace': ['write:add', 'publish:add'],
  'data:replace': ['write:add', 'publish:add'],
  'data:update': ['write:add'],
  'data:delete': ['write:add', 'publish:add'],
  'data:deleteByQuery': ['write:add'],
  'data:bulkImport': ['write:add'],
  'data:updateMapping': ['write:add'],
  'data:createCollection': ['write:add'],
  'data:deleteCollection': ['write:add'],
  'data:truncateCollection': ['write:add'],
  'data:publish': [],
  'data:listIndexes': [],
  'data:createIndex': ['write:add'],
  'data:deleteIndex': ['write:add'],
  'data:deleteIndexes': ['write:add'],
  'security:createOrReplaceRole': [],
  'security:createOrReplaceProfile': [],
  'security:getRole': [],
  'security:mGetRole': [],
  'security:searchRole': [],
  'security:deleteRole': [],
  'security:getProfile': [],
  'security:mGetProfile': [],
  'security:deleteProfile': [],
  'security:searchProfiles': [],
  'security:getUser': [],
  'security:searchUsers': [],
  'security:deleteUser': [],
  'security:createUser': [],
  'security:updateUser': [],
  'security:createOrReplaceUser': []
};

{'fraction_non_alphanumeric': 0.2447730749617542, 'fraction_numerical': 0.0, 'mean_word_length': 7.68141592920354, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '69948', 'n_tokens_mistral': 659, 'n_tokens_neox': 672, 'n_words': 95}