Module: Nexpose::Search::Field

Defined in:
lib/nexpose/filter.rb,
lib/nexpose/discovery/filter.rb

Overview

Only these values are accepted for a field value.

Constant Summary collapse

ASSET =

Search for an Asset by name. Valid Operators: IS, IS_NOT, STARTS_WITH, ENDS_WITH, CONTAINS, NOT_CONTAINS

'ASSET'
CVE_ID =

Search for an Asset by CVE ID Valid Operators: IS, IS_NOT, CONTAINS, NOT_CONTAINS

'CVE_ID'
CVSS_ACCESS_COMPLEXITY =

Valid Operators: IS, IS_NOT Valid Values (See Value::AccessComplexity): LOW, MEDIUM, HIGH

'CVSS_ACCESS_COMPLEXITY'
CVSS_ACCESS_VECTOR =

Valid Operators: IS, IS_NOT Valid Values (See Value::AccessVector): LOCAL, ADJACENT, NETWORK

'CVSS_ACCESS_VECTOR'
CVSS_AUTHENTICATION_REQUIRED =

Valid Operators: IS, IS_NOT Valid Values (See Value::AuthenticationRequired): NONE, SINGLE, MULTIPLE

'CVSS_AUTHENTICATION_REQUIRED'
CVSS_AVAILABILITY_IMPACT =

Valid Operators: IS, IS_NOT Valid Values (See Value::CVSSImpact): NONE, PARTIAL, COMPLETE

'CVSS_AVAILABILITY_IMPACT'
CVSS_CONFIDENTIALITY_IMPACT =

Valid Operators: IS, IS_NOT Valid Values (See Value::CVSSImpact): NONE, PARTIAL, COMPLETE

'CVSS_CONFIDENTIALITY_IMPACT'
CVSS_INTEGRITY_IMPACT =

Valid Operators: IS, IS_NOT Valid Values (See Value::CVSSImpact): NONE, PARTIAL, COMPLETE

'CVSS_INTEGRITY_IMPACT'
CVSS_SCORE =

Valid Operators: IS, IS_NOT, IN_RANGE, GREATER_THAN, LESS_THAN Valid Values: Floats from 0.0 to 10.0

'CVSS_SCORE'
HOST_TYPE =

Valid Operators: IN, NOT_IN Valid Values (See Value::HostType): UNKNOWN, VIRTUAL, HYPERVISOR, BARE_METAL

'HOST_TYPE'
IP_ADDRESS_TYPE =

Valid Operators: IN, NOT_IN Valid Values (See Value::IPType): IPv4, IPv6

'IP_ADDRESS_TYPE'
IP_ALT_ADDRESS_TYPE =

Valid Operators: IN Valid Values (See Value::IPType): IPv4, IPv6

'IP_ALT_ADDRESS_TYPE'
IP_ADDRESS =

Valid Operators: IS, IS_NOT, IN_RANGE, NOT_IN_RANGE, IN, NOT_IN, LIKE, NOT_LIKE

'IP_RANGE'
IP_RANGE =
IP_ADDRESS
OPEN_PORT =

Valid Operators: IS, IS_NOT, IN_RANGE Valid Values: Integers from 1 to 65535

'OPEN_PORT'
OS =

Valid Operators: CONTAINS, NOT_CONTAINS, IS_EMPTY, IS_NOT_EMPTY

'OS'
PCI_COMPLIANCE_STATUS =

Valid Operators: IS Valid Values (See Value::PCICompliance): PASS, FAIL

'PCI_COMPLIANCE_STATUS'
RISK_SCORE =

Valid Operators: IS, IS_NOT, IN_RANGE, GREATER_THAN, LESS_THAN

'RISK_SCORE'
SCAN_DATE =

Search based on the last scan date of an asset. Valid Operators: ON_OR_BEFORE, ON_OR_AFTER, BETWEEN, EARLIER_THAN, WITHIN_THE_LAST Valid Values: Use FixNum of days for EARLIER_THAN and WITHIN_THE_LAST.

See Value::ScanDate::FORMAT for how to generate String
values for all other arguments.
'SCAN_DATE'
SERVICE =

Valid Operators: CONTAINS, NOT_CONTAINS

'SERVICE'
SITE_ID =

Search based on the Site ID of an asset. (Note that underlying search used Site ID, despite ‘site name’ value.) Valid Operators: IN, NOT_IN Valid Values: FixNum Site ID of the site.

'SITE_NAME'
SOFTWARE =

Valid Operators: CONTAINS, NOT_CONTAINS

'SOFTWARE'
USER_ADDED_CRITICALITY_LEVEL =

Valid Operators: IS, IS_NOT, GREATER_THAN, LESS_THAN, IS_APPLIED, IS_NOT_APPLIED Valid Values: VERY_HIGH, HIGH, NORMAL, LOW, VERY_LOW

'TAG_CRITICALITY'
USER_ADDED_CUSTOM_TAG =

Valid Operators: IS, IS_NOT, STARTS_WITH, ENDS_WITH, IS_APPLIED,

IS_NOT_APPLIED, CONTAINS, NOT_CONTAINS
'TAG'
USER_ADDED_TAG_LOCATION =

Valid Operators: IS, IS_NOT, STARTS_WITH, ENDS_WITH, IS_APPLIED,

IS_NOT_APPLIED, CONTAINS, NOT_CONTAINS
'TAG_LOCATION'
USER_ADDED_TAG_OWNER =

Valid Operators: IS, IS_NOT, STARTS_WITH, ENDS_WITH, IS_APPLIED,

IS_NOT_APPLIED, CONTAINS, NOT_CONTAINS
'TAG_OWNER'
VALIDATED_VULNERABILITIES =

Valid Operators: ARE Valid Values: PRESENT, NOT_PRESENT

'VULNERABILITY_VALIDATED_STATUS'
VULNERABILITY =

Search against vulnerability titles that an asset contains. Valid Operators: CONTAINS, NOT_CONTAINS

'VULNERABILITY'
VULNERABILITY_EXPOSURES =

Valid Operators: INCLUDE, DO_NOT_INCLUDE Valid Values (See Value::VulnerabilityExposure): MALWARE, METASPLOIT, DATABASE

'VULNERABILITY_EXPOSURES'
VULN_CATEGORY =

Search by VULNERABILITY CATEGORY Valid Operators: IS, IS_NOT, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH

'VULN_CATEGORY'
CLUSTER =

vSphere Filters ###### Valid Operators: IS, IS_NOT, CONTAINS, NOT_CONTAINS, STARTS_WITH

'CLUSTER'
DATACENTER =

Valid Operators: IS, IS_NOT

'DATACENTER'
GUEST_OS_FAMILY =

Valid Operators: CONTAINS, NOT_CONTAINS

'GUEST_OS_FAMILY'
IP_ADDRESS_RANGE =

Valid Operators: IN, NOT_IN

'IP_ADDRESS'
POWER_STATE =

Valid Operators: IN, NOT_IN Valid Values (See Value::PowerState): ON, OFF, SUSPENDED

'POWER_STATE'
RESOURCE_POOL_PATH =

Valid Operators: CONTAINS, NOT_CONTAINS

'RESOURCE_POOL_PATH'
VIRTUAL_MACHINE_NAME =

Valid Operators: IS, IS_NOT, CONTAINS, NOT_CONTAINS, STARTS_WITH

'VM'
HOST =

valid Operators: IS, IS_NOT, CONTAINS, NOT_CONTAINS, STARTS_WITH

'HOST_NAME'
AVAILABILITY_ZONE =

AWS Filters ###### Valid Operators: CONTAINS, NOT_CONTAINS

'AVAILABILITY_ZONE'
INSTANCE_ID =

Valid Operators: CONTAINS, NOT_CONTAINS

'INSTANCE_ID'
INSTANCE_NAME =

Valid Operators: IS, IS_NOT, CONTAINS, NOT_CONTAINS, STARTS_WITH

'INSTANCE_NAME'
INSTANCE_STATE =

Valid Operators: IN, NOT_IN

'INSTANCE_STATE'
INSTANCE_TYPE =

Valid Operators: IN, NOT_IN

'INSTANCE_TYPE'
REGION =

Valid Operators: IN, NOT_IN

'REGION'
OPERATING_SYSTEM =

Mobile or Active sync Filters ###### Valid Operators: CONTAINS, NOT_CONTAINS

'DEVICE_OPERATING_SYSTEM'
USER =

Valid Operators: IS, IS_NOT, CONTAINS, NOT_CONTAINS, STARTS_WITH

'DEVICE_USER_DISPLAY_NAME'