Advanced (अपडेट: 19/7/2026)

Claude Code से मेडिकल वेबसाइट के GCP IAM की जांच

मेडिकल वेबसाइट के GCP IAM, लॉग, service accounts और patient data boundaries के लिए चेकलिस्ट।

Claude Code से मेडिकल वेबसाइट के GCP IAM की जांच

एक मेडिकल वेबसाइट ऊपर से साधारण लग सकती है, लेकिन permission chain अक्सर उलझी रहती है। Inquiry form नाम, फोन, consultation note और preferred date को Cloud Run, email, logs, CSV और vendors तक भेजता है।

यह लेख दिखाता है कि Claude Code से GCP IAM inventory कैसे बनाई जाए, बिना real patient data agent को दिए। लक्ष्य flashy architecture नहीं है; लक्ष्य boundary बनाना है कि कौन क्या देखेगा, क्या बदलेगा, और कहाँ human approval चाहिए।

मुख्य बातें

  • Map forms, logs, secrets, CSV exports, and vendors before changing IAM.

  • Let Claude Code prepare inventory tables, not legal or medical conclusions.

  • Split read-only review, staging work, approval-gated changes, and production deploy.

  • Use official references for IAM, service accounts, audit logs, Data Access logs, Sensitive Data Protection, and medical privacy guidance.

  • Send readers to training because this needs clinic-specific review.

आम गलती

Medical website की permission review role names से शुरू नहीं होती। यह patient-facing page से शुरू होती है: inquiry form, booking system, notification email, logs, CSV, backup, ad report और vendor scope। Claude Code config और code पढ़कर table, diff, risk list और checklist बना सकता है। इंसान privacy, contract, clinic rule, patient response और publishing approval तय करता है।

Official references: Use IAM securely, service account best practices, Cloud Audit Logs, Data Access audit logs, Sensitive Data Protection, and medical care privacy guidance.

Form से उल्टा permission देखना

Medical website की permission review role names से शुरू नहीं होती। यह patient-facing page से शुरू होती है: inquiry form, booking system, notification email, logs, CSV, backup, ad report और vendor scope। Claude Code config और code पढ़कर table, diff, risk list और checklist बना सकता है। इंसान privacy, contract, clinic rule, patient response और publishing approval तय करता है।

| Area | Inventory | Human review |

| --- | --- | --- |

| Form | fields, destination, confirmation | does it ask too much |

| Runtime | service account, env vars | does patient data reach logs |

| Logs | viewers, retention, data access | who needs read evidence |

| Secrets | API keys, mail credentials | are secrets shared safely |

| CSV | fields, viewers, exports | can vendors see patient data |

Claude Code क्या करे और इंसान क्या तय करे

Medical website की permission review role names से शुरू नहीं होती। यह patient-facing page से शुरू होती है: inquiry form, booking system, notification email, logs, CSV, backup, ad report और vendor scope। Claude Code config और code पढ़कर table, diff, risk list और checklist बना सकता है। इंसान privacy, contract, clinic rule, patient response और publishing approval तय करता है।

3 Use case

Use case 1: Retired users and vendors

  • Input: IAM export, service accounts, vendor scope, retired staff list.

  • Output: member, role, purpose, patient-data touch point, reviewer.

  • Human review: confirm contract, clinic owner, and whether the access is still needed.

Use case 2: Patient data in logs

  • Input: form handler code, logger calls, sample log names, email templates.

  • Output: logged fields, mask candidates, remove candidates, debug-only fields.

  • Human review: decide whether names, phone numbers, consultation text, symptoms, and dates belong in logs.

Use case 3: Read-only path for AI agents

  • Input: repository, project ID, resources to inspect, and prohibited data.

  • Output: read-only tasks, staging-only tasks, approval-gated tasks, prohibited tasks.

  • Human review: check credentials, commands, output files, deletion targets, and deployments.

Copy-paste prompt


Review GCP IAM for a medical website. Keep patient data away from unnecessary staff, vendors, and AI agents. Build tables for IAM roles, service accounts, logs, secrets, forms, emails, and CSV exports. Do not run change commands. Do not paste real patient values. Mark human approvals. Main CTA: /training/.

चलने वाला check code


const iamRows = [{ member: '[email protected]', role: 'roles/editor', purpose: 'LP edit', touchesPatientData: true, reviewer: '' }];

const findings = iamRows.filter((row) => row.role === 'roles/editor' || (row.touchesPatientData && !row.reviewer));

console.log(findings.length ? findings : 'Medical IAM draft passed.');

if (findings.length) process.exitCode = 1;

Pitfall: access ठीक करते हुए agent access बढ़ा देता है

Medical website की permission review role names से शुरू नहीं होती। यह patient-facing page से शुरू होती है: inquiry form, booking system, notification email, logs, CSV, backup, ad report और vendor scope। Claude Code config और code पढ़कर table, diff, risk list और checklist बना सकता है। इंसान privacy, contract, clinic rule, patient response और publishing approval तय करता है।

The fix is to name prohibited data first: patient names, phone numbers, consultation text, appointment details, inboxes, raw logs, and downloaded service account keys. Use masked samples, column names, or counts when possible.

FAQ

Q. Can the agent read the repository? A. Code and configuration are a good start; real patient messages are not.

Q. Is removing editor enough? A. No. Logs, secrets, CSV exports, emails, datasets, and CI/CD can still expose data.

Q. Why training? A. Permission boundaries depend on the clinic, vendors, and publishing flow.

हमसे बात करें

ClaudeCodeLab training can help map forms, GCP IAM, logs, secrets, service accounts, and vendor boundaries for a medical website.

मैंने क्या जांचा

This article checks frontmatter, official links, three use cases, input-output-human review labels, code fences, and the /training/ CTA. The code sample is intentionally small and checks broad roles plus missing reviewers.

#claude-code #medical-websites #gcp-iam #privacy #security
मुफ़्त

मुफ़्त PDF: Claude Code cheatsheet

Email डालें और commands, review habits तथा safe workflow वाली एक-page PDF पाएँ.

हम आपका data सुरक्षित रखते हैं और spam नहीं भेजते.

Masa

लेखक के बारे में

Masa

Claude Code workflow और team adoption पर काम करने वाला engineer.