Skip to main content
Skip table of contents

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.

Rally Notification - CA_logo_black.png To see how Cloudaware seamlessly integrates with Rally in action, request a demo.

Add a Rally server

  1. Log in to Cloudaware → Admin.

    Rally Notification - admin.png

  2. Find Rally Notification in Other Integrations. Click +ADD.

    Rally Notification - admin - add Rally Notification integration.png

  3. Fill out the form:

    Rally Notification - integration details - credentials.png

    WHERE
    Server URL – for SaaS Rally, use the server URL in the format https://rally1.rallydev.com/ (US) or https://eu1.rallydev.com/(EU) depending on location; for on-prem Rally, use the public server URL
    Username – the Rally username
    Password – the Rally password

    Click GET PROJECTS. Select a Rally project from the drop-down list.

    Set up a Defect details that will be displayed in Rally:

    Rally Notification - integration details - defect.png

    WHERE
    Name – a descriptive name for the Rally Defect, e.g. New compliance violation
    Description – a Defect description in .html format
    Sample description with the CIS Benchmark Check fields:

    CODE
    '<p>New high severity violation:&nbsp;&nbsp;<a class="cke-link-popover-active" href="https://cloudaware-000.lightning.force.com/' + sObject.Id + '">' + sObject.Name + '</a></p>' +
    '<p><strong>Policy Name:</strong>&nbsp;' + sObject.Policy_Name__c + '<br />' +
    '<strong>Subject:</strong>&nbsp;' + sObject.CA10__subject__c + '<br />' +
    '<strong>Severity:</strong>&nbsp;' + sObject.Severity__c + '<br />' +
    '<strong>Status:</strong>&nbsp;' + sObject.CA10__status__c + '<br />' +
    '<strong>Incompliant Start Date:</strong>&nbsp;' + 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.

  1. A green light in the ‘Status’ column indicates successful configuration. If the light is red, contact support@cloudaware.com.

    Rally Notification - integration status.png

Set up notifications

Cloudaware uses flows to send notifications to Rally. Set up a flow to create Rally defects (notifications) whenever specific criteria are met.

Use case: A security team configures alerts for incompliant benchmark checks with high severity. Whenever a new high-severity benchmark check is created and the ‘Incompliant End Date’ field remains blank as the violation is still open, Cloudaware triggers the flow to create a new Rally defect.

Сonfigure an outbound message

  1. In Cloudaware CMDB Navigator, go to Setup.

  2. In the Quick Find bar, type Outbound → under Workflow Actions, select 'Outbound Message' → New Outbound Message.

  3. From the drop-down list, select the object (for this example, CloudAware Benchmark Check). Click Next.

  4. Configure the outbound message:
    Name – enter a descriptive name, e.g. Rally Defect: New Incompliant Benchmark Check
    Endpoint URL – paste the saved URL from the Rally Notification integration in Cloudaware
    Selected Fields – drag fields from the 'Available Fields' to the right column using the arrow buttons, e.g. Name, CA10__subject__c, CA10__status__c, CA10__incompliantStartDate__c, and CA10__awsAccount__c (for AWS)

    Click Save.

Configure a flow

After the outbound message is created, set up a flow to send notifications to Rally.

 

  1. Go back to Setup.

  2. In the Quick Find bar, type Flows → select 'Flow' → New Flow.

  3. Select 'Start From Scratch' → Next.

  4. Select 'Record-Triggered Flow' → Create.

  5. Select the object, configure a trigger, and set entry conditions, e.g. for this example:

    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: True


    Leave the tile 'Actions and Related Records' selected. Click Next.

  6. 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).

  7. Provide a name for the flow action, e.g. Create Rally Defect For New Incompliant Benchmark Check.

  8. Click Save and provide a meaningful name for the flow, e.g. Rally Defect for New Benchmark Check.

  9. Click Activate to enable the flow.

Sample Defect in Rally

Here is a sample Defect (notification) created in Rally based on the flow for Cloudaware Compliance Engine violations:

Rally Notification - Rally Defect details.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.