Skip to content

seedwing-io/enforcer-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seedwing Enforcer Action

GitHub Action for the Seedwing enforcer.

Usage

- uses: actions/checkout@v3
- name: Enforce Seedwing policies
  uses: seedwing-io/enforcer-action@v1
  with:
    enforcer-config: .enforcer.yaml
    source: pom.xml

Policy file policy.dog example:

pattern not-vulnerable = {
    purl: uri::purl(osv::scan-purl(openvex::from-osv(openvex::not-affected)))
}

Enforcer config file .enforcer.yaml:

dependencies:
  policy: ./policy.dog
  requires: "not-vulnerable"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published