Green Deficiencies Detection Patterns


Overview

Get the Green Deficiencies code detection patterns summary of an application. The service returns the code detection pattern description and the number of impacted objects. These insights come from the com.castsoftware.highlight2mriexternal link scanner.

URI

GET /rest/applications/{name}/insights/green-detection-patterns

Path parameters

name (string)

This parameter identifies the analyzed application. The application name must be properly encoded if it is required. Character back-quote is not allowed.

Query parameters

contribution (string)

Filter detection patterns on a contribution mode:

  • Blocker
  • Booster.

Responses

application/json

The response is the list of Green Deficiencies insights. Example:

[
  {
    "id": "1200125",
    "name": "Green - Use a virtualized environment where possible",
    "contribution": {
      "id": "Blocker"
    },
    "nbObjects": 1
  },
]

JSON representation

Property Type Description
id string Code Detection Pattern reference ID.
name string Code Detection Pattern name.
contribution.id string Either ‘Blocker’ or ‘Booster’.
nbObjects integer The number of impacted objects