> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codemod.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow network access

> Configure hostname allowlists for hosted workflows and troubleshoot blocked outbound requests.

Use egress allowlists when a hosted Campaign or Automation workflow needs an external service, such as a private package registry. These settings control hosted job network destinations; they do not grant repository permissions or credentials for the destination.

## Choose the narrowest scope

The effective hosted-workflow allowlist combines built-in destinations with organization, project, and workflow additions. These lists are additive: a narrower scope does not deny a hostname already allowed by another scope. Built-in destinations support services such as Codemod's registry, npm, and GitHub.

* **Organization:** use **Organization Settings → Egress** for destinations shared by all projects and workflows in that organization. Changing this list requires organization-update permission (Admin).
* **Project:** open the Campaign menu's **Egress allowlist** for destinations needed by that project. You need access to the project.
* **Workflow:** workflow-specific domain additions join the same effective policy for that run.

Add only the hosts a job needs. For a one-project service, prefer a project addition rather than granting it organization-wide.

## Add hostnames

Enter one public hostname per line, then save the allowlist:

```text theme={null}
packages.example.com
api.example.com
*.artifacts.example.com
```

Use hostnames, not URLs, paths, ports, IP addresses, or credentials. Wildcards must be explicit: `*.artifacts.example.com` allows its subdomains, but not `artifacts.example.com` itself. Add the base hostname separately if the job needs both. Local/internal hostnames are not valid public-hostname entries.

After saving, verify with a new test run that contacts the intended service. An allowed destination can still reject the request because of missing credentials, TLS configuration, or service permissions.

## Troubleshoot a blocked request

1. Read the workflow logs and identify the actual destination hostname, including any redirected download or artifact host.
2. Confirm the run belongs to the organization and project whose allowlists you edited.
3. Check the exact hostname and wildcard coverage. Do not broaden access to an entire domain family to work around an unrelated authentication error.
4. Save the smallest necessary addition and test a new run. Avoid assuming an already-running job picks up policy edits.

> [!NOTE]
>
> Hosted egress policy is separate from local [JSSG capabilities](https://docs.codemod.com/community/jssg/security.md). A cloud allowlist entry does not grant a local codemod network capability, and local capability approval does not configure hosted organization/project allowlists.

For deployment-specific security guarantees or a destination that cannot be represented by a public hostname, contact your Codemod administrator before running the workflow.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.