Module: Nexpose

Defined in:
lib/nexpose/manage.rb,
lib/nexpose.rb,
lib/nexpose/api.rb,
lib/nexpose/dag.rb,
lib/nexpose/tag.rb,
lib/nexpose/ajax.rb,
lib/nexpose/pool.rb,
lib/nexpose/role.rb,
lib/nexpose/scan.rb,
lib/nexpose/silo.rb,
lib/nexpose/site.rb,
lib/nexpose/user.rb,
lib/nexpose/util.rb,
lib/nexpose/vuln.rb,
lib/nexpose/wait.rb,
lib/nexpose/alert.rb,
lib/nexpose/asset.rb,
lib/nexpose/error.rb,
lib/nexpose/group.rb,
lib/nexpose/maint.rb,
lib/nexpose/common.rb,
lib/nexpose/device.rb,
lib/nexpose/engine.rb,
lib/nexpose/filter.rb,
lib/nexpose/report.rb,
lib/nexpose/ticket.rb,
lib/nexpose/console.rb,
lib/nexpose/version.rb,
lib/nexpose/blackout.rb,
lib/nexpose/external.rb,
lib/nexpose/vuln_def.rb,
lib/nexpose/discovery.rb,
lib/nexpose/connection.rb,
lib/nexpose/credential.rb,
lib/nexpose/data_table.rb,
lib/nexpose/api_request.rb,
lib/nexpose/silo_profile.rb,
lib/nexpose/tag/criteria.rb,
lib/nexpose/scan_template.rb,
lib/nexpose/shared_secret.rb,
lib/nexpose/vuln_exception.rb,
lib/nexpose/global_blackout.rb,
lib/nexpose/global_settings.rb,
lib/nexpose/json_serializer.rb,
lib/nexpose/password_policy.rb,
lib/nexpose/report_template.rb,
lib/nexpose/web_credentials.rb,
lib/nexpose/discovery/filter.rb,
lib/nexpose/scheduled_backup.rb,
lib/nexpose/site_credentials.rb,
lib/nexpose/credential_helper.rb,
lib/nexpose/multi_tenant_user.rb,
lib/nexpose/shared_credential.rb,
lib/nexpose/scheduled_maintenance.rb

Overview

here uh what

Defined Under Namespace

Modules: AJAX, Alert, Attributes, CredentialHelper, DataTable, External, HostOrIP, ISO8601, JsonSerializer, Privilege, Sanitize, Scope, Search, TypedAccessor, WebCredentials, XML, XMLUtils Classes: APIError, APIObject, APIRequest, ActiveScan, AdHocSchedule, AdhocReportConfig, Assessment, Asset, AssetGroup, AssetGroupSummary, AssetScan, AuthenticationFailed, Backup, Blackout, CompletedAsset, CompletedScan, Connection, Console, Credential, Criteria, Criterion, DBExport, Delivery, Device, DiscoveredAsset, DiscoveryConnection, DynamicAssetGroup, Email, Engine, EnginePool, EnginePoolSummary, EngineSummary, Exploit, ExportCredential, File, Filter, FilteredAsset, Frequency, GlobalBlackout, GlobalSettings, GroupAccount, HostName, IPRange, IncompleteAsset, MalwareKit, MobileDiscoveryConnection, MobileOffice365DiscoveryConnection, MobilePowershellDiscoveryConnection, MultiTenantUser, MultiTenantUserSummary, Organization, PasswordPolicy, PermissionError, Poller, Reference, ReportConfig, ReportConfigSummary, ReportSummary, ReportTemplate, ReportTemplateSummary, Role, RoleSummary, SMTPAlert, SNMPAlert, Scan, ScanData, ScanFilter, ScanSummary, ScanTemplate, ScanTemplateSummary, Schedule, ScheduledBackup, ScheduledMaintenance, Section, Service, SharedCredential, SharedCredentialSummary, SharedSecret, Silo, SiloAccess, SiloProfile, SiloProfileSummary, SiloSummary, Site, SiteCredentials, SiteSummary, Software, SyslogAlert, Tag, TagSummary, Ticket, TicketSummary, UniqueIdentifier, User, UserAccount, UserAuthenticator, UserSummary, VulnException, VulnFilter, VulnFinding, VulnSynopsis, Vulnerability, VulnerabilityDefinition, VulnerabilityInstance, Wait

Constant Summary collapse

VERSION =

The latest version of the Nexpose gem

'7.2.0'.freeze

Class Method Summary collapse

Class Method Details

Echos the last XML API request and response for the specified object. (Useful for debugging)



121
122
123
124
# File 'lib/nexpose.rb', line 121

def self.print_xml(object)
  puts 'request: ' + object.request_xml.to_s
  puts 'response: ' + object.response_xml.to_s
end