Welcome to mirror list, hosted at ThFree Co, Russian Federation.

source.rb « sbom « reports « ci « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 60bf30b65a5eea00fca30f07699068e5db3009ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Gitlab
  module Ci
    module Reports
      module Sbom
        class Source
          attr_reader :source_type, :data, :fingerprint

          def initialize(source = {})
            @source_type = source['type']
            @data = source['data']
            @fingerprint = source['fingerprint']
          end
        end
      end
    end
  end
end