audit-tenant

Community

Pre-merge multi-tenant data-scope audit.

Authorleocosta
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Pre-merge audit of multi-tenant data-scope enforcement (branch/PR): detects queries bypassing tenant filters, checks for missing HasQueryFilter on new DbContext entities, identifies raw SQL queries without tenant restriction, flags route-id ownership gaps, spots joins to unfiltered tables, and detects cross-tenant admin endpoints. Severity-tiered report with confidence labels.

Core Features & Use Cases

  • Evaluates code changes for tenant-scope violations across EF Core contexts and controllers.
  • Generates a consolidated report suitable for PR comments, and composes with audit-skills to provide a unified view.
  • Supports configuration via .octopus.yml tenantScope and defaults to safe behavior when misconfigured.

Quick Start

Run the audit-tenant skill on your diff to generate a tenant-scope report.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: audit-tenant
Download link: https://github.com/leocosta/octopus/archive/main.zip#audit-tenant

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.