Multi-Factor risk assessment for Devops changes
DevOps and IT Change Governance teams need change requests to be approved quickly so that the required updates can be deployed faster to support the business. However, the business should also be protected from bad changes by enforcing risk evaluation. To evaluate the risk level of a change created from Atlassian Jira Software,
provides the Risk Calculation service that calculates the risk level of a change request when it is brokered from Jira Software to BMC Helix ITSM. The calculated risk level data is automatically added to the BMC Helix ITSM Change record.Risk Management configurations
As an administrator, you can view and update the risk management configurations to define the risk value and weightage for Jira development groups and services that are used to calculate the risk level of a change request.
The following configurations are available in the Risk Management section:
Configuration name | Purpose |
---|---|
Manage CI Property To Risk Value Mapping | Defines the risk value associated with a CI's priority or any other field on AST:BaseElement form when calculating risk level. Important: |
Manage Development Groups | Defines the risk value associated with a development group in your third-party application. If the development group used to create a third-party record does not exist in the BMC Helix Multi-Cloud Broker configuration, it is added automatically when the third-party record is created. By default, the risk level for the group is set to 50. You can update this value as per your organization's requirements. Important: Out of the box, the third-party application may not have specific fields for development groups. You can use existing fields or add custom fields for the values of development groups associated with the third-party application record. |
Manage Risk Mapping | Defines the mapping of the risk values to High, Low, and Medium. Out of the box, the following values are defined:
|
Manage Risk Rules | Defines the weightage to be used when calculating the risk level. Important: At least one Risk Rule must be defined to activate the Risk Calculation service. |
For more information about how the risk values are calculated, see How the risk values are calculated.
To activate the risk calculation service
To activate risk calculation, you must complete the following tasks:
Task | Action | Description |
---|---|---|
1, | Map the Jira fields to be used for risk calculation to the Vendor Group and Service fields in . |
|
2. | Configure the Sync Change flow to sync the Status reason field with the application. | This mapping is required to sync the Status reason field so that the risk value is updated when a change is completed. Important: This configuration is not required not for integrations developed by using BMC Helix iPaaS, powered by Jitterbit. |
3. | Define a risk rule. | At least one risk rule must be defined for the Risk Calculation service to be activated. |
To update a field mapping for integration templates developed by using BMC Helix Integration Service
- Log in to BMC Helix Integration Studio, and navigate to My Flows.
- Open the Create Change flow.
- Click the Details tab.
- Expand Field Mapping.
- Map the following
- Vendor Group to the field used to define the development group.
- Service to the field used for defining the service.
fields to the third-party application field used to define the risk calculation factors: - Save the flow.
To update field mappings for integration templates developed by using BMC Helix iPaaS, powered by Jitterbit
- Log in to BMC Helix iPaaS, and navigate to the Cloud Studio.
Open the integration template project.
- Select the Components tab, and search for the Prepare Create Change Data From Issue transformation of the Create MCB Change from Jira operation in Vendor Workflow.
- Select the transformation, click the Ellipses (...), and select View/Edit.
In the target section, click the script icon for the [ 0, 1 ] Vendor_Group (string) field and add the script to map the field ID of the field associated with a development group in the third-party application in the following format:
<trans>
$jsonObj["issue"]["fields"]["customfield_<fieldId>"]["value"];
</trans>For example, if you have a custom field Vendor Group with field ID 10155 defined in Jira, add the following script:
<trans>
$jsonObj["issue"]["fields"]["customfield_10155"]["Criteria"];
</trans>
To define a risk rule
- Log in to BMC Helix Multi-Cloud Broker and click
Settings.
- Navigate to Risk Management > 4. Risk Rules > Map Risk Rules.
- To add a new risk rule, click +Risk Rule.
Add the following values:
Field Name
Description
Source Metrics
Select the value based on the source for which you are defining the metrics:
- Risk Metric - Development Group—Rule for a development group metric
- Risk Metric - Technology Service—Rule for a service metric
- Risk Metric - CI property—Rule for a CI property metric
Weight
The weight percentage to be used for this metric when calculating the risk level.
Technology Provider
Select the name of the third-party application.
Status
Select Enable activate the rule.
Description
Enter a short description of the rule.
CI Property Field ID
Enter the ID of the CI property field, as defined in the Manage CI Property To Risk Value Mapping.
This field is mandatory if you have selected Risk Metric - CI properties option in Source Metrics field.
CI Search Qualification
Use this field to determine additional search qualifications for requests that are sent to the AST:BaseElement form.
This is useful when customers have multiple records with the same CI name.
- Click Save.
You can define multiple risk rules and add the weight percentage for each rule. The total weightage of all risk rules defined must be 100.
Example of how the risk values are calculated
- When an issue is created in Jira, the user selects a service and development group.
- In the corresponding BMC Helix Multi-Cloud Broker record that is created, the Risk Calculation service calculates the risk level based on the Development Group, Service metrics, or CI rules defined in BMC Helix Multi-Cloud Broker. These metrics include the risk value and the weightage for the Development Group and Service.
- Weightages are defined in the risk rules
- Risk value of the development group is defined in the Development Groups configuration
Risk value of a service is defined from the Risk Metrics - Service record of the Risk Management service
Risk value of the development group is defined in the Development Groups configuration, and that of a CI is defined in Manage CI Property To Risk Value Mappings configuration.
The risk level is added to the change record created in BMC Helix ITSM: Smart IT from the BMC Helix Multi-Cloud Broker record.
When the change request is approved and moves to Planning in Progress, the Jira issue is updated with the approval status providing the DevOps team with the current status of a change request.
The Risk Calculation service tracks the status of the change requests. When the change is completed, based on the success or failure of the change, the risk level of the development team is increased or decreased by 20. However, the range of the risk level is maintained between 0 - 100, which ensures the risk levels are realistic and based on the capability of a development team to deliver a change.