Cloud Cost Recommendations

Recommendations for workloads and node pools.

Return void

Mark recommendation as applied/open

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

recommendationId
required
string
state
required
string
Enum: "OPEN" "APPLIED" "IGNORED"
Responses
400

Bad Request

500

Internal server error

default

Returns void.

post/ccm/api/recommendation/overview/change-state
Request samples
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return the number of Recommendations

Returns the total number of Cloud Cost Recommendations based on the specified filters.

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

CCM Recommendations filter body.

object (K8sRecommendationFilterProperties)

Properties of the K8sRecommendation Filter defined in Harness

Array of objects (QLCEViewFilterWrapper)

Get Recommendations for a perspective

minSaving
number <double>

Fetch recommendations with Saving more than minSaving

minCost
number <double>

Fetch recommendations with Cost more than minCost

daysBack
integer <int64>

Fetch recommendations generated in last daysBack days

offset
integer <int64>

Query Offset

limit
integer <int64>

Query Limit

childRecommendation
boolean

toggle childRecommendation value

includeIgnoredRecommendation
boolean

toggle includeIgnoredRecommendation value

parentRecommendation
boolean

toggle parentRecommendation value

Array of objects (CCMTagDTO)

Get recommendations for resources having particular tags

object

Filter tags as a key-value pair.

filterType
string
Value: "CCMRecommendation"
Responses
400

Bad Request

500

Internal server error

default

Returns the count of all Recommendations available.

post/ccm/api/recommendation/overview/count
Request samples
application/json
{
  • "k8sRecommendationFilterPropertiesDTO": {
    },
  • "perspectiveFilters": [
    ],
  • "minSaving": 0,
  • "minCost": 0,
  • "daysBack": 0,
  • "offset": 0,
  • "limit": 0,
  • "childRecommendation": true,
  • "includeIgnoredRecommendation": true,
  • "parentRecommendation": true,
  • "tagDTOs": [
    ],
  • "tags": {
    },
  • "filterType": "CCMRecommendation"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return the list of filter values for the Recommendations

Returns the list of filter values for all the specified filters.

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

Recommendation Filter Values Body.

columns
Array of strings
object (CCMRecommendationFilterProperties)

Properties of the CCMRecommendation Filter defined in Harness

Responses
400

Bad Request

500

Internal server error

default

Returns the values available for a filter.

post/ccm/api/recommendation/overview/filter-values
Request samples
application/json
{
  • "columns": [
    ],
  • "filter": {
    }
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return the list of Recommendations

Returns the list of Cloud Cost Recommendations for the specified filters.

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

CCM Recommendations filter body.

object (K8sRecommendationFilterProperties)

Properties of the K8sRecommendation Filter defined in Harness

Array of objects (QLCEViewFilterWrapper)

Get Recommendations for a perspective

minSaving
number <double>

Fetch recommendations with Saving more than minSaving

minCost
number <double>

Fetch recommendations with Cost more than minCost

daysBack
integer <int64>

Fetch recommendations generated in last daysBack days

offset
integer <int64>

Query Offset

limit
integer <int64>

Query Limit

childRecommendation
boolean

toggle childRecommendation value

includeIgnoredRecommendation
boolean

toggle includeIgnoredRecommendation value

parentRecommendation
boolean

toggle parentRecommendation value

Array of objects (CCMTagDTO)

Get recommendations for resources having particular tags

object

Filter tags as a key-value pair.

filterType
string
Value: "CCMRecommendation"
Responses
400

Bad Request

500

Internal server error

default

Returns the list of Recommendations available.

post/ccm/api/recommendation/overview/list
Request samples
application/json
{
  • "k8sRecommendationFilterPropertiesDTO": {
    },
  • "perspectiveFilters": [
    ],
  • "minSaving": 0,
  • "minCost": 0,
  • "daysBack": 0,
  • "offset": 0,
  • "limit": 0,
  • "childRecommendation": true,
  • "includeIgnoredRecommendation": true,
  • "parentRecommendation": true,
  • "tagDTOs": [
    ],
  • "tags": {
    },
  • "filterType": "CCMRecommendation"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return Recommendations statistics Grouped on Resource Type

Returns the Cloud Cost Recommendations statistics for the specified filters Grouped on Resource Type.

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

CCM Recommendations filter body.

object (K8sRecommendationFilterProperties)

Properties of the K8sRecommendation Filter defined in Harness

Array of objects (QLCEViewFilterWrapper)

Get Recommendations for a perspective

minSaving
number <double>

Fetch recommendations with Saving more than minSaving

minCost
number <double>

Fetch recommendations with Cost more than minCost

daysBack
integer <int64>

Fetch recommendations generated in last daysBack days

offset
integer <int64>

Query Offset

limit
integer <int64>

Query Limit

childRecommendation
boolean

toggle childRecommendation value

includeIgnoredRecommendation
boolean

toggle includeIgnoredRecommendation value

parentRecommendation
boolean

toggle parentRecommendation value

Array of objects (CCMTagDTO)

Get recommendations for resources having particular tags

object

Filter tags as a key-value pair.

filterType
string
Value: "CCMRecommendation"
Responses
400

Bad Request

500

Internal server error

default

Returns the statistics of all Recommendations available Grouped on Resource Type.

post/ccm/api/recommendation/overview/resource-type/stats
Request samples
application/json
{
  • "k8sRecommendationFilterPropertiesDTO": {
    },
  • "perspectiveFilters": [
    ],
  • "minSaving": 0,
  • "minCost": 0,
  • "daysBack": 0,
  • "offset": 0,
  • "limit": 0,
  • "childRecommendation": true,
  • "includeIgnoredRecommendation": true,
  • "parentRecommendation": true,
  • "tagDTOs": [
    ],
  • "tags": {
    },
  • "filterType": "CCMRecommendation"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Return Recommendations statistics

Returns the Cloud Cost Recommendations statistics for the specified filters.

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema: application/json
required

CCM Recommendations filter body.

object (K8sRecommendationFilterProperties)

Properties of the K8sRecommendation Filter defined in Harness

Array of objects (QLCEViewFilterWrapper)

Get Recommendations for a perspective

minSaving
number <double>

Fetch recommendations with Saving more than minSaving

minCost
number <double>

Fetch recommendations with Cost more than minCost

daysBack
integer <int64>

Fetch recommendations generated in last daysBack days

offset
integer <int64>

Query Offset

limit
integer <int64>

Query Limit

childRecommendation
boolean

toggle childRecommendation value

includeIgnoredRecommendation
boolean

toggle includeIgnoredRecommendation value

parentRecommendation
boolean

toggle parentRecommendation value

Array of objects (CCMTagDTO)

Get recommendations for resources having particular tags

object

Filter tags as a key-value pair.

filterType
string
Value: "CCMRecommendation"
Responses
400

Bad Request

500

Internal server error

default

Returns the statistics of all Recommendations available.

post/ccm/api/recommendation/overview/stats
Request samples
application/json
{
  • "k8sRecommendationFilterPropertiesDTO": {
    },
  • "perspectiveFilters": [
    ],
  • "minSaving": 0,
  • "minCost": 0,
  • "daysBack": 0,
  • "offset": 0,
  • "limit": 0,
  • "childRecommendation": true,
  • "includeIgnoredRecommendation": true,
  • "parentRecommendation": true,
  • "tagDTOs": [
    ],
  • "tags": {
    },
  • "filterType": "CCMRecommendation"
}
Response samples
application/json
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}