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
I am trying to list all of the devices per site with associated risk score, and the @nsc.site_device_listing(site[:site_id]) appears to be returning invalid info. It appears that this would be the correct way to retrieve the data. In the example below, the total site risk score should be reflected in the hosts also.
Example Code
sites = @nsc.site_listing || []
sites.each do |site|
ap @nsc.site_device_listing(site[:site_id])
puts(" Site ##{site[:site_id]} '#{site[:name]}' Risk Factor: #{site[:risk_factor]} Risk Score: #{site[:risk_score]}")
end
I am trying to list all of the devices per site with associated risk score, and the @nsc.site_device_listing(site[:site_id]) appears to be returning invalid info. It appears that this would be the correct way to retrieve the data. In the example below, the total site risk score should be reflected in the hosts also.
Example Code
Example Output
Version Info
The text was updated successfully, but these errors were encountered: