Back to Checks
Claude organization provisions members through SCIM
identity_provisioning_mode_is_scim
Service: identitySeverity: high
OfficialVerifiedPrivate
Categories:gen-aiidentity-access
Resource Type:ClaudeOrganizationSettings
Membership is driven by SCIM rather than sign-in alone. In login-only mode membership is whoever manages to sign in, so the identity provider is not the source of truth and leavers are not removed.
Risk
In login-only mode membership is whoever manages to sign in, so the identity provider is not the source of truth and leavers are not removed.
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 identity_provisioning_mode_is_scimRecommendation
Enable directory sync and set the provisioning mode to a SCIM mode.
Remediation
Other
1Enable directory sync and set the provisioning mode to a SCIM mode.
Check Code
from prowler.lib.check.models import Check
from prowler_provider_claude.lib.report import CheckReportClaude
from prowler_provider_claude.services.identity.identity_client import identity_client
SCIM_MODES = {"scim_advanced", "scim_permissive"}
class identity_provisioning_mode_is_scim(Check):
"""Membership is driven by SCIM rather than sign-in alone.
The endpoint reports the enforced mode: a configured SCIM mode is only
reported while directory sync is actually enabled, otherwise login_only.
"""
def execute(self) -> list[CheckReportClaude]:
findings = []
for settings in identity_client.settings:
row = settings.get("sso_provisioning_mode")
if row is None:
continue
report = CheckReportClaude(metadata=self.metadata(), resource=settings)
org = settings.name.removesuffix(" effective settings")
mode = row.value
if mode in SCIM_MODES:
report.status = "PASS"
report.status_extended = (
f"Organization {org} provisions members through SCIM (sso_provisioning_mode "
f"is {mode})."
)
else:
report.status = "FAIL"
report.status_extended = (
f"Organization {org} does not provision members through SCIM "
f"(sso_provisioning_mode is {mode})."
)
findings.append(report)
return findings