Achieving CSDM Compliance
Last Updated: January 7, 2026 Estimated Reading Time: 9 minutes
Overview
The Common Service Data Model (CSDM) is ServiceNow's framework for organizing IT services and infrastructure. This guide helps you achieve CSDM compliance to improve service visibility, change management, and business alignment.
What is CSDM?
CSDM defines how Configuration Items should be structured and related to represent your IT landscape accurately. It establishes:
- Standard CI Classes: Business Service, Application Service, Technical Service, etc.
- Relationship Rules: How different CI types should connect
- Service Hierarchy: Layered model from business to technical
- Naming Conventions: Consistent CI naming patterns
CSDM compliance isn't just about ServiceNow certification. It ensures your CMDB accurately represents your IT services, making change management, incident response, and business reporting more effective.
Why CSDM Matters
Business Benefits
- Service Visibility: Clear view from business services to underlying infrastructure
- Accurate Impact Analysis: Better blast radius predictions
- Faster Incident Resolution: Quickly trace from service outage to root cause
- Improved Change Management: Understand true change impact on business
- Executive Reporting: Map IT costs and risks to business services
Technical Benefits
- Consistent Data Structure: Everyone understands CI relationships
- Better Health Scores: CSDM compliance improves overall CMDB health
- Automation-Friendly: Standard models enable automation
- Integration Support: Third-party tools expect CSDM structure
- Reduced Complexity: Clear rules reduce confusion
CSDM Service Layers
CSDM organizes services into four layers:
Layer 1: Business Service
Purpose: Services that deliver business value to customers/users
Examples:
- Online Banking
- Employee Onboarding
- E-commerce Platform
- Customer Support Portal
Characteristics:
- Consumed by end users or customers
- Has business owner/sponsor
- Measurable business value
- Maps to business capability
Relationships:
- Contains → Application Services (Layer 2)
- Depends On → Other Business Services
- Used By → Business stakeholders/users
Layer 2: Application Service
Purpose: Technical services that support business services
Examples:
- Web Application
- Mobile API
- Payment Processing Service
- Authentication Service
Characteristics:
- Technical service managed by IT
- Provides specific functionality
- May be shared across multiple business services
- Has technical owner
Relationships:
- Contained By → Business Service (Layer 1)
- Runs On → Technical Services or Infrastructure (Layer 3)
- Depends On → Other Application Services
- Connects To → External services/APIs
Layer 3: Technical Service
Purpose: Shared infrastructure services
Examples:
- Database Service (SQL Server Cluster)
- Load Balancer Service
- DNS Service
- Backup Service
Characteristics:
- Infrastructure-level service
- Shared by multiple Application Services
- Often clustered/redundant
- Managed by infrastructure teams
Relationships:
- Supports → Application Services (Layer 2)
- Runs On → Infrastructure Components (Layer 4)
- Depends On → Other Technical Services
Layer 4: Infrastructure Components
Purpose: Physical/virtual hardware and network components
Examples:
- Virtual Machines
- Physical Servers
- Network Switches
- Storage Arrays
Characteristics:
- Individual infrastructure elements
- Directly managed assets
- Often discovered automatically
- Has physical/virtual attributes
Relationships:
- Hosts → Technical Services (Layer 3)
- Connects To → Other infrastructure
- Located In → Datacenters/zones
CSDM Compliance Rules
cmdbx validates your CMDB against 30+ CSDM rules. Here are the most critical:
Required Relationships
| From CI Type | Relationship Type | To CI Type | Rule | |--------------|-------------------|------------|------| | Business Service | Contains | Application Service | Must have at least 1 | | Application Service | Runs On | Technical Service OR Server | Must have at least 1 | | Business Service | Runs On | Server/Hardware | MUST NOT (violation) | | Application Service | Contains | Application Service | MUST NOT (violation) | | Technical Service | Runs On | Server/Hardware | Should have 1+ |
Prohibited Patterns
These patterns are CSDM violations:
-
Business Service directly on Infrastructure:
- WRONG: Business Service → Runs On → Server
- RIGHT: Business Service → Contains → App Service → Runs On → Server
-
Application Service contains Application Service:
- WRONG: App Service → Contains → App Service
- RIGHT: Business Service → Contains → App Service 1, App Service 2
-
Circular Dependencies:
- WRONG: Service A → Depends On → Service B → Depends On → Service A
- RIGHT: Unidirectional dependency chain
-
Missing Service Owner:
- All services MUST have an assigned owner
- Owner should be a team/group, not individual
-
Incorrect Relationship Types:
- Servers don't "Depend On" Applications (should be reverse)
- Applications don't "Contain" Servers (should be "Runs On")
The most common CSDM violation is Business Services with direct "Runs On" relationships to servers. Always insert an Application Service layer.
Assessing Current CSDM Compliance
Step 1: Run CSDM Compliance Report
- Navigate to Features → CSDM Workbench
- Click "Compliance Report" tab
- View overall compliance score (0-100%)
- Review violations by category:
- Missing relationships
- Prohibited relationships
- Incorrect hierarchy
- Missing required fields
Step 2: Identify Top Violations
Common Violation Types:
| Violation | Impact | Priority | |-----------|--------|----------| | Business Service → Server | High | Critical | | Missing service owners | Medium | High | | Circular dependencies | High | High | | Orphaned services | Medium | Medium | | Missing containment | Low | Low |
Step 3: Prioritize Remediation
Priority Matrix:
- Critical: Fix violations affecting business-critical services first
- High: Address violations impacting change management accuracy
- Medium: Clean up structural issues in production services
- Low: Improve dev/test service compliance
Achieving CSDM Compliance
Quick Start: New Service Modeling
If building services from scratch, use the CSDM Workbench:
Step 1: Create Business Service
- Open CSDM Workbench
- Click "New Service"
- Select "Business Service" template
- Fill required fields:
- Name: Customer-facing service name
- Owner: Business owner/sponsor
- Criticality: Critical/High/Medium/Low
- Description: Business purpose
Step 2: Add Application Services
- With Business Service selected, click "Add Child"
- Select "Application Service" template
- Create one service per technical capability:
- Web Frontend
- API Backend
- Database Service
- Set relationship: Business Service Contains Application Service
Step 3: Connect Infrastructure
- Select an Application Service
- Click "Add Dependency"
- Search for server/technical service
- Set relationship: Application Service Runs On Server/Service
Step 4: Validate CSDM Compliance
- Click "Validate" button
- Review any flagged issues
- Fix violations before saving
- Click "Write to ServiceNow"
The CSDM Workbench auto-validates as you build. It won't let you create CSDM violations, ensuring compliance from the start.
Remediation: Fixing Existing Services
If you have non-compliant services, follow this process:
For Business Services on Infrastructure (Most Common):
Before (Non-Compliant):
Business Service: Online Banking
├── Runs On → Web Server 1
├── Runs On → Web Server 2
└── Runs On → DB Server 1
After (CSDM Compliant):
Business Service: Online Banking
├── Contains → Application Service: Web Application
│ ├── Runs On → Web Server 1
│ └── Runs On → Web Server 2
└── Contains → Application Service: Database
└── Runs On → DB Server 1
Steps to Fix:
- Open CSDM Workbench
- Load existing Business Service
- Click "CSDM Wizard" → "Insert Application Layer"
- Wizard creates Application Services automatically
- Moves "Runs On" relationships to new Application Services
- Adds "Contains" relationships to Business Service
- Review changes and write to ServiceNow
For Circular Dependencies:
- Map dependency chain: A → B → C → A
- Identify which dependency is incorrect
- Remove the relationship creating the cycle
- Add correct relationship if needed
- Validate no other cycles exist
For Missing Owners:
- Filter services by "No owner assigned"
- Identify business/technical owner for each
- Bulk update owner field in ServiceNow
- Sync cmdbx and verify compliance improvement
Bulk CSDM Remediation
For large-scale fixes:
- Export CSDM violations report (CSV)
- Group violations by type
- Create remediation plan for each type
- Use ServiceNow Import Sets or API for bulk updates
- Sync cmdbx and re-run compliance report
- Verify improvements
CSDM Best Practices
Service Naming Conventions
Business Services: Use business-friendly names
- Good: "Online Banking", "Employee Portal"
- Bad: "PROD_APP_001", "WebApp_v2"
Application Services: Use technical names with function
- Good: "Web Application", "Payment Processing API"
- Bad: "Application 1", "Service 2"
Technical Services: Include technology and purpose
- Good: "SQL Server Cluster - Orders DB", "Load Balancer - Production"
- Bad: "Database", "LB"
Relationship Guidelines
-
Use Specific Relationship Types:
- "Runs On" for hosting (app on server)
- "Depends On" for functional dependencies (app needs database)
- "Contains" for composition (business service contains app services)
- "Connects To" for network connections
-
Avoid Generic Relationships:
- Don't use "Related To" unless no other type fits
- Always pick the most specific relationship type
-
Document Relationship Purpose:
- Add description to clarify why relationship exists
- Helps with future maintenance and audits
Ongoing Compliance Maintenance
-
Service Creation Process:
- Always use CSDM Workbench for new services
- Validate before writing to ServiceNow
- Assign owner at creation time
-
Monthly Audits:
- Run CSDM compliance report
- Fix new violations within 30 days
- Track compliance score trend
-
Change Management Integration:
- Verify CSDM compliance before approving service changes
- Update service models when infrastructure changes
- Use blast radius to validate changes don't break CSDM
-
Training:
- Train service owners on CSDM principles
- Provide CSDM templates and examples
- Review violations with responsible teams
Measuring CSDM Compliance
Key Metrics
- Overall Compliance Score: Target 90%+
- Critical Violations: Should be 0
- Services with Owners: Target 100%
- Service Hierarchy Depth: Average 3-4 layers
- Time to Resolve Violations: Target < 30 days
Compliance Dashboard
Track these trends over time:
- Compliance score (monthly)
- New violations introduced
- Violations resolved
- Services CSDM-compliant at creation (should be 100%)
Common Questions
Q: Do I need CSDM compliance if we don't use ServiceNow ITOM?
A: Yes. CSDM improves CMDB accuracy regardless of what ServiceNow modules you use. Better service modeling means better change management and incident response.
Q: How long does CSDM remediation take?
A: Depends on your CMDB size and current state:
- Small (< 1,000 CIs): 1-2 weeks
- Medium (1,000-10,000 CIs): 1-2 months
- Large (10,000+ CIs): 3-6 months
Use cmdbx's bulk remediation tools to accelerate.
Q: Can I customize CSDM rules?
A: cmdbx enforces ServiceNow's standard CSDM rules. If you have unique requirements, contact [email protected] to discuss custom validation rules.
Q: What if my infrastructure doesn't fit the 4-layer model?
A: CSDM is flexible. You can have:
- Multiple Application Services per Business Service
- Nested Technical Services
- Direct server relationships if no shared services exist
The key is following relationship rules, not forcing artificial layers.
Related Articles
- CSDM Workbench - Visual service modeling tool
- Improving CMDB Health - Health improvement strategies
- Best Practices - CMDB hygiene best practices
- Health Scoring - How CSDM affects health scores
Need Help?
Contact [email protected] or use the AI Assistant for personalized CSDM remediation guidance.