Skip to content
Snippets Groups Projects
Select Git revision
  • v0.85.0
  • main default protected
  • renovate/major-opa
  • feat/web-robots
  • chore/ecosystems-ua
  • feat/owner-meta
  • feat/endoflife-purl
  • feat/advisory-type
  • feat/alias-important
  • docs/broken
  • chore/go
  • build/linkedin
  • perf/depsdev
  • defect/log
  • chore/endoflife-v1
  • chore/migrate-cobra-doc
  • advisory/tj
  • defect/telem
  • docs/pattern
  • spike/go-tools-124-gql
  • spike/go-tools-124
  • v0.123.1 protected
  • v0.123.0 protected
  • v0.122.1 protected
  • v0.122.0 protected
  • v0.121.0 protected
  • v0.120.0 protected
  • v0.119.1 protected
  • v0.119.0 protected
  • v0.118.0 protected
  • v0.117.0 protected
  • v0.116.2 protected
  • v0.116.1 protected
  • v0.116.0 protected
  • v0.115.3 protected
  • v0.115.2 protected
  • v0.115.1 protected
  • v0.115.0 protected
  • v0.114.0 protected
  • v0.113.5 protected
  • v0.113.4 protected
41 results

level.go

Blame
  • Jamie Tanna's avatar
    Jamie Tanna authored
    As part of #277, we want to introduce the ability to `warn` in policies,
    as well as `deny`.
    
    This requires we introduce the new level, and make it possible to
    retrieve the `warn` rule out of policies.
    
    We can also refactor the key logic for evaluating policies' evaluation
    results into a helper method, simplifying the work that needs to be done
    and making it clearer in what cases something happens.
    
    Closes #277.
    8ec66df7
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    level.go 160 B