Creating or Editing Packages

When you add a group to a package, all the group’s contents are automatically included. For top level groups (<Resources>/All <Resources>), the package therefore includes all folders that come with ArcSight, which may present a problem if the package is imported in another ArcSight system. If you defined resources directly under the All <Resources> node and you want to add these resources to a package, create a group and add the resources there.

It is also important to note that when you delete a package containing a group, you delete members of the group that were added after the package was created. If it is a top-level group (<Resources>/All <Resources>), you would be deleting all of those resources. Packaging sub groups gives you more flexibility and less risk. Also see Backing Up and Restoring with Packages.

When editing packages, you should consider whether you need to export it before you change it so you have a backup, and possibly export it when you are done, to update or create a new backup.

Tip: Organizing your package contents

Users typically create packages according to resources such as a package for lists, another package for queries, and so on.

You can also consider creating packages according to related resources comprising a specific use case. For example, if you have created rules that act on specific lists, include those resources in the same package.

Where: Navigator > Packages tab

To create or edit a package:

  1. To create a package, right-click a package group and select New Package.

    To edit a package, right-click the package and select Edit Package.

  2. Also refer to the common attribute fields described in Common Resource Attribute Fields.

  3. Click the Resources tab in the Package Editor.

  4. Click the Add drop-down menu to select the resources that this package should contain. You can select groups or individual resources. Check the Children Only box to include resources below the specified resource in the tree. For example, selecting the group /All Session Lists/ArcSight Administration/User and checking Children Only would include only the session list resources in that group, not the group itself.

  5. Check the Only If Referenced box to conditionally include resources if they are referenced by other resources. This is best when used in conjunction with the Children Only attribute, and you are adding a group resource.

  6. To exclude resources from the new package, use the Removed Resources panel in the lower half of the Resources tab.

    • To exclude resources by type, click the Excluded Resource Types tab and select from the list of available types.

    • To exclude specific resources, click the Removed Resources tab, click the Add drop-down menu, then select the resources you want to exclude. This tab also includes a Children Only option, but an If Not Included option instead of an Only if Referenced option.

    Caution: The only way to exclude Asset Category resources from a package is to specify the Asset Categories explicitly using the Removed Resources tab.

    Tip: If you include locked resources or shared system resources, then when uninstalling or deleting a package, you get a message that the package framework has a number of locked resources, and therefore cannot be uninstalled or deleted.

    When that happens you can either unlock the resource and continue or choose to skip the locked resource, in which case it will not be uninstalled or deleted.

  7. Optional: To add information in the Notes tab, refer to Using Notes.

About Locked Packages

You can lock packages after creating them by right-clicking on the Navigator panel and selecting Lock Package. Note that if you send locked packages, these packages cannot be installed in another ESM system.