Introduction 

The Legend panel is displayed in all scopes and views and provides an interactive list of various different types of information about the objects/nodes in the current view. The view is restyled in 2.17.

≥ 2.20.0

The toggle button for each line on “Object Types” and “Relationships" helps to hide or show the nodes or/and edges on the canvas.

 The sticky notes (annotations) and tags associated to the selected object is displayed under Characteristics (properties panel). 

Advanced properties are displayed under the section "Additional Details".

≥ 2.19.0

By default, the Legend is in "expand mode" with the View tab selected and the Legend panel open, showing information about the objects in the current View:

In ≥ 2.19.0,

  • If you select a node in the canvas then the properties panel of the selected node is opened.
  • If you select a link between the nodes then the link panel of the selected node is opened.
  • If you click on the canvas then the Legends panel is opened.
  • AipId of the node is moved to advanced properties.

≥ 2.17.0

By default, the Legend is in "expand mode" with the View tab selected and the Objects panel open, showing information about the objects in the current View:

Interface


1View / Object / Link tabs

The Legends panel distinguishes between items that are displayed in the View, the specific selected Object and the Link which displays the Properties of a link selected in the view. Click the required tab to switch.

The contents of each tab differs depending on the active tab:

View:

Object:

Link:

1

Collapse

This option collapses the legend to the right. Re-click to display the legend at full size.
3

Sections 

Contains the information either about items in the View, or a specific selected objects, depending on whether View or Object is selected (see above).
4

Search mechanism

This option provides a search mechanism on the item name and is available in:

  • View > Objects
  • View > Tags
  • Object > Tags

In the following example, a search string has been entered to search for a specific object name. Only those items matching the search string are shown in the legend panel and the number of items (the count) is updated:

You can then use the Hide All/Show All toggle to remove from or re-display those matching items in the view. With the matching items shown in the view:

With the matching items hidden from the view:

5

Hide All / Show All

This option allows you to hide/unhide specific items. For example if you want to display only a specific type of object, click Hide All - this will hide all objects from the view:

Now click the specific object type you want to see, for example, Cobol Copybook:

Click to expand

6

Resize

This option allows the legend panel to be resized as required. Click the icon and drag the pointer to the required size.

Sections

View > Objects

Lists items displayed in the current view:

Object Types

Lists all the object types/node types currently visible in the view (available at all levels):

External Objects

External objects are the "third-party" frameworks and libraries present in the view, for example:

Relationships

Relationships are the links between items present in the view. In ≥ 2.14, sub-links (e.g Use > Insert) are also displayed:

Object Identifiers

Highlights all the selected object types/node types of the selected badge type in the current view.

View > Annotations

Displays a list of View and Object annotations that are available in the current view. Clicking them will display the corresponding Annotation - see also User Guide - Using the Annotate / Sticky notes feature.

View > Insights

Functions at All Levels (including Object level) and provides information about Structural Flaws, CloudReady Blockers/Boosters, Containerization Blockers, and Open Source Safety that are present in items in the current view: 

In Imaging ≥ 2.19, you can filter Insights using the categories listed for the given Insight. Filtering the Insight will update the highlighted nodes in the graph accordingly. The filter list shows the unavailable list of filters as disabled and are not clickable. Nodes will be highlighted on selecting Insight lists from right panel. Selected filter is added as Title of the list by grouping them.

What are insights?

ItemDescription
Structural FlawsThese insights are flaws found during a snapshot of your application (i.e. critical violations of rules, displayed in the CAST Engineering Dashboard). These flaws indicate that the object's code violates a specific programming practice and would need refactoring or updating to ensure the flaw is no longer present.
CloudReady Blockers/Boosters and Containerization Blockers

These insights provide information about how well prepared your application is for cloud migration, i.e. moving from an on premises deployment to a cloud scenario, i.e. a list of items or behaviour found in the application that could either hinder a move to the cloud (a blocker) or that already conform to cloud best-practices (a booster). This information is provided by CAST Highlight.

Note that CloudReady Blockers/Boosters and Containerization Blockers can also be accessed via the Welcome Page - see User Guide - GUI - Welcome Page - Cloud Migration information.

Open Source Safety

These insights provide information about vulnerable, out-of-date or obsolete third-party components and can help plan upgrades.  This information is provided by CAST Highlight.

Note that Open Source Safety insights can also be accessed via the Welcome Page - see the Third Party Components tile in User Guide - GUI - Welcome Page - Modernizing Applications.

Prerequisites

To view insights, some prerequisites exist (the most obvious being that the application in question needs to have some "issues" in it). In addition you will need to ensure the following:

Structural Flaws
  • Analyzed with Console ≥ 2.7 Enterprise Edition using the Fast Scan onboarding mode
  • Analyzed with the extension com.castsoftware.qualitystandards  20230206.0.0-funcrel (this extension is Force Installed in CAST Console, but please ensure that you are using the correct release)
  • Analyzed with the extension com.castsoftware.consoleinformation ≥ 1.0.2-funcrel (this extension is Force Installed in CAST Console ≥ 2.8, but please ensure that you are using the correct release)
  • A snapshot
  • A corresponding license for CAST Dashboards 
CloudReady Blockers/Boosters and Containerization Blockers

This information is provided by CAST Highlight, therefore the application must be:

Open Source Safety

This information is provided by CAST Highlight, therefore the application must be:

All typesIn all cases, in order to view Insights, the application must be re-imported to CAST Imaging after an upgrade to ≥ 2.15.

Viewing an insight

Enable the type of insight you would like to view (1) - all objects with that specific type of insight will be highlighted with a flashing animation (2). By default, all the insights are listed (3).

Selecting an object highlights the associated insight/s:

The colour of the flashing animation in the view will reflect the colour of the insight you have chosen, for example, green for CloudReady Boosters:

Expanding an insight will provide more information about it:

  • A warning message is displayed if no insights are present in any of the objects in the view, for example for Structural Flaws:

  • A warning message is displayed if you attempt to access Structural Flaws for an application that does not have a snapshot:

  • A warning message is displayed if the you attempt to access CloudReady Blockers/Boosters or Containerization Blockers for an application that has not been configured with CAST Highlight:

Cloudready Blockers/Boosters and Containerization Blockers: clickable documentation URL

For Cloudready Blockers/Boosters and Containerization Blockers, a clickable URL is available to obtain more information about the insight. This URL will lead to the documentation about the insight to help you understand why the item has been flagged:

Structural Flaws: Plan your Action

A Plan your Action button is available for Structural Flaws:

Clicking this button will open the CAST Engineering Dashboard on the specific flaw so that you can investigate it in more detail:

In ≥ 2.18,

  • You get both Plan your Action and View source code buttons which helps you to view source code before planning your action.

  • Multiple bookmarks are displayed for specific objects based on the selected Structural flaw rules.

  •  If there are no bookmark violation/s, source code is displayed based on the selected object.

Open Source Safety

Identifying the appropriate version to upgrade a vulnerable third-party component can be time-consuming, especially when multiple components have accumulated vulnerabilities due to delayed upgrades. As a technical lead or software engineer, gain insights into potentially vulnerable third-party components used in your application and examine their compatibility with other components. Additionally, plan updates by understanding the release frequency of these components, identifying gaps, and receiving recommendations for the closest or safest version to utilize.

For Open Source Safety insights selecting the insight lists the third-party components which are vulnerable and need an upgrade. Selecting a specific insight provides details about that specific component.

Clicking on any of the listed Open Source Safety component displays all the details associated with it.

View / Objects > Tags

Displays a list of tags associated with any of the objects in the view:

Tags fall into two categories:

  • tags that have been manually added (these are listed under the Tags heading - in the image above, there is one Tag called "TEST") see User Guide - Working with tags.
  • tags that have been automatically added by CAST, i.e. for Status (Added/Deleted/Unchanged) or for Properties (External Libraries) or for Modules/Services

In ≥ 2.18:

  • The custom/user defined tags are listed under Custom Tags section. 
  • The status and properties are defined under a property Tags section.
  • Multiple tag selection is supported to highlight nodes on the canvas.

  • Tags has the following sections: Custom, Property and Badges. You may select and deselect (by clicking the selected tags or clicking on the canvas) multiple tags at once.

Object > Properties

Displays information about an item that has been selected in the view. Full details of the object are only available when working at Object level:

In ≥ 2.19

In ≤ 2.18

When working at other levels, limited detail is provided:


The Properties section can also be accessed:

  • using the keyboard shortcut ALT+P on a selected object.
  • using the right click contextual menu on a selected object:

Configure button

Only available to users with the ADMIN or SUPER ADMIN role.

The Configure option lets you add custom properties to the global search for an object (available at Object level). See Admin Center - Search panel for more information:

In ≥ 2.19

 Additional properties are shown under "Advanced properties" section.

In ≤ 2.18

Third-party and CVE information

This information is generated by CAST Highlight, therefore these tiles are only displayed if the application meets the following requirements:

Specific object property information is displayed for external (i.e. third-party) objects such as Java Classes/Interfaces/JavaScript files etc.:

  • name
  • version
  • age
  • whether any CVEs are active against the component

Associated to

Additional associated information is available at Object level, for the selected object, where applicable:

  • Associated Transaction(s) / Data Call Graph(s) / Module(s) / Service(s) / Subset(s) / Project(s)
  • Saved views

The options are only visible where a corresponding item is available (i.e. if the selected object is not present in an existing Saved view (for example) then the option is not displayed). Selecting the item will navigate directly to that item:

Object > Source Code

Displays an objects source code (only available at Object level and if source code viewing has been configured, see Configure the source code viewer:

Object > Annotations

Displays a list of View and Object annotations that are available in the current view. Clicking them will display the corresponding Annotation - see also User Guide - Using the Annotate / Sticky notes feature.

Object > Tags

Displays a list of tags associated with the currently selected object:

Tags are divided into two categories:

  • tags that have been manually added (these are listed under the Tags heading - in the image above, there is one Tag called "TEST") see User Guide - Working with tags.
  • tags that have been automatically added by CAST, i.e. for Status (Added/Deleted/Unchanged) or for Properties (External Libraries) or for Modules/Services

Link > Link Properties

Available in ≥ 2.18, the Link tab displays the Properties of a link selected in the view:

The following alert messages are displayed based on the incorrect link selection or no link selection.

Single link (direct link)

ItemDescription
SourceDisplays the name of the source node.
TargetDisplays the name of the target node.
Type

Displays the link type, for example:

  • Call
  • Access
  • Inherit
  • etc.
AipLinkType

Displays the link's sub-type, for example:

  • Inherit > Extend
  • Access > Exec
  • Use > Select

Multi-link (References)

ItemDescription
Link / TypeDisplays only "References" indicating that there is one or more links between the nodes (groups of objects).
CountDisplays the total number of links between the source and target nodes.
SourceDisplays the name of the source node.
TargetDisplays the name of the target node.

System of System (SOS) links are visible only while using the Application to Application dependencies scope view. When you are using App to App view, along with other link properties, descriptions for the custom queries are also displayed.

ItemDescription
Link / TypeDisplays only SOS links
SourceDisplays the name of the source node.
TargetDisplays the name of the target node.
DescriptionDisplays the details description about the SOS link.

≤ 2.16

Click here to expand...

By default, the Legend is in "expand mode" with the Objects tab enabled showing information such as object type, any relationships (links) between objects, any tagged objects and any object properties such as external libraries. 

Available options

The Legend includes various options:

1

Collapse

This option collapses the legend - click anywhere in the collapsed legend to expand it to full size.
2

Sub items

 

When the are many items in the legend, the list may exceed the browser size. If this is the case, you can use the drop down to navigate direct to the required section. Clicking the item will move the focus to the required section.
3


Tabs - these tabs function only when an item is selected in the view:

See the information below.

4

Search mechanism

Available from 2.14. This option provides a search mechanism on the item name and is available in the Objects tab and functions for Objects, External Objects, Tags, Relationships, and Applications / Objects (in the Application to Application Dependencies scope). In the following example, a search string has been entered to search for a specific object name. Only those items matching the search string are shown in the legend panel and the number of items (the count) is updated:

You can then use the Hide All/Show All toggle to remove from or re-display those matching items in the view. With the matching items shown in the view:

With the matching items hidden from the view:

5

Hide All / Show All

This option allows you to hide/unhide specific items. For example if you want to display only a specific type of object, click Hide All - this will hide all objects from the view:

Now click the specific object type you want to see, for example, Java Classes:

Click to expand

6

Resize

This option allows the legend panel to be resized as required. Click the icon and drag the pointer to the required size.


Tabs

Objects

The Objects tab lists the following items:

Objects

Lists all the object types/node types currently visible in the view (available at all levels):

External Objects

External objects are the "third-party" frameworks and libraries present in view, for example:

Relationships

Relationships are the links between items present in the view. In ≥ 2.14, sub-links are displayed:

Tags

Lists all the object/node tags present in the view (only available at Objects level). See also User Guide - Working with tags.

Properties

Lists all the different properties types assigned to objects/nodes in the view. For example, objects may be external (third-party), in which case they have an "External Libraries" property:

Properties can also be seen in the Properties tab (see below):

Status

Lists the Status Property (modified/added/unchanged) assigned to objects/nodes in the view. When you click on a Status, all the objects with that status are highlighted.

Clicking on the status tab in the legend will highlight all the matching object/node in the view and also in the graph.

Annotations

  • Available from 2.13
  • Previously known as Documents

Displays a list of View and Object level annotations that are available in the current view. Clicking them will display the corresponding Annotation - see also User Guide - Using the Annotate / Sticky notes feature.

Properties

The Properties panel is available in all Scopes and Views. It can be accessed by right clicking an object and choosing the Properties option in the contextual menu:

The Properties tab can also be accessed using the keyboard shortcut ALT+P on a selected object.

Displays object property information:

Levels 1 - 5:

At Object level, more detailed information is provided:

  • Object Name
  • Object Full Name
  • Object Type
  • etc.

Configure button

The Configure option lets you add custom properties to the global search for an object (available at Object level). See Admin Center - Search panel for more information.

Third-party and CVE information

This information is generated by CAST Highlight, therefore these tiles are only displayed if the application meets the following requirements:

In ≥ 2.14, specific object property information is displayed for external (i.e. third-party) objects such as Java Classes/Interfaces/JavaScript files etc.: name, version and age of the third-party component and also whether any CVEs are active against the component.

Associated to

Available in ≥ 2.6.

Additional associated information is available at Object level (except in the Application scope), for the selected object, where applicable:

  • Associated Transaction(s)
  • Associated Data Call Graph(s)
  • Saved views 

The options are only visible where a corresponding item is available (i.e. if the selected object is not present in an existing Saved view (for example) then the option is not displayed). Selecting the item will navigate directly to that item:

If more than one associated item is available, or the selected object is present in more than one Saved view, the available items are made available for selection:

Source Code

By default, Source Code display is not enabled and must be manually configured. See Configure the source code viewer:

Insights

The Insights tab, available in the Legends panel in ≥ 2.15, functions at All Levels (including Object level) and provides an object's vulnerabilities, Structural flaws, CloudReady blockers and Containerization boosters, etc. Upon selecting a specific type of Insight, the objects in the view that have the selected type of Insight are highlighted. Selecting the highlighted object will then display details about the specific Insight in the object.

In release ≥ 2.17, CloudReadyblockers, Containerization Blockers and CloudRead Boosters functions at All Levels (including Object level).

Note that CloudReady Blockers/Boosters and Containerization Blockers can also be accessed via the Welcome Page - see User Guide - GUI - Welcome Page - Cloud Migration information.

Prerequisites to view Insights of an object:

  • Structural Flaws - these are essentially Critical Violations identified during a snapshot, to view them you need:
    • Analyzed with Console ≥ 2.7 Enterprise Edition using the Fast Scan onboarding mode
    • Analyzed with the extension com.castsoftware.qualitystandards  20230206.0.0-funcrel (this extension is Force Installed in CAST Console, but please ensure that you are using the correct release)
    • Analyzed with the extension com.castsoftware.consoleinformation ≥ 1.0.2-funcrel (this extension is Force Installed in CAST Console ≥ 2.8, but please ensure that you are using the correct release)
    • A snapshot
    • A corresponding license for CAST Dashboards 
  • CloudReady Blockers/Boosters and Containerization Blockers - this information is determined by CAST Highlight, therefore the application must be:

In all cases, the application must be re-imported to CAST Imaging after an upgrade to ≥ 2.15.

In releases ≥ 2.16

  • When you select the Structural Flaws option, you will get Plan your Action button ()  which takes you to the Dashboard from Imaging. 
  • Below warning message is displayed if you attempt to access Structural Flaws for an application that does not have a snapshot.

          

  • Below warning message is displayed if the you attempt to access CloudReady Blockers/Boosters or Containerization Blockers for an application that has not been configured with CAST Highlight

         

  • When you select any flaws/options under Insights (at all levels), the pulse effect is seen only for 5 seconds.  After the pulse effect, the flawed objects are highlighted with the corresponding color of the selected Insights.
    NOTE: In releases ≥ 2.16.0-beta4, the app has to be re-exported to enable this feature.
       

Enable the type of insight you would like to view (1) - all objects with that specific type of insight will be highlighted (2):

Selecting a highlighted object provides details about the specific insight you have selected:

A clickable URL is available to obtain more information about the insight. This URL will lead to the documentation about the insight to help you understand what has been flagged:

Example

For example, when you select Structural Flaws, following screen is displayed with Plan your Action button.

Clicking on Plan your Action takes you to the Dashboard.

Interactivity

All items in the legend are interactive:

Objects / RelationshipsClicking either of these items in the legend will hide/show any matching object/node in the view.
Properties / Tags

Clicking either of these items in the legend will highlight any matching object/node in the view. For example, the tag "TEST" has been clicked and one object is highlighted in the view which has been tagged with this tag:

Properties / Status 

Lets you view the Status Property (modified/added/unchanged). When you click on a Status, all the objects with that status are highlighted.

Clicking on the status tab in the legend will highlight all the matching object/node in the view and also in the graph.

You may use the option "Search for Objects" to search a Status.