About pub and xpb
Although you can run any workspace or runset from the command line, it is a best practice to run only a published runset or workspace as your production run.
When you publish a set of triggers from a workspace or a runset, Detect takes the set of triggers and does two things.
*
It creates a read-only production workspace named pub, which overwrites any existing pub workspace. If you publish a runset, all of the triggers you selected for the runset are included in pub. There can only be one published workspace. You can view this workspace in the Workspace area of Detect, but you cannot edit it. This provides enhanced control of the data resulting from the run.
*