Comments (4)
I can look into it when I get some time although I'm not very familiar with go. There will be some work required due to short expiration time of the app token.
https://docs.github.com/en/rest/apps/apps#create-an-installation-access-token-for-an-app
Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them.
from sbom-operator.
fyi, I'm currently working on this.
from sbom-operator.
I think this should be possible without huge efforts. I like the idea. Maybe this is a good starting point: https://github.com/mlioo/go-github-app-token-generator
Would you mind open a PR for that?
from sbom-operator.
Github provides deploy keys to authenticate non-human access at repository scope.
https://docs.github.com/en/developers/overview/managing-deploy-keys#deploy-keys
If your purpose is to push sboms to a single git repo, then deploy keys are the most simple solution.
from sbom-operator.
Related Issues (20)
- Feature request: Map k8s pod labels as project tags HOT 5
- Cloning with git-fallback-clone seems to fail HOT 12
- Deleting project from DependencyTrack fails when deleting pod HOT 4
- Adding pod label as tags fails because ctx.Pod.Labels is always empty HOT 1
- default cron job time ? HOT 1
- Mirror configuration for registries HOT 5
- Use with proxy registry may lead to "weird" behavior HOT 3
- Dependency Track project names HOT 2
- [FEATURE] Add more providers / other orchestrators HOT 10
- dtrack Base-URL HOT 3
- [FEATURE] - Image Name as Project Name in DTrack Integration HOT 3
- [Question] - Exclude certain images from scanning HOT 2
- The clusterrole is missing a confimag rule HOT 1
- New patch release HOT 2
- Private registry authentication error HOT 12
- Cleanup /tmp during realtime scanning HOT 2
- A cluster behind a http proxy: "connect: connection timed out" when getting the image HOT 2
- [FEATURE] Allow include/exclude of Labels that should be converted to Tags as a regular expression HOT 4
- question/feature: determining if image has already been scanned HOT 5
- Proxy registry config is not working as expected HOT 5
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 sbom-operator.