Skip to content

Commit

Permalink
fix: add missing permission for detection -> enrichment bucket
Browse files Browse the repository at this point in the history
Signed-off-by: 🐼 Samrose Ahmed 🐼 <[email protected]>
  • Loading branch information
Samrose-Ahmed committed Jun 7, 2023
1 parent 3a12328 commit 8371bd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infra/src/DPMainStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export class DPMainStack extends MatanoStack {
"ENRICHMENT_TABLES_BUCKET",
enrichment.enrichmentTablesBucket.bucketName
);
enrichment.enrichmentTablesBucket.grantRead(detections.detectionFunction);
}

const resolvedLogSourceConfigs: Record<string, any> = Object.fromEntries(
Expand Down

0 comments on commit 8371bd4

Please sign in to comment.