You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the Nexpose API itself does not provide the site ID, nor is it defined in the XML API 1.2 schema. We'll need another API endpoint for this.
I am expecting to be able to get a site_id on an exception via GEM
Currently the site_id is just nil
assumptions:
asset linking turned off on nexpose
create an exception for a vulnerability on a site
Ruby code:
vuln_except_list = nsc.list_vuln_exceptions(status = 'Approved')
vuln_except_list.each_entry do |vulnEx|
puts vulnEx.site_id
end
Context
Trying to export vulnerability exceptions on a site
Your Environment
ruby 2.3.1
gem 5.1.0
nexpose 6.4.1
Darwin and Ubuntu 14
The text was updated successfully, but these errors were encountered: