Skip to content

Add name field to streaming audit events

What does this MR do and why?

This adds a field to the streaming audit events HTTP destination form called Name. This name field can be edited and is used as the list item title for HTTP destinations

Screenshots or screen recordings

Audit-events--Gitlab-Org--GitLab

How to set up and validate locally

Group level.
Make sure you have an EE license and administration access

  1. Go to any top level group
  2. Go to "Secure" > "Audit events"
  3. Click "Streams" tab
  4. Create a new streaming destination by clicking "Add streaming destination"
    1. https://docs.gitlab.com/ee/administration/audit_event_streaming.html#add-a-new-streaming-destination
  5. Provide a "Destination URL" and "Destination Name"
  6. Validate that the name field is also use as the item title
  7. Ensure that you can see still add/edit headers and set filters on the destination
  8. Also ensure that instance level streaming HTTP destination form is not affected

Instance level.
Make sure you have an EE license and administration access

  1. Go to Admin Area
  2. Go to "Monitoring" > "Audit events"
  3. Click "Streams" tab
  4. Create a new streaming destination by clicking "Add streaming destination"
    1. https://docs.gitlab.com/ee/administration/audit_event_streaming.html#add-a-new-streaming-destination
  5. Provide a "Destination URL" and "Destination Name"
    1. Validate that the name field is also use as the item title
  6. Ensure that you can see still add/edit headers and set filters on the destination
  7. Also ensure that instance level streaming HTTP destination form is not affected

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #411357 (closed)

Edited by Nate Rosandich

Merge request reports

Loading