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
7aa42714
Commit
7aa42714
authored
Nov 23, 2020
by
Saikat Sarkar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make fake aws_api_key obvious
parent
ac4588fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/spec/factories/vulnerabilities/findings.rb
ee/spec/factories/vulnerabilities/findings.rb
+1
-1
ee/spec/workers/scan_security_report_secrets_worker_spec.rb
ee/spec/workers/scan_security_report_secrets_worker_spec.rb
+1
-1
No files found.
ee/spec/factories/vulnerabilities/findings.rb
View file @
7aa42714
...
...
@@ -171,7 +171,7 @@ FactoryBot.define do
cve:
"aws-key.py:fac8c3618ca3c0b55431402635743c0d6884016058f696be4a567c4183c66cfd:AWS"
,
severity:
"Critical"
,
confidence:
"Unknown"
,
raw_source_code_extract:
"AKIA
LALEMEM35243O345
"
,
raw_source_code_extract:
"AKIA
IOSFODNN7EXAMPLE
"
,
scanner:
{
id:
"gitleaks"
,
name:
"Gitleaks"
},
location:
{
file:
"aws-key.py"
,
commit:
{
author:
"Analyzer"
,
sha:
"d874aae969588eb718e1ed18aa0be73ea69b3539"
},
...
...
ee/spec/workers/scan_security_report_secrets_worker_spec.rb
View file @
7aa42714
...
...
@@ -8,7 +8,7 @@ RSpec.describe ScanSecurityReportSecretsWorker do
let
(
:secret_detection_build
)
{
create
(
:ci_build
,
:secret_detection
,
pipeline:
pipeline
)
}
let
(
:file
)
{
'aws-key1.py'
}
let
(
:api_key
)
{
'AKIA
LALEMEM35243O567
'
}
let
(
:api_key
)
{
'AKIA
IOSFODNN7EXAMPLE
'
}
let
(
:identifier_type
)
{
'gitleaks_rule_id'
}
let
(
:identifier_value
)
{
'AWS'
}
let
(
:revocation_key_type
)
{
'gitleaks_rule_id_aws'
}
...
...
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