Quality & tooling
Security
Embedded
- ✓ Policy scanner (regex + PHPStan AST) on every PR.
- ✓ Postgres role/schema isolated from the platform.
- ✓
BlocksPartnerDirectAccesstrait refuses access outsideApp\Services\PartnerApi\*. - ✓ Every scope checked at runtime via
AppPermissionGuard.
External
- ✓ Installation token encrypted at rest.
- ✓ Webhooks signed + timestamped + replay-protected.
- ✓ HTTPS-only
webhook_url. - ✓ Okta-side rate limit (60 req/min per installation).
Your responsibilities
- Never log the installation token.
- Store
webhook_secretin a secret manager. - Apply your own rate limits if forwarding tenant data.
- Don't store tenant data beyond what you need.