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
36b9854d
Commit
36b9854d
authored
Oct 08, 2020
by
Craig Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Since #229522 scanned_resources_count is not used
parent
a7ea824a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
ee/app/models/security/scan.rb
ee/app/models/security/scan.rb
+4
-0
ee/spec/requests/api/graphql/project/pipeline/security_report_summary_spec.rb
.../graphql/project/pipeline/security_report_summary_spec.rb
+0
-1
No files found.
ee/app/models/security/scan.rb
View file @
36b9854d
...
...
@@ -2,8 +2,12 @@
module
Security
class
Scan
<
ApplicationRecord
include
IgnorableColumns
self
.
table_name
=
'security_scans'
ignore_column
:scanned_resources_count
,
remove_with:
'13.7'
,
remove_after:
'2020-12-22'
validates
:build_id
,
presence:
true
validates
:scan_type
,
presence:
true
...
...
ee/spec/requests/api/graphql/project/pipeline/security_report_summary_spec.rb
View file @
36b9854d
...
...
@@ -10,7 +10,6 @@ RSpec.describe 'Query.project(fullPath).pipeline(iid).securityReportSummary' do
before_all
do
create
(
:ci_build
,
:success
,
name:
'dast_job'
,
pipeline:
pipeline
,
project:
project
)
do
|
job
|
create
(
:ee_ci_job_artifact
,
:dast_large_scanned_resources_field
,
job:
job
,
project:
project
)
create
(
:security_scan
,
scan_type:
'dast'
,
scanned_resources_count:
26
,
build:
job
)
end
create
(
:ci_build
,
:success
,
name:
'sast_job'
,
pipeline:
pipeline
,
project:
project
)
do
|
job
|
create
(
:ee_ci_job_artifact
,
:sast
,
job:
job
,
project:
project
)
...
...
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