Search Syntax for Attack Surface Management

The Attack Surface Management (ASM) search syntax operates under a few simple rules:

  • Queries of different keywords are AND'd

    💡

    For example: acme.com port_tcp:80
    Read this as "any Entity with acme.com in the name AND port 80 TCP open"

  • Queries of the same keyword are OR'd

    💡

    For example: acme.com port_tcp:80 port_tcp:443
    Read this as "any Entity with acme.com in the name AND (port 80 TCP OR port 443 TCP open)"

  • For negative queries, use ! (NOT) before the search parameter, or search term

    💡

    For example: type:!uri
    Read this as "any type but NOT uri"

    ℹ️

    The ! (NOT) works in Issues, Entities, and Technologies but does not work with

    • Specific date filters like last_seen_after, last_seen_before, and first_seen_after
    • Collection filters
  • The default search field (when no keyword is specified) is the item's "name" (for each of Entity, Issue, and Technology search)

Search Keywords

When searching on the Issues, Entities, and Technologies pages, you can create sophisticated queries using the keyword search, in addition to regular text searches. Accepted search terms together with their applicability on the Issues, Entities, and Technologies pages are defined below.

Search KeywordPretty Text
(if different than keyword)
InputIssuesEntitiesTechnologies
key: collectionSelect from Your Collections
key: confidenceConfirmed, Potential
key: entity_typeEntity TypeText
key: entity_nameEntity NameText
key: last_seen_afterSeen afterYYYY-MM-DD, last_scan_count_NUMBER (where NUMBER = 1-10)
key: last_seen_beforeSeen beforeYYYY-MM-DD, last_scan_count_NUMBER (where NUMBER = 1-10)
key: first_seen_afterFirst seen afterYYYY-MM-DD, last_scan_count_NUMBER (where NUMBER = 1-10)
key: scopedScopedTrue, False, Both
key: severityCritical/1, High/2, Medium/3, Low/4, Informational/5
key: severity_ltSeverity is less than1 - 5
key: severity_gtSeverity is greater than1 - 5
key: status_newIssuesOpen, Closed
key: statusStatus isopen_triaged, open_in_progress, closed_mitigated, closed_resolved, closed_duplicate, closed_out_of_scope, closed_benign, closed_risk_accepted, closed_false_positive, closed_no_reproduce, closed_tracked_externally
key: typeText
key: nameText
key: tagText
key: countryTwo letter code, ex: FR
key: hiddenTrue, False, Both
key: http_codeText
key: http_authTrue, False
key: http_auth_basicHas basic authTrue, False
key: http_auth_ntlmTrue, False
key: http_titleText
key: http_formsForm detected on URITrue, False
key: technologyText
key: networkText
key: port_tcpText
key: port_udpText
key: issue_count_ltHas issue count less thanNumber
key: issue_ count_gtHas issue count greater thanNumber
key: cpeText
key: labelText
key: cpe_typeCPE Typeapplication, service, hardware, os
key: productText
key: vendorText