Failure in ee/api/10_govern/instance_audit_event_streaming_spec.rb | Govern Instance audit event streaming when a user is created behaves like streamed events received by an external server
Test metadata (don't modify)
| Field | Value |
|---|---|
| File | qa/qa/specs/features/ee/api/10_govern/instance_audit_event_streaming_spec.rb |
| Description | Govern Instance audit event streaming when a user is created behaves like streamed events received by an external server |
| Hash | 05039004891b599b262fbe5ff538765b446ef064f7c3ce99b118c8a4beb2045b |
| Test case | https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/415876 |
Stack trace
Failure/Error:
raise QA::Support::Repeater::WaitExceededError,
"An event with type '#{event_type}'#{" and entity_path '#{entity_path}'" if entity_path} was not received. " \
"Event history: #{mock_service.stringified_history}"
QA::Support::Repeater::WaitExceededError:
An event with type 'user_created' and entity_path 'qa-user-c214de5fcbee8191' was not received. Event history: {:context=>{:mock_id=>"mEzWGb9VRI", :mock_type=>"static"}, :request=>{:path=>"/logs", :method=>"POST", :origin=>"172.19.0.2", :body_string=>"{\"id\":360,\"author_id\":1,\"entity_id\":1,\"entity_type\":\"User\",\"details\":{\"author_name\":\"Administrator\",\"author_class\":\"User\",\"target_id\":5,\"target_type\":\"Key\",\"target_details\":\"E2E test key: 1688437875.5276566\",\"custom_message\":\"Removed SSH key\",\"ip_address\":\"172.19.0.3\",\"entity_path\":\"root\"},\"ip_address\":\"172.19.0.3\",\"author_name\":\"Administrator\",\"entity_path\":\"root\",\"target_details\":\"E2E test key: 1688437875.5276566\",\"created_at\":\"2023-07-04T02:31:16.259Z\",\"target_type\":\"Key\",\"target_id\":5,\"event_type\":\"remove_ssh_key\"}", :body=>{:author_id=>1, :author_name=>"Administrator", :created_at=>"2023-07-04T02:31:16.259Z", :details=>{:author_class=>"User", :author_name=>"Administrator", :custom_message=>"Removed SSH key", :entity_path=>"root", :ip_address=>"172.19.0.3", :target_details=>"E2E test key: 1688437875.5276566", :target_id=>5, :target_type=>"Key"}, :entity_id=>1, :entity_path=>"root", :entity_type=>"User", :event_type=>"remove_ssh_key", :id=>360, :ip_address=>"172.19.0.3", :target_details=>"E2E test key: 1688437875.5276566", :target_id=>5, :target_type=>"Key"}, :headers=>{:Accept=>["*/*"], :"Accept-Encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], :Connection=>["close"], :"Content-Length"=>["524"], :"Content-Type"=>["application/x-www-form-urlencoded"], :Host=>["smocker-server.test:8080"], :"User-Agent"=>["Ruby"], :"X-Gitlab-Audit-Event-Type"=>["remove_ssh_key"], :"X-Gitlab-Event-Streaming-Token"=>["kJ3qPWw62aDov8MGFwsic8MC"]}, :date=>"2023-07-04T02:31:16.379689539Z"}, :response=>{:status=>200, :body=>"", :date=>"2023-07-04T02:31:16.380274759Z"}}
{:context=>{:mock_id=>"mEkWMxrVgm", :mock_type=>"static"}, :request=>{:path=>"/logs", :method=>"POST", :origin=>"172.19.0.2", :body_string=>"{\"id\":361,\"author_id\":1,\"entity_id\":136,\"entity_type\":\"Group\",\"details\":{\"add\":\"group\",\"author_name\":\"Administrator\",\"target_id\":136,\"target_type\":\"Group\",\"target_details\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-fc874ca2b8fe3186\",\"ip_address\":\"172.19.0.3\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-fc874ca2b8fe3186\"},\"ip_address\":\"172.19.0.3\",\"author_name\":\"Administrator\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-fc874ca2b8fe3186\",\"target_details\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-fc874ca2b8fe3186\",\"created_at\":\"2023-07-04T02:31:17.670Z\",\"target_type\":\"Group\",\"target_id\":136,\"event_type\":\"audit_operation\"}", :body=>{:author_id=>1, :author_name=>"Administrator", :created_at=>"2023-07-04T02:31:17.670Z", :details=>{:add=>"group", :author_name=>"Administrator", :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-fc874ca2b8fe3186", :ip_address=>"172.19.0.3", :target_details=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-fc874ca2b8fe3186", :target_id=>136, :target_type=>"Group"}, :entity_id=>136, :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-fc874ca2b8fe3186", :entity_type=>"Group", :event_type=>"audit_operation", :id=>361, :ip_address=>"172.19.0.3", :target_details=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-fc874ca2b8fe3186", :target_id=>136, :target_type=>"Group"}, :headers=>{:Accept=>["*/*"], :"Accept-Encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], :Connection=>["close"], :"Content-Length"=>["701"], :"Content-Type"=>["application/x-www-form-urlencoded"], :Host=>["smocker-server.test:8080"], :"User-Agent"=>["Ruby"], :"X-Gitlab-Audit-Event-Type"=>["audit_operation"], :"X-Gitlab-Event-Streaming-Token"=>["kJ3qPWw62aDov8MGFwsic8MC"]}, :date=>"2023-07-04T02:31:17.844114049Z"}, :response=>{:status=>200, :body=>"", :date=>"2023-07-04T02:31:17.84688839Z"}}
{:context=>{:mock_id=>"mEkZGxrVgZ", :mock_type=>"static"}, :request=>{:path=>"/logs", :method=>"POST", :origin=>"172.19.0.2", :body_string=>"{\"id\":364,\"author_id\":1,\"entity_id\":65,\"entity_type\":\"Project\",\"details\":{\"author_name\":\"Administrator\",\"author_class\":\"User\",\"target_id\":65,\"target_type\":\"Project\",\"target_details\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-74c7684c334fa8e1/the_awesome_project-d0be5f935c046256\",\"custom_message\":\"Added project\",\"ip_address\":\"172.19.0.3\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-74c7684c334fa8e1/the_awesome_project-d0be5f935c046256\"},\"ip_address\":\"172.19.0.3\",\"author_name\":\"Administrator\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-74c7684c334fa8e1/the_awesome_project-d0be5f935c046256\",\"target_details\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-74c7684c334fa8e1/the_awesome_project-d0be5f935c046256\",\"created_at\":\"2023-07-04T02:31:29.427Z\",\"target_type\":\"Project\",\"target_id\":65,\"event_type\":\"project_created\"}", :body=>{:author_id=>1, :author_name=>"Administrator", :created_at=>"2023-07-04T02:31:29.427Z", :details=>{:author_class=>"User", :author_name=>"Administrator", :custom_message=>"Added project", :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-74c7684c334fa8e1/the_awesome_project-d0be5f935c046256", :ip_address=>"172.19.0.3", :target_details=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-74c7684c334fa8e1/the_awesome_project-d0be5f935c046256", :target_id=>65, :target_type=>"Project"}, :entity_id=>65, :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-74c7684c334fa8e1/the_awesome_project-d0be5f935c046256", :entity_type=>"Project", :event_type=>"project_created", :id=>364, :ip_address=>"172.19.0.3", :target_details=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-74c7684c334fa8e1/the_awesome_project-d0be5f935c046256", :target_id=>65, :target_type=>"Project"}, :headers=>{:Accept=>["*/*"], :"Accept-Encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], :Connection=>["close"], :"Content-Length"=>["893"], :"Content-Type"=>["application/x-www-form-urlencoded"], :Host=>["smocker-server.test:8080"], :"User-Agent"=>["Ruby"], :"X-Gitlab-Audit-Event-Type"=>["project_created"], :"X-Gitlab-Event-Streaming-Token"=>["kJ3qPWw62aDov8MGFwsic8MC"]}, :date=>"2023-07-04T02:31:29.574165181Z"}, :response=>{:status=>200, :body=>"", :date=>"2023-07-04T02:31:29.576062551Z"}}
{:context=>{:mock_id=>"mEkWMxrVgm", :mock_type=>"static"}, :request=>{:path=>"/logs", :method=>"POST", :origin=>"172.19.0.2", :body_string=>"{\"id\":366,\"author_id\":1,\"entity_id\":141,\"entity_type\":\"Group\",\"details\":{\"add\":\"group\",\"author_name\":\"Administrator\",\"target_id\":141,\"target_type\":\"Group\",\"target_details\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-efd65aeadd9fa0a2/audit-event-streaming-86kbenub\",\"ip_address\":\"172.19.0.3\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-efd65aeadd9fa0a2/audit-event-streaming-86kbenub\"},\"ip_address\":\"172.19.0.3\",\"author_name\":\"Administrator\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-efd65aeadd9fa0a2/audit-event-streaming-86kbenub\",\"target_details\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-efd65aeadd9fa0a2/audit-event-streaming-86kbenub\",\"created_at\":\"2023-07-04T02:31:31.288Z\",\"target_type\":\"Group\",\"target_id\":141,\"event_type\":\"audit_operation\"}", :body=>{:author_id=>1, :author_name=>"Administrator", :created_at=>"2023-07-04T02:31:31.288Z", :details=>{:add=>"group", :author_name=>"Administrator", :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-efd65aeadd9fa0a2/audit-event-streaming-86kbenub", :ip_address=>"172.19.0.3", :target_details=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-efd65aeadd9fa0a2/audit-event-streaming-86kbenub", :target_id=>141, :target_type=>"Group"}, :entity_id=>141, :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-efd65aeadd9fa0a2/audit-event-streaming-86kbenub", :entity_type=>"Group", :event_type=>"audit_operation", :id=>366, :ip_address=>"172.19.0.3", :target_details=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-efd65aeadd9fa0a2/audit-event-streaming-86kbenub", :target_id=>141, :target_type=>"Group"}, :headers=>{:Accept=>["*/*"], :"Accept-Encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], :Connection=>["close"], :"Content-Length"=>["825"], :"Content-Type"=>["application/x-www-form-urlencoded"], :Host=>["smocker-server.test:8080"], :"User-Agent"=>["Ruby"], :"X-Gitlab-Audit-Event-Type"=>["audit_operation"], :"X-Gitlab-Event-Streaming-Token"=>["kJ3qPWw62aDov8MGFwsic8MC"]}, :date=>"2023-07-04T02:31:31.438188613Z"}, :response=>{:status=>200, :body=>"", :date=>"2023-07-04T02:31:31.439690323Z"}}
{:context=>{:mock_id=>"mEkWMxrVgm", :mock_type=>"static"}, :request=>{:path=>"/logs", :method=>"POST", :origin=>"172.19.0.2", :body_string=>"{\"id\":368,\"author_id\":1,\"entity_id\":142,\"entity_type\":\"Group\",\"details\":{\"add\":\"group\",\"author_name\":\"Administrator\",\"target_id\":142,\"target_type\":\"Group\",\"target_details\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e\",\"ip_address\":\"172.19.0.3\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e\"},\"ip_address\":\"172.19.0.3\",\"author_name\":\"Administrator\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e\",\"target_details\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e\",\"created_at\":\"2023-07-04T02:31:33.499Z\",\"target_type\":\"Group\",\"target_id\":142,\"event_type\":\"audit_operation\"}", :body=>{:author_id=>1, :author_name=>"Administrator", :created_at=>"2023-07-04T02:31:33.499Z", :details=>{:add=>"group", :author_name=>"Administrator", :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e", :ip_address=>"172.19.0.3", :target_details=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e", :target_id=>142, :target_type=>"Group"}, :entity_id=>142, :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e", :entity_type=>"Group", :event_type=>"audit_operation", :id=>368, :ip_address=>"172.19.0.3", :target_details=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e", :target_id=>142, :target_type=>"Group"}, :headers=>{:Accept=>["*/*"], :"Accept-Encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], :Connection=>["close"], :"Content-Length"=>["701"], :"Content-Type"=>["application/x-www-form-urlencoded"], :Host=>["smocker-server.test:8080"], :"User-Agent"=>["Ruby"], :"X-Gitlab-Audit-Event-Type"=>["audit_operation"], :"X-Gitlab-Event-Streaming-Token"=>["kJ3qPWw62aDov8MGFwsic8MC"]}, :date=>"2023-07-04T02:31:33.630412906Z"}, :response=>{:status=>200, :body=>"", :date=>"2023-07-04T02:31:33.632678407Z"}}
{:context=>{:mock_id=>"iEkZMbrVR7", :mock_type=>"static"}, :request=>{:path=>"/logs", :method=>"POST", :origin=>"172.19.0.2", :body_string=>"{\"id\":\"9ffbddb8-b230-43a3-9c63-7e39129f5613\",\"author_id\":1,\"entity_id\":66,\"entity_type\":\"Project\",\"details\":{\"author_name\":\"Administrator\",\"author_class\":\"User\",\"target_id\":66,\"target_type\":\"Project\",\"target_details\":\"the_awesome_project-495faa71157223d7\",\"custom_message\":{\"protocol\":\"web\",\"action\":\"git-receive-pack\"},\"ip_address\":\"127.0.0.1\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7\"},\"ip_address\":\"127.0.0.1\",\"author_name\":\"Administrator\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7\",\"target_details\":\"the_awesome_project-495faa71157223d7\",\"created_at\":\"2023-07-04T02:31:34.152Z\",\"target_type\":\"Project\",\"target_id\":66,\"event_type\":\"repository_git_operation\"}", :body=>{:author_id=>1, :author_name=>"Administrator", :created_at=>"2023-07-04T02:31:34.152Z", :details=>{:author_class=>"User", :author_name=>"Administrator", :custom_message=>{:action=>"git-receive-pack", :protocol=>"web"}, :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7", :ip_address=>"127.0.0.1", :target_details=>"the_awesome_project-495faa71157223d7", :target_id=>66, :target_type=>"Project"}, :entity_id=>66, :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7", :entity_type=>"Project", :event_type=>"repository_git_operation", :id=>"9ffbddb8-b230-43a3-9c63-7e39129f5613", :ip_address=>"127.0.0.1", :target_details=>"the_awesome_project-495faa71157223d7", :target_id=>66, :target_type=>"Project"}, :headers=>{:Accept=>["*/*"], :"Accept-Encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], :Connection=>["close"], :"Content-Length"=>["824"], :"Content-Type"=>["application/x-www-form-urlencoded"], :Host=>["smocker-server.test:8080"], :"User-Agent"=>["Ruby"], :"X-Gitlab-Audit-Event-Type"=>["repository_git_operation"], :"X-Gitlab-Event-Streaming-Token"=>["kJ3qPWw62aDov8MGFwsic8MC"]}, :date=>"2023-07-04T02:31:34.252338154Z"}, :response=>{:status=>200, :body=>"", :date=>"2023-07-04T02:31:34.253160414Z"}}
{:context=>{:mock_id=>"mEzWMxrVgV", :mock_type=>"static"}, :request=>{:path=>"/logs", :method=>"POST", :origin=>"172.19.0.2", :body_string=>"{\"id\":370,\"author_id\":1,\"entity_id\":66,\"entity_type\":\"Project\",\"details\":{\"push_access_levels\":[\"Maintainers\"],\"merge_access_levels\":[\"Maintainers\"],\"allow_force_push\":false,\"code_owner_approval_required\":false,\"author_name\":\"Administrator\",\"author_class\":\"User\",\"target_id\":56,\"target_type\":\"ProtectedBranch\",\"target_details\":\"main\",\"custom_message\":\"Added protected branch with [allowed to push: [\\\"Maintainers\\\"], allowed to merge: [\\\"Maintainers\\\"], allow force push: false, code owner approval required: false]\",\"ip_address\":\"172.19.0.3\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7\"},\"ip_address\":\"172.19.0.3\",\"author_name\":\"Administrator\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7\",\"target_details\":\"main\",\"created_at\":\"2023-07-04T02:31:34.554Z\",\"target_type\":\"ProtectedBranch\",\"target_id\":56,\"event_type\":\"protected_branch_created\"}", :body=>{:author_id=>1, :author_name=>"Administrator", :created_at=>"2023-07-04T02:31:34.554Z", :details=>{:allow_force_push=>false, :author_class=>"User", :author_name=>"Administrator", :code_owner_approval_required=>false, :custom_message=>"Added protected branch with [allowed to push: [\"Maintainers\"], allowed to merge: [\"Maintainers\"], allow force push: false, code owner approval required: false]", :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7", :ip_address=>"172.19.0.3", :merge_access_levels=>["Maintainers"], :push_access_levels=>["Maintainers"], :target_details=>"main", :target_id=>56, :target_type=>"ProtectedBranch"}, :entity_id=>66, :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7", :entity_type=>"Project", :event_type=>"protected_branch_created", :id=>370, :ip_address=>"172.19.0.3", :target_details=>"main", :target_id=>56, :target_type=>"ProtectedBranch"}, :headers=>{:Accept=>["*/*"], :"Accept-Encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], :Connection=>["close"], :"Content-Length"=>["999"], :"Content-Type"=>["application/x-www-form-urlencoded"], :Host=>["smocker-server.test:8080"], :"User-Agent"=>["Ruby"], :"X-Gitlab-Audit-Event-Type"=>["protected_branch_created"], :"X-Gitlab-Event-Streaming-Token"=>["kJ3qPWw62aDov8MGFwsic8MC"]}, :date=>"2023-07-04T02:31:34.681104205Z"}, :response=>{:status=>200, :body=>"", :date=>"2023-07-04T02:31:34.682131405Z"}}
{:context=>{:mock_id=>"mPkZGx9VgM", :mock_type=>"static"}, :request=>{:path=>"/logs", :method=>"POST", :origin=>"172.19.0.2", :body_string=>"{\"id\":\"b65cd72c-d021-47a3-b7c2-e349df6589ef\",\"author_id\":1,\"entity_id\":66,\"entity_type\":\"Project\",\"details\":{\"author_name\":\"Administrator\",\"author_class\":\"User\",\"target_id\":66,\"target_type\":\"Project\",\"target_details\":\"the_awesome_project-495faa71157223d7\",\"custom_message\":{\"protocol\":\"ssh\",\"action\":\"git-upload-pack\"},\"ip_address\":\"127.0.0.1\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7\"},\"ip_address\":\"127.0.0.1\",\"author_name\":\"Administrator\",\"entity_path\":\"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7\",\"target_details\":\"the_awesome_project-495faa71157223d7\",\"created_at\":\"2023-07-04T02:31:34.686Z\",\"target_type\":\"Project\",\"target_id\":66,\"event_type\":\"repository_git_operation\"}", :body=>{:author_id=>1, :author_name=>"Administrator", :created_at=>"2023-07-04T02:31:34.686Z", :details=>{:author_class=>"User", :author_name=>"Administrator", :custom_message=>{:action=>"git-upload-pack", :protocol=>"ssh"}, :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7", :ip_address=>"127.0.0.1", :target_details=>"the_awesome_project-495faa71157223d7", :target_id=>66, :target_type=>"Project"}, :entity_id=>66, :entity_path=>"gitlab-qa-sandbox-group-3/qa-test-2023-07-04-02-09-15-f0d1063464ca254e/the_awesome_project-495faa71157223d7", :entity_type=>"Project", :event_type=>"repository_git_operation", :id=>"b65cd72c-d021-47a3-b7c2-e349df6589ef", :ip_address=>"127.0.0.1", :target_details=>"the_awesome_project-495faa71157223d7", :target_id=>66, :target_type=>"Project"}, :headers=>{:Accept=>["*/*"], :"Accept-Encoding"=>["gzip;q=1.0,deflate;q=0.6,identity;q=0.3"], :Connection=>["close"], :"Content-Length"=>["823"], :"Content-Type"=>["application/x-www-form-urlencoded"], :Host=>["smocker-server.test:8080"], :"User-Agent"=>["Ruby"], :"X-Gitlab-Audit-Event-Type"=>["repository_git_operation"], :"X-Gitlab-Event-Streaming-Token"=>["kJ3qPWw62aDov8MGFwsic8MC"]}, :date=>"2023-07-04T02:31:34.845369639Z"}, :response=>{:status=>200, :body=>"", :date=>"2023-07-04T02:31:34.846303391Z"}}
Shared Example Group: "streamed events" called from ./qa/specs/features/ee/api/10_govern/instance_audit_event_streaming_spec.rb:103