Audit CI artifact download
- Create a streamed audit event when a user downloads a job's artifcat. - Refs: https://gitlab.com/gitlab-org/gitlab/-/issues/250663 https://gitlab.com/gitlab-org/gitlab/-/merge_requests/129608#note_1581228664 https://gitlab.com/gitlab-org/gitlab/-/merge_requests/129608#note_1581228680 https://gitlab.com/gitlab-org/gitlab/-/merge_requests/129608#note_1581228683 https://gitlab.com/gitlab-org/gitlab/-/jobs/5381000292 https://gitlab.com/gitlab-org/gitlab/-/jobs/5384247349 https://gitlab.com/gitlab-org/gitlab/-/merge_requests/129608#note_1631594158 https://gitlab.com/gitlab-org/gitlab/-/merge_requests/129608#note_1631596913 Changelog: added EE: true
显示
- app/controllers/projects/artifacts_controller.rb 8 个添加, 0 个删除app/controllers/projects/artifacts_controller.rb
- doc/administration/audit_event_streaming/audit_event_types.md 6 个添加, 0 个删除...administration/audit_event_streaming/audit_event_types.md
- ee/app/controllers/ee/projects/artifacts_controller.rb 23 个添加, 0 个删除ee/app/controllers/ee/projects/artifacts_controller.rb
- ee/config/audit_events/types/job_artifact_downloaded.yml 9 个添加, 0 个删除ee/config/audit_events/types/job_artifact_downloaded.yml
- ee/lib/audit/ci/artifact_download_auditor.rb 70 个添加, 0 个删除ee/lib/audit/ci/artifact_download_auditor.rb
- ee/lib/ee/api/ci/helpers/runner.rb 11 个添加, 0 个删除ee/lib/ee/api/ci/helpers/runner.rb
- ee/lib/ee/api/ci/job_artifacts.rb 11 个添加, 0 个删除ee/lib/ee/api/ci/job_artifacts.rb
- ee/spec/features/projects/artifacts/user_downloads_artifacts_spec.rb 59 个添加, 0 个删除...tures/projects/artifacts/user_downloads_artifacts_spec.rb
- ee/spec/lib/audit/ci/artifact_download_auditor_spec.rb 55 个添加, 0 个删除ee/spec/lib/audit/ci/artifact_download_auditor_spec.rb
- ee/spec/lib/ee/api/helpers_spec.rb 1 个添加, 1 个删除ee/spec/lib/ee/api/helpers_spec.rb
- ee/spec/requests/api/ci/job_artifacts_spec.rb 50 个添加, 0 个删除ee/spec/requests/api/ci/job_artifacts_spec.rb
- ee/spec/requests/api/ci/runner_spec.rb 15 个添加, 1 个删除ee/spec/requests/api/ci/runner_spec.rb
- lib/api/ci/helpers/runner.rb 4 个添加, 0 个删除lib/api/ci/helpers/runner.rb
- lib/api/ci/job_artifacts.rb 4 个添加, 2 个删除lib/api/ci/job_artifacts.rb
- lib/api/ci/runner.rb 1 个添加, 0 个删除lib/api/ci/runner.rb
- spec/controllers/projects/artifacts_controller_spec.rb 10 个添加, 5 个删除spec/controllers/projects/artifacts_controller_spec.rb
- spec/lib/api/ci/helpers/runner_spec.rb 1 个添加, 1 个删除spec/lib/api/ci/helpers/runner_spec.rb
加载中
想要评论请 注册 或 登录