Dsn
6 items tagged with "dsn"
Tutorials2
Push Drift Results to Vibgrate Cloud from CI
Upload Vibgrate CLI scan results to Vibgrate Cloud from your pipeline with vg scan --push, authenticated by a DSN secret, for team-wide trend tracking.
Create a Vibgrate Cloud Data Source with vg dsn create
Generate an HMAC-signed DSN token with vg dsn create to authenticate non-interactive dashboard uploads from CI and automation.
FAQs4
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) ...
What are the best practices for managing the VIBGRATE_DSN?
Never commit DSN tokens to source control. Store DSNs as CI/CD secrets. Use separate DSNs for different environments (dev, staging, production) if nee...
How do I upload scan results to the dashboard?
Use vibgrate push after running a scan, or combine them with vg scan --push. The DSN is read from VIBGRATE_DSN environment variable or pass with --dsn...
How do I generate a DSN token?
Run vibgrate dsn create --workspace ws-abc123 to generate an HMAC-signed DSN token. Use --region eu for EU data residency. Use --write .vibgrate/.dsn ...