code: public static AuditEntryBean membershipGranted(String organizationId, MembershipData data,
              ISecurityContext securityContext) {
          AuditEntryBean entry = newEntry(organizationId, AuditEntityType.Organization, securityContext);
          entry.setEntityId(null);
          entry.setEntityVersion(null);
          entry.setWhat(AuditEntryType.Grant);
          entry.setData(toJSON(data));
          return entry;
      }
docs: Creates an audit entry for the 'membership granted' even.
  @param organizationId the organization id
  @param data the membership data
  @param securityContext the security context
  @return the audit entry