Harness Pipelines Integration
Harness IR provides native integration with Harness Pipelines, enabling automated remediation actions and deployment control directly from your incident response workflows.
Overview
Harness Pipelines integration:
- Requires no additional authentication setup
- Uses your existing Harness permissions and access controls
- Provides seamless access to pipeline operations
Permissions
The Harness Pipelines integration leverages your existing Harness permissions model:
- Access to pipelines is controlled by standard Harness user permissions
- Pipeline operations respect existing role-based access controls (RBAC)
- No additional API keys or credentials needed
Common Use Cases
- Automated Remediation
- Trigger rollback pipelines
- Scale services up/down
- Deploy hotfixes
- Deployment Control
- Pause active deployments
- Cancel problematic pipelines
- Resume deployments after incident resolution
Example Configuration
name: "Production Deployment Control"
conditions:
severity: P1
service: [service_name]
actions:
trigger_pipeline:
name: "Emergency Rollback"
variables:
service: [incident.service]
environment: production
Best Practices
-
Pipeline Selection
- Use dedicated remediation pipelines
- Create incident-specific pipeline templates
- Test pipelines in non-production environments
-
Permission Management
- Review pipeline access permissions regularly
- Use service accounts for automated operations
- Maintain audit logs of pipeline triggers
-
Integration Usage
- Document remediation workflows
- Monitor pipeline execution success
- Track effectiveness of automated responses