Commit 11753075 authored by Alan (Maciej) Paruszewski's avatar Alan (Maciej) Paruszewski Committed by James Fargher

Add vendor to scanner entity in Vulnerability Findings API

parent eaea6a68
......@@ -3,4 +3,5 @@
class Vulnerabilities::ScannerEntity < Grape::Entity
expose :external_id
expose :name
expose :vendor
end
---
title: Expose Vendor in Scanner in Vulnerability Findings API
merge_request: 36184
author:
type: added
......@@ -13,7 +13,7 @@ RSpec.describe Vulnerabilities::ScannerEntity do
subject { entity.as_json }
it 'contains required fields' do
expect(subject).to include(:name, :external_id)
expect(subject).to include(:name, :external_id, :vendor)
end
end
end
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