Skip to content

Commit

Permalink
fix(remediation): hide remediation text if values not present
Browse files Browse the repository at this point in the history
  • Loading branch information
maira-samtek committed Aug 14, 2024
1 parent 2a8e703 commit 46db8bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/macpro-security-hub-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,14 @@ export class SecurityHubJiraSync {
${description}
h2. Remediation:
${
remediationText || remediationUrl
? `h2. Remediation:
${remediationUrl}
${remediationText}
${remediationText}`
: ""
}
h2. AWS Account:
${awsAccountId} (${accountAlias})
Expand Down

0 comments on commit 46db8bd

Please sign in to comment.