Green Deficiencies Detection Patterns
Draft
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 CAST Highlight 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