Class: Mdm::HostDetail

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/mdm/host_detail.rb

Overview

Details supplied by Nexpose about a host.

Instance Attribute Summary collapse

Instance Attribute Details

#host_idInteger

The foreign key used to look up #host.

Returns:

  • (Integer)


# File 'app/models/mdm/host_detail.rb', line 17

#nx_console_idInteger

The ID of the Nexpose console.

Returns:

  • (Integer)


# File 'app/models/mdm/host_detail.rb', line 22

#nx_device_idInteger

The ID of the Device in Nexpose.

Returns:

  • (Integer)


# File 'app/models/mdm/host_detail.rb', line 27

#nx_risk_scoreFloat

Risk score assigned by Nexpose. Useful to ordering hosts to determine which host to target first in metasploit.

Returns:

  • (Float)


# File 'app/models/mdm/host_detail.rb', line 32

#nx_scan_templateString

The template used by Nexpose to perform the scan on the site on #host.

Returns:

  • (String)


# File 'app/models/mdm/host_detail.rb', line 37

#nx_site_importanceString

The importance of scanning the site running on #host according to Nexpose.

Returns:

  • (String)


# File 'app/models/mdm/host_detail.rb', line 42

#nx_site_nameString

Name of site running on #host according to Nexpose.

Returns:

  • (String)


# File 'app/models/mdm/host_detail.rb', line 47

#srcString

Returns:

  • (String)


# File 'app/models/mdm/host_detail.rb', line 52