Skip to content

Add ability to activate/deactivate headers using the UI

What does this MR do and why?

Add ability to activate/deactivate headers for HTTP streaming destinations using the UI. Headers that are not active are not present in the headers of streamed audit events.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Audit-events--Gitlab-Org--GitLab

How to set up and validate locally

  1. From a top level group with ultimate license navigate to streaming audit events
    1. Secure -> Audit Events -> Streams
  2. Add a streaming destination with headers
    1. https://docs.gitlab.com/ee/administration/audit_event_streaming/index.html#add-a-new-http-destination
  3. Ensure that the headers are added correctly and show
  4. Activate/deactivate the headers and save
  5. Add, edit and delete headers in the destination
  6. Ensure that the headers are updated correctly and show

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 #415268 (closed)

Edited by Nate Rosandich

Merge request reports