Skip to content
Snippets Groups Projects
Select Git revision
  • renovate/major-opa
  • advisory/tj
  • main default protected
  • defect/telem
  • docs/pattern
  • spike/go-tools-124-gql
  • spike/go-tools-124
  • chore/deepmap
  • docs/mas
  • build/notify
  • fix/du
  • defect/diff
  • defect/json
  • chore/schema
  • feat/diff-json
  • chore/typo
  • build/binaries
  • build/changelog-
  • defect/otel
  • chore/otel
  • 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
  • v0.113.3 protected
  • v0.113.2 protected
  • v0.113.1 protected
  • v0.113.0 protected
  • v0.112.0 protected
  • v0.111.1 protected
  • v0.111.0 protected
  • v0.110.2 protected
  • v0.110.1 protected
  • v0.110.0 protected
40 results

level.go

Blame
  • Jamie Tanna's avatar
    8ec66df7
    Add ability to `warn` in policies · 8ec66df7
    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
    Add ability to `warn` in policies
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.