Comments (2)
My proposal is that we allow fake data to be fed into data gatherers from a file.
This would have to be implemented on a per data gatherer level but would be fairly simple. A JSON file would be read and marshalled into whatever struct the data gatherer used. From this point on Preflight would run as normal.
This would allow us to store a selection of test JSON files representing GKE, AKS, etc. clusters and Kubernetes Pods which could be used to test and demo Preflight without needing an actual cluster.
The downside of this approach would be that it doesn't test the data gatherers interaction with the API they fetch data from.
It may be best to first implement a local file data gatherer and share functions from that.
from jetstack-secure.
We now have a local data gatherer and the ability to feed 'fake' local data into Preflight.
As we're moving to use an agent and SaaS model we're now building end to end testing in the private platform repository which will incorporate testing the agent in this repo so I feel this issue can be closed.
from jetstack-secure.
Related Issues (20)
- Rename repo to "jetstack-secure-agent" HOT 1
- The dependency chzyer/logex does not have a LICENSE file HOT 3
- Update agent run command example in the agent README
- Agent echo server fails handling requests from the agent
- Improve output of the echo server HOT 2
- Set a default period in the agent.yaml supplied in the repo
- Add `--compact` print flag to the echo server HOT 1
- Remove token auth support from echo command
- Generate RBAC based on the current config HOT 5
- SLSA Level 1 HOT 2
- trivy scan vulnerability results HOT 3
- Documentation Link 404
- feat: Add ability to input a completely custom agent configuration to chart
- feat: Add venafi enhanced issuer to chart
- TLSPK Agent / Jetstack Agent (Re-branding)
- Error in volume configMap
- Chart CI to identify issues before merging HOT 1
- No health endpoint
- Deprecated API versions
- Failing build: release-master: ERROR: Unable to validate cosign version: 'v1.13.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 jetstack-secure.