Commit 2fe22ea
committed
feat(policies): add assessment annotation to policy finding schemas
Extends PolicyVulnerabilityFinding, PolicySASTFinding and
PolicyLicenseViolationFinding with an optional PolicyAssessmentResult
field carrying the precedence-resolved effective_status and the
matching individual assessments. The policy engine populates this via
the chainloop.effective_assessments builtin; it then round-trips
through ValidateFinding into the CAS-stored PolicyEvaluationBundle.
Schema-only change. Replaces #3093.
Assisted-by: Claude Code
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>1 parent da9c963 commit 2fe22ea
14 files changed
Lines changed: 963 additions & 147 deletions
File tree
- app/controlplane/api/gen
- frontend/attestation/v1
- jsonschema
- pkg
- attestation/crafter/api/attestation/v1
- policies/findings
Lines changed: 259 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments