Back to Checks
Prowlerprowler-provider-claude
Claude organization artifact access to connectors setting matches the documented baseline
connector_artifact_connectors_matches_baseline
Service: connectorSeverity: medium
OfficialVerifiedPrivate
Categories:software-supply-chaingen-ai
Resource Type:ClaudeOrganizationSettings
The effective organization settings are evaluated for artifact_connectors_enabled. An artifact that can call connectors turns generated code into a client for your internal systems.
Risk
An artifact that can call connectors turns generated code into a client for your internal systems.
Run this check with Prowler
Run in Prowler CloudRun
prowler claude --checks connector_artifact_connectors_matches_baselineRecommendation
Disable artifact connector access, or record the decision to allow it in the audit config.
Remediation
Other
1Disable artifact connector access, or record the decision to allow it in the audit config.
Check Code
from prowler.lib.check.models import Check
from prowler_provider_claude.lib.report import CheckReportClaude
from prowler_provider_claude.services.connector.connector_client import (
connector_client,
)
class connector_artifact_connectors_matches_baseline(Check):
"""Artifacts reaching connectors matches the documented baseline.
An artifact that can call connectors turns generated code into a client for your internal systems.
Policy-pinned: compared against ``claude_artifact_connectors_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 = connector_client.audit_config.get(
"claude_artifact_connectors_expected", False
)
findings = []
for settings in connector_client.settings:
row = settings.get("artifact_connectors_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 artifact access to connectors {state}, matching the documented "
f"baseline (artifact_connectors_enabled is {str(row.value).lower()})."
)
else:
report.status = "FAIL"
report.status_extended = (
f"Organization {org} has artifact access to connectors {state} but the documented baseline "
f"is {'enabled' if expected else 'disabled'} (artifact_connectors_enabled is "
f"{str(row.value).lower()}). Either change the setting or update "
"claude_artifact_connectors_expected in the Prowler audit config to record the decision."
)
findings.append(report)
return findings