JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.

If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.

If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.

CodeSonar® 9.2p0 CONFIDENTIAL CodeSecure Inc
General

GUI Reference: Warning Search Results

View and refine the results of a search, navigate to relevant warning reports, save a named search.

Warnings in the list of search results can involve any language or languages, provided the warnings satisfy the search constraints.

For the results of searches in other domains, see Search Results.



Important Note: the CodeSonar Web GUI makes extensive use of JavaScript. Make sure JavaScript is enabled in your web browser.

Navigating to

The Search Results page can be reached in any of the following ways.

From Advanced Search: Execute a search in the Warnings tab
From the Simple Search Tool: Execute a search with a domain/scope setting that specifies the warnings domain.
From Chart: Click on a region of a chart (if the chart is by "Number of Warnings ").
From Chart Table: Click on a line in a table (if the table is by "Number of Warnings ").
From Source Listing: Click view all on the warning summary line.
From Warning Report:
(within a browse sequence)
If the Warning Search Results page is an establishing page for a warning browse sequence, each Warning Report page within the sequence will also provide a browse sequence navigation link to the Warning Search Results page.

Page Properties

Output formats CSV, JSON, SARIF, XML (search_results.xsd)
Visibility Filter Applied Visible Warnings
RBAC Permissions Needed
Page AccessANALYSIS_READ
PROJECT_READ
Page Contents/FunctionalityANALYSIS_ANNOTATE
ANALYSIS_OWN_WARNINGS
ANALYSIS_WARNING_EXISTS
G_FINDING_ADD
G_LIST_PROPERTIES
G_LIST_USERS
G_PRIORITY_ADD
G_SIGN_IN
G_STATE_ADD
NAMEDSEARCH_WRITE
WPROCESSOR_EXECUTE
WPROCESSOR_EXISTS
For more information, see Searching: Permissions.

Contents and Usage

The following annotated screenshot shows the various parts of the Warning Search Results page.

annotated screenshot: Search Results page standard header breadcrumbs Page Heading Save This Search link Other Domains suggestions Change Multiple Warnings button table of results Annotation Export link Change Multiple Warnings button standard footer

Standard Header See GUI Reference: Standard Header.
Breadcrumbs Home > [Other_ProjectTree_Ancestors >] Proj_Name > Analysis_Name > Warning Search Results
Home > [Other_ProjectTree_Ancestors >] Proj_Name > Warning Search Results
Home > Warning Search Results

Depending on whether or not the search was restricted to a specific analysis or specific project, where
  • Home links to the GUI Home page.
  • Together with the Home link (corresponding to the root project tree), Other_ProjectTree_Ancestors represents the project tree ancestors of the analyzed project as a >-separated sequence of project tree names. Each name links to the corresponding Project Tree page.
  • Project_Name is the name of the analyzed project, and links to the corresponding Project page.
  • Analysis_Name is the name of the analysis to which the search was restricted (if any), and links to the corresponding Analysis page.
Page Heading Proj_Name : Analysis_Name : Search Results : Warnings
Proj_Name : Search Results : Warnings
Search Results: Warnings

Depending on whether or not the search was restricted to a specific analysis or specific project, where Project_Name and Analysis_Name are as described for the page breadcrumbs.
Save this search link Expands to provide functionality for saving the current search. See Save a Search for full details.

Saved file searches are available (subject to NAMEDSEARCH_EXISTS permissions) in several GUI locations:

  • The Warnings tab of the Advanced Search page provides a list of saved warning searches: select a search from this list to execute it in its original scope (unless that scope no longer exists: see Searching: Saved Search Execution Scope: Warnings ).
  • The Warnings tab of the Saved Searches page provides information about the current set of saved warning searches, and provides deletion functionality. Click a row in the table of searches to execute the corresponding search in its original scope (unless that scope no longer exists: see Searching: Saved Search Execution Scope: Warnings ).
  • The Visible Warnings selector provides a list of saved warning searches: select a search from this list to impose the corresponding constraints on the page contents. The effect of the Visible Warnings selection is independent of the original scope of the search.
'Other Domains' suggestions Shortcut links to execute the same query in different domains.
  • One link is provided to for every domain to which the search query is applicable.
  • If the search is not applicable to any other domains, this section is not included.
Table of results A table describing all warnings that match the search conditions.

The available table columns are as follows. Columns displayed by default are marked with an asterisk (*).

Warning Instance Properties
Warning Group Properties
Warning Class Properties
Warning File Properties
Warning Analysis Properties
Warning Project Properties
Analysis Check Columns

A warning's Priority, State, Finding, and Owner can be edited directly from the warning table:

  1. Hover over the value you want to edit to pop up a menu icon.

    Screenshot fragment: popping up a menu icon

  2. Click the icon to display a menu of the available settings.

    Screenshot fragment: displaying the menu

  3. Select a menu item to update the setting.

    Screenshot fragment: updated setting

Annotation Export link See Importing and Exporting Annotations for full details.
Change Multiple Warnings button Click to access the Change Multiple Warnings functionality. This button is available above and below the Warning search results table.
Standard Footer See GUI Reference: Standard Footer.

Saving a Search

See Searching: Saved Searches: Permissions for details of the permissions required to save a named search.

To save a search:

  1. Click to open the Save form, as in the example below.

    Annotated Screenshot Fragment: Save This Search link, with expansions

  2. To save the search, enter a name in the text box and click Save.

Analysis Check Columns

For queries referring to two or more Analysis IDs, the Warning Search Results table will include an Analysis Check column for every Analysis ID specified. (Such queries can be issued implicitly with the analysis comparison feature, or explicitly using the warning search language.)

Each Analysis Check column corresponds to a specific analysis.

Navigating from

A warning report Click the corresponding line in the result table. The Warning Report will belong to a browse sequence for which the originating Warning Search Results page is the establishing page.

Related Tasks

See also codesonar dump_warnings.py: Download Specified Warnings

 

To report problems with this documentation, please visit https://support.codesecure.com/.