Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
94a9eb8f
Commit
94a9eb8f
authored
Mar 09, 2022
by
Michał Zając
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable show_report_validation_warnings by default
Changelog: changed
parent
cc5eeecb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
config/feature_flags/development/show_report_validation_warnings.yml
...ure_flags/development/show_report_validation_warnings.yml
+1
-1
lib/gitlab/ci/parsers/security/common.rb
lib/gitlab/ci/parsers/security/common.rb
+1
-1
No files found.
config/feature_flags/development/show_report_validation_warnings.yml
View file @
94a9eb8f
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/353125
milestone
:
'
14.9'
type
:
development
group
:
group::threat insights
default_enabled
:
fals
e
default_enabled
:
tru
e
lib/gitlab/ci/parsers/security/common.rb
View file @
94a9eb8f
...
...
@@ -43,7 +43,7 @@ module Gitlab
attr_reader
:json_data
,
:report
,
:validate
def
valid?
if
Feature
.
enabled?
(
:show_report_validation_warnings
)
if
Feature
.
enabled?
(
:show_report_validation_warnings
,
default_enabled: :yaml
)
# We want validation to happen regardless of VALIDATE_SCHEMA CI variable
schema_validation_passed
=
schema_validator
.
valid?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment