Skip to content

Commit

Permalink
fix(summary): limited summary to 255 characters only (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
maira-samtek authored Jul 1, 2024
1 parent 4985275 commit cec727b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macpro-security-hub-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export class SecurityHubJiraSync {
console.log(priorities);
const newIssueData: IssueObject = {
fields: {
summary: `SecurityHub Finding - ${finding.title}`,
summary: `SecurityHub Finding - ${finding.title}`.substring(0, 255),
description: this.createIssueBody(finding),
issuetype: { name: "Task" },
labels: [
Expand Down

0 comments on commit cec727b

Please sign in to comment.