For the complete documentation index, see llms.txt. This page is also available as Markdown.

Allow public access to pipeline executions

Enable public access to pipeline executions so you can share execution URLs without requiring users to sign in to Harness.

You can enable public access to pipeline executions, allowing you to share execution URLs with users who do not have Harness accounts. When you enable this feature, pipeline executions for pipelines marked for public view become accessible without requiring sign-in to Harness.

  • When you mark a pipeline for public view, console logs for all steps in the pipeline are also publicly accessible.

  • This feature requires the PL_ALLOW_TO_SET_PUBLIC_ACCESS feature flag. Contact Harness Support to enable it.


What you will learn from this topic


Before you begin

  • Harness account admin access: You need account administrator permissions to enable public access at the account level. Go to RBAC in Harness to understand role-based access control.

  • Pipeline edit permissions: You need Create/Edit permission on Pipelines to mark pipelines for public view. To get this permission, an administrator must assign you a role that includes it. Go to Manage roles to configure role assignments.

  • Feature flag enabled: Ensure the PL_ALLOW_TO_SET_PUBLIC_ACCESS feature flag is enabled for your account.


Security considerations

Before enabling public access to pipeline executions, consider the following security implications:

  • Console logs are public: All console logs for steps in public pipelines are accessible without authentication. Ensure logs do not contain sensitive information such as credentials, API keys, or proprietary data.

  • Execution details are visible: Pipeline execution details, including input/output variables, stage information, and execution metadata, are visible to anyone with the execution URL.

  • No access control: Public executions bypass Role-Based Access Control (RBAC). Anyone with the execution URL can view the execution details.

  • Cannot be revoked individually: Once an execution is public, you cannot revoke access to individual execution URLs. You must disable public access for the entire pipeline or account.


Enable public access to resources

Perform the following steps to enable public access to resources at the account level:

  1. In your Harness account, navigate to Account Settings.

  2. Select Authentication.

  3. Enable the Allow public resources toggle.

  4. In the confirmation dialog, select Enable.

Public access is now enabled at the account level. You can now mark individual pipelines for public view.


Enable pipelines for public view

After enabling public access at the account level, perform the following steps to mark individual pipelines for public view:

  1. In Harness, navigate to your pipeline.

  2. Select Advanced Options.

  3. Enable Mark this pipeline for public view.

  4. Select Save.

All future executions of this pipeline will be publicly accessible. Anyone with the execution URL can view execution details and console logs without signing in to Harness.


Next steps

Last updated

Was this helpful?