Back to Checks
Claude organization IP allowlist setting matches the documented baseline
organization_ip_allowlist_enabled
Service: organizationSeverity: medium
OfficialVerifiedPrivate
Categories:gen-aiidentity-accesstrust-boundariesinternet-exposed
Resource Type:ClaudeOrganizationSettings
The effective organization settings are evaluated for ip_allowlist_enabled. An IP allowlist confines the organization to networks you control, which contains a stolen session or key.
Risk
An IP allowlist confines the organization to networks you control, which contains a stolen session or key.
Run this check with Prowler
Run in Prowler CloudInstall
pip install --extra-index-url https://__token__:${PROWLER_REGISTRY_DOWNLOAD_API_KEY}@registry.prowler.com/simple/ "prowler-provider-claude[runtime]"Run
prowler claude --checks organization_ip_allowlist_enabledRecommendation
Enable the IP allowlist in organization settings and add the ranges your workforce egresses from.
Remediation
Other
1Enable the IP allowlist in organization settings and add the ranges your workforce egresses from.
Check Code
from prowler.lib.check.models import Check
from prowler_provider_claude.lib.report import CheckReportClaude
from prowler_provider_claude.services.organization.organization_client import (
organization_client,
)
class organization_ip_allowlist_enabled(Check):
"""Claude organization restricts access to an IP allowlist.
An IP allowlist confines the organization to networks you control, which contains a stolen session or key.
Policy-pinned: compared against ``claude_ip_allowlist_expected`` in the Prowler audit config
rather than assumed, so a capability the organization chose to enable is
only reported when it differs from the documented baseline.
"""
def execute(self) -> list[CheckReportClaude]:
expected = organization_client.audit_config.get(
"claude_ip_allowlist_expected", True
)
findings = []
for settings in organization_client.settings:
row = settings.get("ip_allowlist_enabled")
if row is None:
continue
org = settings.name.removesuffix(" effective settings")
state = "enabled" if row.value else "disabled"
report = CheckReportClaude(metadata=self.metadata(), resource=settings)
if row.value == expected:
report.status = "PASS"
report.status_extended = (
f"Organization {org} has the IP allowlist {state}, matching the documented "
f"baseline (ip_allowlist_enabled is {str(row.value).lower()})."
)
else:
report.status = "FAIL"
report.status_extended = (
f"Organization {org} has the IP allowlist {state} but the documented baseline "
f"is {'enabled' if expected else 'disabled'} (ip_allowlist_enabled is "
f"{str(row.value).lower()}). Either change the setting or update "
"claude_ip_allowlist_expected in the Prowler audit config to record the decision."
)
findings.append(report)
return findings