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

Task: Delete Multiple Projects or Project Trees (or both)

Deleting a project from the hub removes all the information associated with the project:

Similarly, deleting a project tree will recursively delete all the projects and project trees for which that project tree is an ancestor, as well as deleting the project tree's summary information.

 

Because deletion removes all this information, it is generally not recommended. Exceptions are the following cases.

This task describes the method for deleting one or more projects or project trees that have the same parent project tree. If you only have one project or project tree to delete, you may prefer to use the method described in Task: Delete a Single Project or Task: Delete a Single Project Tree.



Permissions Required

Deleting projects and project trees from the hub requires the following permissions.

Element Deleted Permissions Required Other Notes
project tree T PTREE_DELETE T
PTREE_DELETE S for all project trees S in the subtree under T
PROJECT_DELETE P for all projects P in the subtree under T
ANALYSIS_DELETE A for all analyses A in the subtree under T
All project trees, projects, and analyses in the subtree under T will be deleted from the hub when you delete T.
project P PROJECT_DELETE P
ANALYSIS_DELETE A for all analyses A of P
All analyses of P will be deleted from the hub when you delete P.

Delete Projects/Project Trees

Follow these steps to remove all information related to one or more projects or project trees (or a combination) that have the same parent project tree.
(Note that the Remove Projects button is also available, with the same behavior, on the Project Search Results and Home pages.)

  1. View the Project Tree page for the parent project tree.
  2. Click the Remove Projects button under the table of projects and project trees. The page will expand to provide more functionality, as shown below.

    screenshot fragment: expansion after clicking Remove Projects

    Table rows The table contents will update to show
    • only those projects for which you have PROJECT_DELETE permission, and
    • only those project trees for which you have PTREE_DELETE permission.
    Note that these are only a subset of the permission requirements for deletion: the full set of permissions will be checked before each deletion takes place.

    If there are no items to display, CodeSonar will display a message instead of the table.
    Note that table contents are still affected by the Visible Projects setting: you may need to change this setting in order to see the projects you want to delete.

    Checkboxes The table now includes a column of checkboxes. Click in a checkbox to select the corresponding project or project tree, click again to deselect.
    Check/Uncheck Buttons
    Check All Click to select all projects and project trees in the table (including those on other pages of a paged table).
    Uncheck All Click to unselect all projects and project trees in the table (including those on other pages of a paged table).
    Check These N Click to select all projects and project trees on the current page of the table. The number N corresponds to the number of projects on the current page. (Only present if table has multiple pages.)
    Uncheck These N Click to unselect all projects on the current page of the table. The number N corresponds to the number of projects on the current page. (Only present if table has multiple pages.)
  3. Use the checkboxes to select the projects and project trees that you want to remove.
  4. Click the Remove Selected Projects button to remove the projects and project trees you have selected.

    CodeSonar will print progress messages as it removes the projects and project trees. When it has finished, there will be a confirmation message for each item that has been removed, along with a Continue link.

  5. Click Continue to return to the Home or Project Tree page.

Links

 

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