SuggestionRule
Contains information about the suggestion rule.
The suggestion rule ID.
Example:22f72bd1-2897-473e-9471-302de3ccf38b
The display name of the suggestion rule.
>= 1 characters<= 120 characters
The description of the suggestion rule
Default:null
>= 1 characters<= 2048 characters
Example:Suggestion rule description
The integration binding object name
Example:pagerduty_service
Determines if this suggestion rule should be evaluated when generating suggested actions.
Determines if the suggested action should be applied automatically.
true: Suggested action will be applied automaticallyfalse: Suggested action will not be automatically applied, user input required
One OfThe action configuration for this system suggestion rule.
Show Child Parameters
An ISO-8601 timestamp representation of entity creation date.
Example:2022-11-04T20:10:06.927Z
An ISO-8601 timestamp representation of entity update date.
Example:2022-11-04T20:10:06.927Z
A boolean string or JQ expression that must evaluate to a boolean value.
Supports JQ expressions syntax on discovered entity’s integration_record property.
Example:.gateway_service.tags | contains(["_KonnectDeployment:"])
TestSuggestionRule
objectContains evaluation results of a suggestion rule configuration against an integration record.
Evaluation result of suggesetion rule configuration against given integration record.
Show Child Parameters
List of errors that occured when evaluating suggestion rule configuration against given integration record.
Show Child Parameters
SuggestionRuleError
Represents any errors which occured when evaluating a suggestion rule
The id of the suggestion rule error
Example:e4698717-7f0b-434d-aa16-a472089c2504
The id of the related resource which generated this error
Example:qLgnGlFp4iveGUFl
The id of the suggestion rule which generated this error
Example:fd109d4a-e183-4488-98f2-10eab0964155
Details of the error generated from the related suggested rule when evaluated
Show Child Parameters
An ISO-8601 timestamp representation of entity creation date.
Example:2022-11-04T20:10:06.927Z
An ISO-8601 timestamp representation of entity update date.
Example:2022-11-04T20:10:06.927Z
SuggestedRuleActionEvaluated
One OfAllowed values:archive
SuggestionRuleErrorDetail
objectThe type of error that occured when evaluating suggestion rule configuration against given integration record.
error: represents a generic error.timeout: timeout occured when evaluating jq expressioninvalid-expression: jq expression could not be evaluated due to syntax error(s).result-not-boolean: jq expression was not evaluated to a booleanresult-not-string: jq expression was not evaluated to a stringunexpected-result: jq expression was not evaluated to a result that could not be determinedInvalidLabelKeyInputType: Indicates the label key is of an invalid type (i.e. number or symbol)InvalidEmptyLabelKey: Indicates the label key is emptyInvalidLabelKeyFormat: Indicates that the format of the label key is invalid, ex: “-bad-format-”LabelKeyHasReservedPrefix: Indicates that the label key starts with a Kong-reserved key prefix, ex: “kong-test-key”MaxLabelKeyCharsExceeded: Indicates that a label key exceeds the maximum number of allowed charactersInvalidLabelValueInputType: Indicates the label value is of an invalid type (i.e. number or symbol)InvalidEmptyLabelValue: Indicates that the label value is emptyInvalidLabelValueFormat: Indicates that the format of the label value is invalid, ex: “-bad-format-”MaxLabelValueCharsExceeded: Indicates that a label value exceeds the maximum number of allowed charactersInvalidLabelsInputType: Indicates that a collection of labels is of an invalid type (i.e. array instead of key-value object)MaxLabelsPerEntityExceeded: Indicates that a collection of labels exceeds the maximum number of labels allowed for a given entityConflictingKeys: Indicates that labels keys are not uniqueInvalidName: Indicates that the name is invalidInvalidDisplayName: Indicates that the display name is invalidInvalidDescription: Indicates that the description is invalidInvalidLabels: Indicates that the labels are invalidInvalidMetadata: Indicates that the metadata is invalid
The field from the payload given which is responsible for this error.
Represents the resolved or unresolved JQ expression which failed validation
Details of the error which occured when evaluating suggestion rule configuration against given integration record.