Skip to content

Add default date range for audit events

What does this MR do?

This MR sets default date range to this month (start of month -> today) for Audit Events. #223260 (closed)

It also sets the params[:created_before] to the end_of_day time to include events that occured on that date.

Related frontend MR to update audit events filter: !42711 (merged)

Screenshots

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:

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

Merge request reports