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
Grant is a command-line tool for viewing and analyzing licenses in container images, SBOM documents, and filesystems. It helps build license compliance reports by applying configurable rules.
## Key Components
- **CLI Interface**: Main entry point in `cmd/grant/main.go`
- **Commands**: Check, list, and inspect operations for license analysis
- **Core Logic**: License evaluation, policy rules, and pattern matching in `grant/` directory
- **Configuration**: YAML-based rule configuration with allow/deny patterns
- **Output Formats**: Table and JSON reporting
## Primary Use Cases
1. Scan container images for licenses: `grant check redis:latest`