Skip to content

Standardize Security Analyzers Logging

Problem to solve

There is a lack of control over logging and a lack of convention for our Security Analyzers.

Intended users

Persona: Software developer

Tasks

gitlab-org/security-products/analyzers/common!73 (merged) has an example of how to use the common logrus format.

What does success look like, and how can we measure that?

  • All output is configurable via logrus
  • fmt is no longer used to output messages
  • There is a convention documented for the developer of Security Products and it's executed for any new Security Product project created

What is the type of buyer?

  • GitLab Ultimate users
  • users of the Security Products in their standalone form (as Docker images)

Links / references

Started as a side-talk within #9592 (closed)

Edited by Daniel Paul Searles