Skip to content

Add error handling to code analytics

What does this MR do?

Rebase and target master when !18395 (closed) is merged

This MR adds the error handling required for code analytics, i.e. when a 403 is returned from the API, the appropriate access denied error message is displayed.

This is behind the code_analytics feature flag introduced in !17618 (merged)

Code Analytics plan

The MR adds the chart for the following plan

Code_hotspots

Screenshots

Access denied error General error i.e. 500
Screenshot_2019-10-23_at_13.00.17 Screenshot_2019-10-23_at_13.02.12

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [n/a] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [n/a] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [n/a] Security reports checked/validated by a reviewer from the AppSec team
Edited by Dennis Tang

Merge request reports