Comments (1)
Hi @prog8, thanks for reporting the issue.
You are correct, those values are currently hardcoded but changing that should be doable.
Basically we would need to keep these values as defaults but then make sure we
- Store the limits in the cas-backends DB table since they will be configurable. This can be done in (internal/ent/schemas/casbackend.go)
- Update the business logic (biz/casbackend.go) and the data logic (data/casbackend.go) to support the new parameter
- Update the API to support receiving this value in both creation and update,
cas_backends.proto
- Lastly, you'll need to update the CLI to support providing the limit value during creation/update
Does it make sense? Is this something you'd like to work on? I am happy to help, you can find me here in Discord.
Thanks!
from chainloop.
Related Issues (20)
- Add material name validation when attesting
- Support remote policies HOT 3
- bug: the latest version of the chart doesn't render
- add basic helm template sanitize and output in CI HOT 1
- Move attastation package to pkg
- Add indexes to workflows and workflow runs HOT 3
- Make 'chainloop workflow create --name build --project xy --team abc' idempotent HOT 7
- improve how we show validation errors HOT 3
- chainloop '1.86.14' is failing to deploy
- Parameterizable policies
- Show policy violations in att push output HOT 1
- policies: add tests for `ref` parsing
- policies: verify remote policies exist during contract crafting
- policies: improve error response
- policies: detect duplicated attachments and evaluations
- policies: reset evaluation if same material is re-added to the attestation
- Policies: store attachment arguments in evaluations
- Render helm template in CI
- contract format persistence and server-side validations
- policies: store full policy in evaluations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chainloop.