Commit 98abf693 authored by Rémy Coutable's avatar Rémy Coutable Committed by Ruben Davila

Merge branch 'fix/import-security-specs' into 'master'

Fix Import/Export security specs

Related https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/1987#note_83855

See merge request !1997
parent 62ba6805
......@@ -15,7 +15,7 @@ feature 'Import/Export - project export integration test', feature: true, js: tr
let(:sensitive_words) { %w[pass secret token key] }
let(:safe_list) do
{
token: [ProjectHook, Ci::Trigger],
token: [ProjectHook, Ci::Trigger, CommitStatus],
key: [Project, Ci::Variable, :yaml_variables]
}
end
......
......@@ -13,6 +13,8 @@ issues:
- user_agent_detail
- moved_to
- events
- merge_requests_closing_issues
- metrics
events:
- author
- project
......@@ -71,6 +73,8 @@ merge_requests:
- merge_request_diffs
- merge_request_diff
- events
- merge_requests_closing_issues
- metrics
merge_request_diff:
- merge_request
pipelines:
......@@ -101,6 +105,10 @@ protected_branches:
- project
- merge_access_levels
- push_access_levels
merge_access_levels:
- protected_branch
push_access_levels:
- protected_branch
project:
- taggings
- base_tags
......
......@@ -214,6 +214,7 @@ CommitStatus:
- when
- yaml_variables
- queued_at
- token
Ci::Variable:
- id
- project_id
......@@ -308,3 +309,15 @@ ProjectFeature:
- builds_access_level
- created_at
- updated_at
ProtectedBranch::MergeAccessLevel:
- id
- protected_branch_id
- access_level
- created_at
- updated_at
ProtectedBranch::PushAccessLevel:
- id
- protected_branch_id
- access_level
- created_at
- updated_at
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment