[Frontend] Add a section in admin settings for instance-level external audit destination
What?
We need to create a section under admin settings named "Compliance" or "Audit Events". Under that we need to provide an option for listing, creating, updating and deleting the instance level external audit events destination.
Implementation details
- This feature should be released after deployment of changes in issue #335176 (closed).
- The APIs will be GraphQL APIs and details can be found in description of issue #335175 (closed).
Implementation plan
- Create new FF
instance_streaming_audit_events
- First MR
- add FF and show tab. Add variables
show_streams, group_path, empty_state_svg_path
toee/app/views/admin/audit_logs/index.html.haml
for the tab to show - Will need to move the export button above the tabs in
ee/app/assets/javascripts/audit_events/components/audit_events_app.vue
- Also pass through a new boolean around that this is instance level streaming for conditionals below (Can be added in ee/app/helpers/audit_events_helper.rb)
- add FF and show tab. Add variables
- Second MR
- Update the Apollo query to pull instance level destination instead of from group
ee/app/assets/javascripts/audit_events/components/audit_events_stream.vue
- Update the Apollo queries to add, edit and delete instance level destination instead of from group
ee/app/assets/javascripts/audit_events/components/stream/stream_destination_editor.vue
- We will need to hide the headers until the API is ready in fourth MR
- Will also need to hide filters at instance level
- Update the Apollo query to pull instance level destination instead of from group
Edited by Nate Rosandich