Comments (8)
I looked into this and trivy doesn't like our containers, and can't realistically handle the Cargo.toml/lock file, because we have multiple due to the workspace. We'd have to build the binaries with cargo-auditable
for this to have a hope of working.
from kanidm.
We're probably better off just including the Cargo.lock and Cargo.toml in the container than moving from just building with cargo
, and introducing other possible issues.
from kanidm.
I'm happy with either approach. We use cargo-auditable at SUSE for our binaries which works well, but I think it's just as easy for us in containers to ensure the Cargo.lock is installed into the image.
from kanidm.
Hello,
will adding the commnd COPY /Cargo.toml /Cargo.lock /usr/src/kanidm/
to /server/Dockerfile help here. I'd like to get some advice and pick this. Thanks
from kanidm.
Their docs are here, give it a go https://aquasecurity.github.io/trivy/v0.49/docs/coverage/language/rust/
from kanidm.
I went through it and the above discussion. It appeared that including the Cargo.lock and Cargo.toml will help trivy scans. So wished to ask
will adding the commnd COPY /Cargo.toml /Cargo.lock /usr/src/kanidm/ to /server/Dockerfile help here.
is enough to include the files in the image or some more steps will be needed
from kanidm.
I went through it and the above discussion. It appeared that including the Cargo.lock and Cargo.toml will help trivy scans. So wished to ask
will adding the commnd COPY /Cargo.toml /Cargo.lock /usr/src/kanidm/ to /server/Dockerfile help here.
is enough to include the files in the image or some more steps will be needed
You'll have to test it - it's an outside tool we haven't used before - unless @schleichardt knows from experience?
from kanidm.
We do have cargo auditable in opensuse so it wouldn't be hard to add it ....
from kanidm.
Related Issues (20)
- Can't sign out properly HOT 9
- Allow bindaddress to be a unix socket HOT 1
- Option to disable self managing displayname, name, and legal name
- forward_auth support in kanidm HOT 12
- oauth2 authorization code can be exchanged for access token multiple times HOT 2
- OAuth2 Debugging Tools
- migrate_domain_6_to_7: MG0005GidConstraintsNotMet HOT 2
- Issue upgrading from v1.1.0-beta.13 (1.1.0~beta13~git7.1fb34a9) -> 1.2.1 HOT 3
- The "Install" link on the homepage (top) is broken HOT 1
- Support OIDC client_ids of OwnCloud Desktop, Android, iOS HOT 14
- Support the change-password URI spec with a redirect HOT 1
- Restrict client login by IP HOT 6
- Release 1.2.2 didn't update Cargo.lock HOT 2
- Change to Kanidm installation guide for people using replication HOT 1
- Unable to authenticate using replicated kanidm server HOT 4
- Allow alternate OIDC URL schema
- CLI command to change client displaynames
- Support multiple signed-in accounts HOT 1
- Posix UUIDs are larger than `utmp`/`wtmp` allows
- Using tracing instrumentation to measure call timings HOT 1
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 kanidm.