Locate, Run, and Filter Queries
Locate and run a saved query
Web Scanner allows you to access and run previously saved or recent queries.
From the home page, select Web Data, and then select Web Scanner.
Select My Searches.
Click the Saved tab to view all saved queries.
Select the Recent tab to view recently executed queries.
In the Search saved queries box, type the name of the query you are searching for.
Run a query
Click the desired query from the list to execute it.
Results will appear in a collapsible Results table.
Apply filters to a query
You can refine the saved queries using filters to find specific queries quickly.
In the My Searches section, click Filter & Sorting to access and apply filters.
Configure your desired filters and click Apply.
Use the following table to understand the filters available in your saved queries to help you identify a specific saved query:
Filter | Description |
---|---|
Filter by tag | Type the name of the tag to filter saved queries by. |
Filter by type | From the dropdown menu, select whether the query type is Shared or Private. |
Sorting | Select how your saved queries are presented. |
Type | Select if your query type is either: Shared: Available to other users in the organization. Private: Available only to yourself. |
Alphabetic | Select how your saved queries are presented alphabetically: Ascending: Arranged from A-Z. |
Creation date | Select how your saved queries are presented by age: Newest: Start with your most recently saved queries. Oldest: Start with your oldest saved queries. |
Construct and Execute Queries
Web Scanner supports query construction using two methods: Command Line (using SPQL syntax) or Constructor (a UI-based query builder). Queries can target specific data sources, such as webscan
or torscan
, and use field names to define search parameters.
Command Line Query Example
To scan for IPs hosted in Japan within the last 7 days:
scan_date > now-7d AND tld = jp
Breakdown
scan_date
: Field name for the scan date.>
: Operator meaning “is greater than”now-7d
: Value for the last 7 days.AND
: Separator linking conditions.tld
: Field name for the top-level domain.=
: Operator meaning “is equal to”jp
: Value for Japan.
Constructor Query Example
The same query can be built using the Constructor feature:
Navigate to Explore Scan Data > Web Scanner.
Select the Constructor option.
Add expressions:
Expression 1: Field =
scan_date
, Operator =>
, Value =now-7d
.Expression 2: Field =
tld
, Operator ==
, Value =jp
.Link expressions with the AND separator.
Execute the query to retrieve results.
Query Multiple Data Sources
To search across multiple data sources, specify them in square brackets.
domain = "payments*" AND datasource = [webscan, torscan]
This query searches for domains starting with “payments” in both the webscan
and torscan
data sources.
Save Queries
To save a query for future use:
After constructing a query (via Command Line or Constructor), click Save in the UI.
Assign a name and choose the query type (Shared or Private).
Optionally, add tags for easier filtering later.
For more details on data sources and field names, refer to the Understand Field Names article.