Best Practices
Best practices for implementing Kosli in DevOps workflows for optimal compliance and deployment tracking
Flow Organization
One Flow Per Deployable Unit
payment-api
user-service
notification-worker
web-frontendall-microservices # Too broad
backend # Too vagueFlow Naming Conventions
<team>-<service>-<component>
examples:
- platform-auth-api
- payments-processing-worker
- customer-web-appEvidence Collection Strategy
Collect Evidence Early
Required Evidence Types
Evidence Completeness
Deployment Tracking
Always Report Deployments
Use Exact Artifact References
Report Deployment Timing
Environment Snapshots
Regular Snapshots
Snapshot After Deployment
Multiple Namespaces
Security and Authentication
Secure API Token Storage
Least Privilege
Performance Optimization
Parallel Evidence Collection
Batch Operations
Error Handling
Graceful Degradation
Alerting on Failures
Compliance and Audit
Audit Trail Documentation
Policy as Code
Regular Compliance Reports
Team Adoption
Start Small
Document Your Setup
Monitor Adoption
Common Pitfalls
❌ Don't: Report Wrong Artifact Names
❌ Don't: Skip Environment Snapshots
❌ Don't: Report After Failed Deployments
Real-World Example
Next Steps
Last updated