summaryrefslogtreecommitdiff
path: root/app/finders/security/license_compliance_jobs_finder.rb
blob: 0ec428ae4081d96f7196e5163d5a18a8adab369c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

# Security::LicenseScanningJobsFinder
#
# Used to find jobs (builds) that are related to the License Management.
#
# Arguments:
#   params:
#     pipeline:              required, only jobs for the specified pipeline will be found
#     job_types:             required, array of job types that should be returned, defaults to all job types

module Security
  class LicenseComplianceJobsFinder < JobsFinder
    def self.allowed_job_types
      [:license_scanning]
    end
  end
end