Rally Notification
Rally is an enterprise-class platform that is purpose-built to scale agile development practices. This guide explains how to configure the creation of Rally Defects based on specific criteria in Cloudaware.
To see how Cloudaware seamlessly integrates with Rally in action, request a demo.
Add Rally server
Log in to Cloudaware account → Admin.
Find Rally Notification in Other Integrations. Click +Add.
Fill out the form:
WHERE
Server URL - for SaaS Rally, enter the server URL in the format https://rally1.rallydev.com/ or https://eu1.rallydev.com/ depending on location; for on-prem Rally, use the server public URL
Username - enter the username
Password - enter the password
Click Get Projects. Select a Rally project from the list.
Set up a Defect details that will be displayed in Rally:WHERE
Name - enter the Defect name that will be created in Rally, e.g. New compliance violation
Description - enter the description for a Defect in.html
format
Here is a sample description with the CIS Benchmark Check fields:CODE'<p>New high severity violation: <a class="cke-link-popover-active" href="https://cloudaware-000.lightning.force.com/' + sObject.Id + '">' + sObject.Name + '</a></p>' + '<p><strong>Policy Name:</strong> ' + sObject.Policy_Name__c + '<br />' + '<strong>Subject:</strong> ' + sObject.CA10__subject__c + '<br />' + '<strong>Severity:</strong> ' + sObject.Severity__c + '<br />' + '<strong>Status:</strong> ' + sObject.CA10__status__c + '<br />' + '<strong>Incompliant Start Date:</strong> ' + sObject.CA10__incompliantStartDate__c + '<br />' + '<strong>Account</strong>: ' + sObject.CA10__awsAccount__c + '</p>'
WHERE
https://cloudaware-000.lightning.force.com/
is a placeholder for a dedicated Cloudaware instance web address link
Environment (optional) - specify Rally environment (Development, Test, Staging, Production)
Severity (optional) - specify Defect severity (Crash/Data Loss, Major Problem, Minor Problem, Cosmetic)
If values in Environment and Severity fields differ from the accepted ones, they will not be defined in a Defect. Cloudaware also supports JS expressions, e.g. sObject.Severity__c can be used to define the field that should be present as a Defect attribute.
Click Save.
The green light in 'Status' means that your Rally Notification integration has been successfully configured. If there is a red light, please contact support@cloudaware.com.
Set up notifications
Cloudaware uses flows to send notifications to Rally. Set up a flow to trigger the creation of Rally Defects (notifications) whenever specific criteria are met.
Use case: a security team must configure alerts for incompliant benchmark checks with high severity. Whenever a new high-severity benchmark check is created, the ‘Incompliant End Date’ field remains blank because the violation is still open. When these conditions are met, Cloudaware triggers the workflow rule to create a new defect in Rally.
Сonfigure an outbound message
From Cloudaware CMDB Navigator, go to Setup.
Type Outbound in Quick Find bar → select 'Outbound Message' under Workflow Actions → New Outbound Message.
Select the object from the drop-down list (in this case, CloudAware Benchmark Check). Click Next.
Configure the outbound message:
Name - provide a meaningful name, e.g. Rally Defect: New Incompliant Benchmark Check
Endpoint URL - paste the saved URL from Rally Notification integration in Cloudaware
Selected Fields - drag fields from the list 'Available Fields' one by one to the right column using the arrow buttons, e.g.Name
,CA10__subject__c
,CA10__status__c
,CA10__incompliantStartDate__c
, andCA10__awsAccount__c
(for AWS)
Click Save.
Configure a flow
Once the outbound message is configured, set up a flow to send notifications to Rally.
Go back to Setup.
Type Flows in Quick Find bar → select 'Flow' → New Flow.
Select 'Start From Scratch' → Next.
Select 'Record-Triggered Flow' → Create.
Select the object, configure a trigger, and set entry conditions, e.g. for this use case:
Object: CloudAware Benchmark Check
Trigger the Flow when: A record is created
Condition Requirements: All Conditions are Met (AND)
Field: Status
Operator: Equals
Value: Incompliant
AND
Field: Severity
Operator: Equals
Value: High
AND
Field: Incompliant End Date
Operator: Is Null
Value: TrueLeave the tile 'Actions and Related Records' selected. Click Next.
Add Action: click 'plus' sign on the flow diagram → Action → Outbound Messages → select the outbound message created earlier (in this case, Rally Defect: New Incompliant Benchmark Check)
Provide a name for flow action, e.g. Create Rally Defect For New Incompliant Benchmark Check.
Click Save to save the flow under a meaningful name, e.g. Rally Defect for new benchmark check.
Click Activate to activate the workflow.
Sample Defect in Rally
Here is a sample Defect (notification) created in Rally based on the flow for Cloudaware Compliance Engine violations:
