Promoting an agent

Promote a published agent in the Cloudera Agent Studio catalog from the user scope to the public scope to make it available to other users.

Each agent in the catalog has a scope. The following are the available agent scopes:

  • User - The agent belongs to you. A draft always has this scope.
  • Public - The agent is shared with other users.

When you publish a draft, the scope of the new version is Public if a published agent with the same name already has the Public scope. Otherwise, the scope is User.

Promoting an agent is one-way and does not create a new version. You cannot change a version from Public back to User, and the scope of other versions remains unchanged.

  • Make sure that you authored the agent. Only the creator of a version can promote it. The Authored by column displays the creator.
  • Publish the agent. For more information, see Saving drafts and publishing an agent to the catalog.
  • Make sure that the scope of the version is User. The Promote scope menu item does not appear for a version that has the Public scope.
  1. Launch the Cloudera Agent Studio console.
  2. In the left navigation pane, click Assets > Agent Catalog.
    The Agents page is displayed.
  3. In the row of the published version with the User scope, click the Actions menu.
  4. Click Promote scope.
    A confirmation message is displayed when the scope updates. If the promotion fails, an error message is displayed.
  5. In the Scope column, check the row of the version.
    The row displays the scope as Public.

The selected version has the Public scope.

Agent Studio records the change as the artifact.scope_promote audit event. For more information, see Audit events.