Use this when validating self-service requests.
Validation · Self-Service Automation
Validation in self-service automation checks requests against rules — quotas, naming standards, allowed environments — before approval or execution.
1. Validate requests server-side (not only in forms).
2. Quotas and naming rules.
3. Reject clearly.
4. Log rejections.
5. Test with bad inputs.
request → validation → accept/reject
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as ambiguous target identity, stale inputs, partial success, unsafe retry, permission drift and confusing tool completion with target-evidence of the actual state, choosing the cases most relevant to schema and semantic validation before execution, actionable errors with field/path identity and revalidation after defaults/transforms are applied.
Step 2 Common mistakes Narrow the fault
- Validating in the form only, not in the backend.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Validate quotas, naming and environments.
- Validate before approval.
- Give clear error messages.
- Server-side validation of requests — security
- Quota checks — limits
- Naming/uniqueness checks — conflicts
ReferenceWhy it matters1 section · depth on demand
What it is
Validation checks request input against rules and the source of truth before any automation runs.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Validation in self-service checks a request before it reaches automation: are the values allowed, consistent and safe? Because requesters are not automation experts, the portal must stop invalid input early with clear messages, instead of letting a job fail halfway.
| Validation | Example |
|---|---|
| Format | Hostname pattern, valid IP/CIDR |
| Allowed values | Only offered VLANs, sizes, regions |
| Business rules | Disk ≤ 500 GB without approval |
| Uniqueness | Name not already in use |
| Authorisation | Requester may use this cost centre/site |
Validate in the form (fast feedback) and again in the automation (never trust the client). Lookups against the source of truth — free IP space, existing names — catch conflicts before resources are created.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Self-Service Automation > Validation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://backstage.io/docs/features/software-templates/ · confidence 94%