auditLogsApiEventNames.tsx 1008 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Could not find any strong types for this when converting to typescript
  2. export function AuditLogsApiEventNames(params: string[] = []): string[] {
  3. return [
  4. ...params,
  5. 'member.invite',
  6. 'member.add',
  7. 'member.accept-invite',
  8. 'member.remove',
  9. 'member.edit',
  10. 'member.join-team',
  11. 'member.leave-team',
  12. 'member.pending',
  13. 'team.create',
  14. 'team.edit',
  15. 'team.remove',
  16. 'project.create',
  17. 'project.edit',
  18. 'project.remove',
  19. 'project.set-public',
  20. 'project.set-private',
  21. 'project.request-transfer',
  22. 'project.accept-transfer',
  23. 'org.create',
  24. 'org.edit',
  25. 'org.remove',
  26. 'org.restore',
  27. 'sso.enable',
  28. 'sso.disable',
  29. 'sso.edit',
  30. 'sso-identity.link',
  31. 'sampling_priority.disabled',
  32. 'sampling_priority.enabled',
  33. 'alertrule.create',
  34. 'alertrule.edit',
  35. 'alertrule.remove',
  36. 'rule.create',
  37. 'rule.edit',
  38. 'rule.remove',
  39. 'integration.add',
  40. 'integration.edit',
  41. 'integration.remove',
  42. ];
  43. }