auth0-extensions/auth0-delegated-administration-extension

View on GitHub
client/utils/logTypes.js

Summary

Maintainability
C
1 day
Test Coverage
export default {
  s: {
    event: 'Success Login',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  ssa: {
    event: 'Success Silent Auth',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  seacft: {
    event: 'Success Exchange',
    description: 'Authorization Code for Access Token',
    icon: {
      name: '456',
      color: 'green'
    }
  },
  feacft: {
    event: 'Failed Exchange',
    description: 'Authorization Code for Access Token',
    icon: {
      name: '456',
      color: '#A93F3F'
    }
  },
  f: {
    event: 'Failed Login',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fsa: {
    event: 'Failed Silent Auth',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  w: {
    event: 'Warnings During Login',
    icon: {
      name: '354',
      color: '#FFA500'
    }
  },
  du: {
    event: 'Deleted User',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fu: {
    event: 'Failed Login (invalid email/username)',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fp: {
    event: 'Failed Login (wrong password)',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fc: {
    event: 'Failed by Connector',
    icon: {
      name: '313',
      color: '#A93F3F'
    }
  },
  fco: {
    event: 'Failed by CORS',
    icon: {
      name: '313',
      color: '#A93F3F'
    }
  },
  con: {
    event: 'Connector Online',
    icon: {
      name: '143',
      color: 'green'
    }
  },
  coff: {
    event: 'Connector Offline',
    icon: {
      name: '143',
      color: '#A93F3F'
    }
  },
  fcpro: {
    event: 'Failed Connector Provisioning',
    icon: {
      name: '143',
      color: '#A93F3F'
    }
  },
  ss: {
    event: 'Success Signup',
    icon: {
      name: '314',
      color: 'green'
    }
  },
  fs: {
    event: 'Failed Signup',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  cs: {
    event: 'Code Sent',
    icon: {
      name: '243',
      color: 'green'
    }
  },
  cls: {
    event: 'Code/Link Sent',
    icon: {
      name: '781',
      color: 'green'
    }
  },
  sv: {
    event: 'Success Verification Email',
    icon: {
      name: '781',
      color: 'green'
    }
  },
  fv: {
    event: 'Failed Verification Email',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  scp: {
    event: 'Success Change Password',
    icon: {
      name: '280',
      color: 'green'
    }
  },
  fcp: {
    event: 'Failed Change Password',
    icon: {
      name: '266',
      color: '#A93F3F'
    }
  },
  sce: {
    event: 'Success Change Email',
    icon: {
      name: '266',
      color: 'green'
    }
  },
  fce: {
    event: 'Failed Change Email',
    icon: {
      name: '266',
      color: '#A93F3F'
    }
  },
  scu: {
    event: 'Success Change Username',
    icon: {
      name: '266',
      color: 'green'
    }
  },
  fcu: {
    event: 'Failed Change Username',
    icon: {
      name: '266',
      color: '#A93F3F'
    }
  },
  scpn: {
    event: 'Success Change Phone Number',
    icon: {
      name: '266',
      color: 'green'
    }
  },
  fcpn: {
    event: 'Failed Change Phone Number',
    icon: {
      name: '266',
      color: '#A93F3F'
    }
  },
  svr: {
    event: 'Success Verification Email Request',
    icon: {
      name: '781',
      color: 'green'
    }
  },
  fvr: {
    event: 'Failed Verification Email Request',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  scpr: {
    event: 'Success Change Password Request',
    icon: {
      name: '280',
      color: 'green'
    }
  },
  fcpr: {
    event: 'Failed Change Password Request',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fn: {
    event: 'Failed Sending Notification',
    icon: {
      name: '782',
      color: '#A93F3F'
    }
  },

  sapi: {
    event: 'API Operation',
    icon: {
      name: '546',
      color: 'green'
    },
    category: 'api'
  },
  fapi: {
    event: 'Failed API Operation',
    icon: {
      name: '546',
      color: '#A93F3F'
    },
    category: 'api'
  },
  limit_wc: {
    event: 'Blocked Account',
    icon: {
      name: '313',
      color: '#A93F3F'
    }
  },
  limit_ui: {
    event: 'Too Many Calls to /userinfo',
    icon: {
      name: '313',
      color: '#A93F3F'
    }
  },
  api_limit: {
    event: 'Rate Limit On API',
    icon: {
      name: '313',
      color: '#A93F3F'
    }
  },
  sdu: {
    event: 'Successful User Deletion',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  fdu: {
    event: 'Failed User Deletion',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  seccft: {
    event: 'Success Exchange (Client Credentials)',
    icon: {
      name: '546',
      color: 'green'
    }
  },
  feccft: {
    event: 'Failed Exchange (Client Credentials)',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  limit_mu: {
    event: 'Blocked IP Address',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  slo: {
    event: 'Success Logout',
    icon: {
      name: '546',
      color: 'green'
    }
  },
  flo: {
    event: 'Failed Logout',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  sd: {
    event: 'Success Delegation',
    icon: {
      name: '546',
      color: 'green'
    }
  },
  fd: {
    event: 'Failed Delegation',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  gd_start_enroll: {
    event: 'Enroll started',
    description: 'Guardian - Start second factor enrollment',
    icon: {
      name: '299',
      color: 'green'
    }
  },
  gd_enrollment_complete: {
    event: 'Guardian enrollment complete',
    description: 'Guardian - Enrollment complete',
    icon: {
      name: '299',
      color: 'green'
    }
  },
  gd_auth_succeed: {
    event: 'OTP Auth suceed',
    description: 'Guardian - Second factor authentication succeed',
    icon: {
      name: 'mfa-login-succeed',
      color: 'green'
    }
  },
  gd_unenroll: {
    event: 'Unenroll device account',
    description: 'Guardian - Enrollment removed',
    icon: {
      name: '298',
      color: 'green'
    }
  },
  sui: {
    event: 'Users import',
    description: 'Users import finished',
    icon: {
      name: '299',
      color: 'green'
    }
  },
  fcoa: {
    event: 'Failed cross-origin authentication',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fcph: {
    event: 'Failed Post Change Password Hook',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  feoobft: {
    event: 'Failed Exchange',
    description: 'Failed exchange of Password and OOB Challenge for Access Token',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  feotpft: {
    event: 'Failed Exchange',
    description: 'Failed exchange of Password and OTP Challenge for Access Token',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fepft: {
    event: 'Failed Exchange',
    description: 'Failed exchange of Password for Access Token',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fercft: {
    event: 'Failed Exchange',
    description: 'Failed Exchange of Password and MFA Recovery code for Access Token',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fertft: {
    event: 'Failed Exchange',
    description: 'Failed Exchange of Refresh Token for Access Token',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  ferrt: {
    event: 'Failed Exchange',
    description: 'Reused Refresh Token',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  fui: {
    event: 'Failed users import',
    description: 'Failed to import users',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  gd_auth_failed: {
    event: 'OTP Auth failed',
    description: 'One-time password authentication failed.',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  gd_auth_rejected: {
    event: 'OTP Auth rejected',
    description: 'One-time password authentication rejected.',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  gd_module_switch: {
    event: 'Module switch',
    icon: {
      name: '354',
      color: '#FFA500'
    }
  },
  gd_otp_rate_limit_exceed: {
    event: 'Too many failures',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  gd_recovery_failed: {
    event: 'Recovery failed',
    description: 'Multi-factor recovery code failed.',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  gd_recovery_rate_limit_exceed: {
    event: 'Too many failures',
    description: 'Multi-factor recovery code has failed too many times.',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  gd_recovery_succeed: {
    event: 'Recovery success',
    description: 'Multi-factor recovery code succeeded authorization.',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  gd_send_pn: {
    event: 'Push notification sent',
    description: 'Push notification for MFA sent successfully sent.',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  gd_send_sms: {
    event: 'SMS Sent',
    description: 'SMS for MFA sent successfully sent.',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  gd_start_auth: {
    event: 'Second factor started',
    description: 'Second factor authentication event started for MFA.',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  gd_tenant_update: {
    event: 'Guardian tenant update',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  gd_update_device_account: {
    event: 'Update device account',
    description: 'Device used for second factor authentication has been updated.',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  gd_user_delete: {
    event: 'User delete',
    description: 'Deleted multi-factor user account.',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  limit_delegation: {
    event: 'Too Many Calls to /delegation',
    description: 'Rate limit exceeded to /delegation endpoint',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  pwd_leak: {
    event: 'Breached password',
    description: 'Someone attempted to login with a leaked password.',
    icon: {
      name: '311',
      color: '#A93F3F'
    }
  },
  scoa: {
    event: 'Success cross-origin authentication',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  scph: {
    event: 'Success Post Change Password Hook',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  seoobft: {
    event: 'Success Exchange',
    description: 'Successful exchange of Password and OOB Challenge for Access Token',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  seotpft: {
    event: 'Success Exchange',
    description: 'Successful exchange of Password and OTP Challenge for Access Token',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  sepft: {
    event: 'Success Exchange',
    description: 'Successful exchange of Password for Access Token',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  sercft: {
    event: 'Success Exchange',
    description: 'Successful exchange of Password and MFA Recovery code for Access Token',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  sertft: {
    event: 'Success Exchange',
    description: 'Successful exchange of Refresh Token for Access Token',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  sys_os_update_end: {
    event: 'Auth0 OS Update Ended',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  sys_os_update_start: {
    event: 'Auth0 OS Update Started',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  sys_update_end: {
    event: 'Auth0 Update Ended',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  sys_update_start: {
    event: 'Auth0 Update Started',
    icon: {
      name: '312',
      color: 'green'
    }
  },
  ublkdu: {
    event: 'User login block released',
    description: 'User block setup by anomaly detection has been released',
    icon: {
      name: '312',
      color: 'green'
    }
  }
};