Skip to content

Commit

Permalink
fix(product-label): added product label to jira ticket (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
maira-samtek authored Jul 3, 2024
1 parent 369d1a4 commit e944699
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/security-hub-lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export interface SecurityHubFinding {
description?: string;
standardsControlArn?: string;
remediation?: Remediation;
ProductName?: string;
Resources?: Resource[];
}

Expand Down Expand Up @@ -147,6 +148,7 @@ export class SecurityHub {
? finding.ProductFields.StandardsControlArn
: "",
remediation: finding.Remediation,
ProductName: finding.ProductName,
Resources: finding.Resources as unknown as Resource[],
};
}
Expand Down
1 change: 1 addition & 0 deletions src/macpro-security-hub-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ export class SecurityHubJiraSync {
"security-hub",
finding.severity,
finding.accountAlias,
finding.ProductName,
...identifyingLabels,
],
priority: {
Expand Down

0 comments on commit e944699

Please sign in to comment.