Description
Jira tickets for few vulnerability reports coming from Trivy Operator is not being opened. We are observing the following error in Postee logs:
Failed to open jira issue, {"errorMessages":[],"errors":{"description":"The entered text is too long. It exceeds the allowed limit of 32,767 characters."}}
This is happening with the postee.trivyoperator.jira template. Is there a way to prevent such error and make sure the ticket is opened?
What did you expect to happen?
The Jira ticket to be opened
What happened instead?
The Jira ticket is not being opened
Output of run with POSTEE_DEBUG=true:
Additional details (environment setup, networking info...):
Docker image:
postee:2.14.0-amd64
Configuration:
name: tenant
max-db-size: 1000MB
db-verify-interval: 1
routes:
- name: Trivy Operator Alerts
input: input.report.summary.criticalCount > 0
actions: [jira]
template: trivy-operator-jira
plugins:
unique-message-props: ["report.artifact.digest", "report.vulnerabilities"]
unique-message-timeout: 30d
templates:
- name: trivy-operator-jira
rego-package: postee.trivyoperator.jira
actions:
- name: jira
type: jira
enable: true
url: "xxxx"
user: "xxxx"
password: "xxxx"
project-key: "xxxx"
Description
Jira tickets for few vulnerability reports coming from Trivy Operator is not being opened. We are observing the following error in Postee logs:
This is happening with the postee.trivyoperator.jira template. Is there a way to prevent such error and make sure the ticket is opened?
What did you expect to happen?
The Jira ticket to be opened
What happened instead?
The Jira ticket is not being opened
Output of run with
POSTEE_DEBUG=true:Additional details (environment setup, networking info...):
Docker image:
postee:2.14.0-amd64
Configuration: