You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update README with Agent SDKs, Cedar policy gate, VS Code extension, GitLab CI
- Add Agent SDKs section with Python/TypeScript/Go install + quick start examples
- Add Cedar policy gate section with example .cedar policy
- Add VS Code extension section
- Add GitLab CI include template
- Add badges for trusera-sdk on PyPI and npm
- Update nav links
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Detects AI Agent nodes, MCP client connections, webhook triggers without auth, dangerous tool combinations, and hardcoded credentials in workflow JSON.
424
477
478
+
## Cedar Policy Gate
479
+
480
+
Enforce fine-grained security rules on discovered AI components using Cedar-like policies. Fails the CI pipeline if any component violates a rule.
481
+
482
+
```cedar
483
+
// .cedar/ai-policy.cedar
484
+
forbid (principal, action, resource)
485
+
when { resource.severity == "critical" };
486
+
487
+
forbid (principal, action, resource)
488
+
when { resource.component_type == "api_key" };
489
+
490
+
permit (principal, action, resource);
491
+
```
492
+
493
+
```yaml
494
+
# GitHub Actions
495
+
- uses: trusera/ai-bom@main
496
+
with:
497
+
policy-gate: "true"
498
+
cedar-policy-file: ".cedar/ai-policy.cedar"
499
+
```
500
+
501
+
Also available as a [GitLab CI template](templates/gitlab-ci-ai-bom.yml). See [docs/ci-integration.md](docs/ci-integration.md) for details.
502
+
503
+
## VS Code Extension
504
+
505
+
Scan your workspace for AI components directly from VS Code. Inline diagnostics, severity decorations, and a results tree view.
506
+
507
+
```
508
+
ext install trusera.ai-bom-scanner
509
+
```
510
+
511
+
The extension runs `ai-bom scan` on your workspace and displays findings as VS Code diagnostics with severity-based gutter decorations.
512
+
425
513
## Contributing
426
514
427
515
See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.
0 commit comments