Skip to content

Rename the supply-chain firewall to "import policy gate" everywhere: module, CLI, config keys, Action, output keys, docs (no alias) #8623

Closed

Description

@squid-protocol

Part of #8427. Owner decision 2026-11-18: a full rename, no alias. Almost nobody uses the tool yet, so this is the cheapest time to change the name everywhere.

The tool gates the repository's own imports against block/allow lists plus one secrets-risk score. It does not read installed dependencies or install scripts, so "supply-chain firewall" overstates it. New name: import policy gate. No behaviour change and no new checks.

Rename everywhere (about 71 files on main)

  • Module and CLI: gitgalaxy/tools/supply_chain_security/supply_chain_firewall.py → import_policy_gate.py; console script supply-chain-firewall → import-policy-gate (pyproject entry point); functions and classes (run_firewall_audit, _FIREWALL_*, ...) and the CLI banner ("SUPPLY CHAIN FIREWALL") use the new name.
  • Config keys with the firewall name: FIREWALL_NETWORK_WEIGHTING, FIREWALL_RISK_MAP, FIREWALL_BLOCK_THRESHOLD, FIREWALL_RISK_INDEXES → IMPORT_GATE_* (in gitgalaxy/standards/ and .galaxyscope.yaml handling). Keys without the name (STRICT_IMPORT_MODE, APPROVED_IMPORTS, BLACKLISTED_IMPORTS) stay.
  • Scan output: ecosystem_audits.firewall → ecosystem_audits.import_policy_gate; regenerate the affected goldens (golden_master_audit, golden_master_zero_dep_audit) with the CI-pinned toolchain.
  • GitHub Action: tool: supply-chain-firewall → tool: import-policy-gate, plus the workflows that reference it (standing workflow grant; not shepherd-*.yml).
  • Tests: rename test_supply_chain_firewall.py and its references.
  • Docs: wiki 04-03 and the cookbook page renamed (04-03-import-policy-gate.md, cookbook/enforce-import-policy-gate.md), mkdocs nav, every link, gitgalaxy/tools/supply_chain_security/README.md, the security claims inventory rows.
  • One CHANGELOG / release-notes line stating the rename (old command and keys removed).

Out of scope: dev_agent_firewall (a different feature), the supply_chain_security/ package directory (it also holds Vault Sentinel and X-Ray).

Slices

  1. Code, config keys, CLI, Action, workflows, tests and regenerated goldens in ONE PR: an atomic rename, so the PR body carries File-cap exception: atomic rename of the supply-chain firewall to import policy gate (#8623).
  2. Docs: page renames, nav, links, inventory rows.

Done when

git grep -i "supply.chain.firewall\|supply_chain_firewall\|FIREWALL_" on main finds only the CHANGELOG line and dev_agent_firewall, and every gate passes.

Activity

  1. added
    documentation
    appsec
    scope:infra
    on Nov 18, 2026
  2. changed the title [-]Rename the supply-chain firewall to "import policy gate" (keep the old command as an alias), and freeze its features[/-] [+]Rename the supply-chain firewall to "import policy gate" everywhere: module, CLI, config keys, Action, output keys, docs (no alias)[/+] on Nov 18, 2026
  3. squid-protocol commented on Nov 18, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-11-18T22:48Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  4. squid-protocol commented on Nov 18, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8623-20261118T2025Z (host nyx) ended without a PR. requeued with file-cap exception grant

  5. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    Both slices merged (#8633 code, #8638 docs). On main the old name appears only in the CHANGELOG line; acceptance met.

  6. squid-protocol commented on Nov 19, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 8623-20261119T0005Z (host nyx) ended without a PR. PR #8638 merged with stated file-cap exception (mechanical rename)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appsecclaim:nyxdocumentationpriority: mediumscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions