Configuration
16 items tagged with "configuration"
Anti-Patterns3
Inner-Platform Effect
Building a configurable system so general it becomes a poor reimplementation of the platform it runs on, reinventing a language, database, or framework badly.
Hardcoding
Embedding values that should be configurable, such as URLs, paths, credentials, and limits, directly in source, forcing code changes to adapt.
Default Credentials
Shipping or deploying systems with vendor default usernames and passwords left unchanged, an instantly exploitable and heavily automated attack vector.
Tutorials3
How to manage configuration with Kubernetes ConfigMaps and Secrets
Externalize app settings into ConfigMaps and sensitive values into Secrets, mounted as env vars or files.
How to manage Kubernetes manifests across environments with Kustomize
Use a base plus overlays to customize Kubernetes manifests per environment without templating or duplication.
Initialize Vibgrate Config with vg init
Use vg init to create the .vibgrate directory and config file so your scans are repeatable and shareable across the team.
FAQs6
How do I set up the DSN (Data Source Name) for dashboard uploads?
Set the VIBGRATE_DSN environment variable with your DSN token. System-wide: add export VIBGRATE_DSN="your-dsn" to ~/.zshrc or ~/.bashrc (macOS/Linux) ...
How do I set environment variables on macOS?
For zsh (default on modern macOS): add export VIBGRATE_DSN="your-dsn" to ~/.zshrc, then run source ~/.zshrc. For bash: add to ~/.bash_profile or ~/.ba...
How do I set environment variables on Windows?
GUI method: Search 'Environment Variables' > Edit system environment variables > Environment Variables button > User variables > New > Name: VIBGRATE_...
What does the vg init command do?
The vg init command sets up Vibgrate in your project by creating a .vibgrate/ directory for scan artifacts and baselines, plus a vibgrate.config.ts fi...
How do I configure Vibgrate?
Create a vibgrate.config.ts (or .js/.json) file in your project root. Configure exclude patterns to skip directories, thresholds to control finding se...
Should I add .vibgrate to .gitignore?
Add .vibgrate/scan_result.json to .gitignore (it changes on every scan). Keep .vibgrate/baseline.json in version control so CI can compare against it ...