prod-guard-oss

Back to index

Frequently Asked Questions (FAQ)

This document answers the most common questions about prod-guard, its purpose, behavior, licensing model, and how it compares to existing solutions.


General

What is prod-guard?

prod-guard is a startup-time production readiness validation framework for Spring Boot applications.

It detects common misconfigurations, risky defaults, and production anti-patterns before the application begins serving traffic.

Unlike monitoring tools, prod-guard focuses on prevention, not observation.


Is prod-guard a monitoring or security tool?

No.

prod-guard is not:

It complements those tools by ensuring the application is correctly configured before startup.


When does prod-guard run?

Exactly once, during application startup.

After startup completes, prod-guard has zero runtime overhead.


Adoption & Usage

Does prod-guard block application startup?

It can, but only if you want it to.

Blocking behavior depends on:

This allows gradual adoption without breaking existing systems.


Can prod-guard run outside production?

Yes.

By default, prod-guard runs only when a production profile is active (prod or production).

To force execution in other environments:

prodguard:
  force: true

This is commonly used in CI pipelines and staging environments.


Can we disable specific checks?

Yes.

Any check can be:

Example:

prodguard:
  severity:
    PG-011: DISABLED
    PG-012: WARN

Licensing

Is prod-guard free?

prod-guard offers two tiers:

FREE checks work without any license.


How does licensing work?

prod-guard uses offline, cryptographically signed licenses.

A license is verified locally at startup using an embedded public key.


What happens if no license is present?

The application continues to start normally.


What happens if the license is expired?

An expired license is treated as invalid.

No application functionality is blocked.


Does prod-guard “phone home”?

No. Never.

prod-guard does not:

This is a deliberate architectural decision.


Security

How secure is the licensing mechanism?

Licenses are signed using Ed25519 asymmetric cryptography.


Comparison

How is prod-guard different from monitoring tools?

Monitoring tools:

prod-guard:


How does prod-guard compare to static analysis?

Static analysis:

prod-guard:


Support & Roadmap

Is prod-guard production ready?

Yes.

prod-guard is designed for:


Will more checks be added?

Yes.

The check catalog is expected to grow, especially in:


Next Steps

Back to index