lib/fluent/plugin/xray.rb in fluent-plugin-jfrog-siem-2.0.1 vs lib/fluent/plugin/xray.rb in fluent-plugin-jfrog-siem-2.0.2
- old
+ new
@@ -56,10 +56,10 @@
end
def get_violations_detail(xray_violation_detail_url)
response = RestClient::Request.new(
:method => :get,
- :url => xray_violation_detail_url,
+ :url => @jpd_url + xray_violation_detail_url[xray_violation_detail_url.index('/xray/'),xray_violation_detail_url.length],
:user => @username,
:password => @api_key
).execute do |response, request, result|
case response.code
when 200