Commit 7aa42714 authored by Saikat Sarkar's avatar Saikat Sarkar

Make fake aws_api_key obvious

parent ac4588fe
......@@ -171,7 +171,7 @@ FactoryBot.define do
cve: "aws-key.py:fac8c3618ca3c0b55431402635743c0d6884016058f696be4a567c4183c66cfd:AWS",
severity: "Critical",
confidence: "Unknown",
raw_source_code_extract: "AKIALALEMEM35243O345",
raw_source_code_extract: "AKIAIOSFODNN7EXAMPLE",
scanner: { id: "gitleaks", name: "Gitleaks" },
location: { file: "aws-key.py",
commit: { author: "Analyzer", sha: "d874aae969588eb718e1ed18aa0be73ea69b3539" },
......
......@@ -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) { 'AKIALALEMEM35243O567' }
let(:api_key) { 'AKIAIOSFODNN7EXAMPLE' }
let(:identifier_type) { 'gitleaks_rule_id' }
let(:identifier_value) { 'AWS' }
let(:revocation_key_type) { 'gitleaks_rule_id_aws' }
......
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