docs: public static AuditEntryBean policyAdded(PolicyBean bean, PolicyType type,
              ISecurityContext securityContext) {
          AuditEntryBean entry = newEntry(bean.getOrganizationId(), null, securityContext);
          entry.setWhat(AuditEntryType.AddPolicy);
          entry.setEntityId(bean.getEntityId());
          entry.setEntityVersion(bean.getEntityVersion());
          switch (type) {
          case Client:
              entry.setEntityType(AuditEntityType.Client);
              break;
          case Plan:
              entry.setEntityType(AuditEntityType.Plan);
              break;
          case Api:
              entry.setEntityType(AuditEntityType.Api);
              break;
          }
          PolicyData data = new PolicyData();
          data.setPolicyDefId(bean.getDefinition().getId());
          entry.setData(toJSON(data));
          return entry;
      }