Skip to content

Commit

Permalink
Fix intigriti again
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiyt committed Oct 8, 2024
1 parent eef16c2 commit 929754c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bounty-targets/intigriti.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def scan
return @scan_results if instance_variable_defined?(:@scan_results)

@scan_results = directory_index.select do |program|
program[:confidentiality_level] == 'public' && program[:status] == 'open' && program[:tacRequired] != true
program[:confidentiality_level] == 'public' && program[:status] == 'open' && program[:tacRequired] != true && program[:twoFactorRequired] != true
end.map do |program|
program.merge(program_scopes(program))
end.sort_by do |program|
Expand Down Expand Up @@ -62,6 +62,7 @@ def directory_index
status: STATUSES[program['status']],
confidentiality_level: CONFIDENTIALITY_LEVELS[program['confidentialityLevel']],
tacRequired: program['tacRequired'],
twoFactorRequired: program['twoFactorRequired'],
min_bounty: program['minBounty'],
max_bounty: program['maxBounty']
}
Expand Down

0 comments on commit 929754c

Please sign in to comment.