[go: up one dir, main page]

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βœ”