anchore / anchore/grant

feat: grant should have a `policy` command that aids users in constructing a baseline policy for their images or software

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
feat
Dominant language
Go
Stars
183
Forks
18
Avg merge
3d 7h
Merged PRs (30d)
7

Description

Some examples of this would be to generate a policy of exclusions from an image that is already known as compliant.

Example:
```
grant policy --exclude image:base:latest
```
^ This would generate a policy that has exceptions for the packages and their license associations in the base image.

When a user goes to use grant against a production image built with the above they will know they are only keying on licenses introduced during a build process. The grant policy would exclude licenses/packages from the base image

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing grant CLI command structure and policy evaluation behavior. Define how `grant policy --exclude image:base:latest` should derive package and license exceptions from the compliant image, then verify that a production-image scan reports only licenses introduced beyond that base.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.