Package Alert tab - Packaging alerts - Creating a Manual Remediation


If you know that an alert can be resolved because a missing item is located in another source code package, you can create a manual remediation item that will "tell" the CAST Delivery Manager where the missing items are located. In the same way, missing variables can be manually remediated by defining the variable that is required.

When you next use the Package action, the CAST Delivery Manager Tool will use the remediation item to fix the alert. The alert will then be cleared from the Packaging alerts panel.

Creating a manual remediation for a missing item

You can create a manual remediation for any of the following:

  • Missing project
  • Missing library file
  • Missing resource

Note that it is not possible to create a manual remediation for a missing folder/file. These alerts can be resolved by creating a new package that targets the missing item.

  • Select the alert (1) and then click the add button:

  • A new dialog will be displayed (the example below is for a missing project alert, but the dialog is similar for other alerts):

  • 2: Locate the missing item using the list of discovered items (you can filter the list using the Search box (1)) and select it
  • Now choose (3) whether you want the remediation to be applied to all projects in which the alert was identified, or whether you want it to apply to specific projects only (select the projects in the table using the check box).
  • Click Finish to save the remediation.
  • The remediation will then be displayed in the Any manual remediations to apply for alerts? panel. Next time you run a Package action, the remediation that you created will be taken into account and the alert will be removed from the Packaging alerts panel.
Creating a manual remediation for an Undefined Variable
  • Select the alert (1) and then click the add button:

  • A new dialog will be displayed:

  • Enter the value (1) for the selected variable in the Value field
  • Choose (2) whether you want the value entered in 1 to be applied to all projects in which the undefined variable was identified, or whether you want it to apply to specific projects (select the projects in the table using the check box).
  • Click Finish to save the remediation.
  • The remediation will then be displayed in the Any manual remediations to apply for alerts? panel. Next time you run a Package action, the remediation you created will be taken into account and the alert will be removed from the Packaging alerts panel.

CAST Website