-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix security policy to work without log group
- Loading branch information
Ivan Vlasic
committed
Dec 20, 2021
1 parent
942c01f
commit 7e80994
Showing
4 changed files
with
65 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,27 @@ | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
|
||
|
||
{ | ||
"Action": [ | ||
"s3:PutObject" | ||
], | ||
"Effect": "Allow", | ||
"Resource": "arn:aws:s3:::bucket1/*" | ||
}, | ||
} | ||
|
||
|
||
, | ||
{ | ||
"Action": [ | ||
"s3:PutObject" | ||
], | ||
"Effect": "Allow", | ||
"Resource": "arn:aws:s3:::bucket2/*" | ||
}, | ||
|
||
} | ||
|
||
|
||
{ | ||
"Action": [ | ||
"logs:DescribeLogStreams", | ||
"logs:FilterLogEvents" | ||
], | ||
"Effect": "Allow", | ||
"Resource": "arn:aws:logs:region:123456789012:log-group:logGroupsPrefix*" | ||
} | ||
|
||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
|
||
|
||
{ | ||
"Action": [ | ||
"s3:PutObject" | ||
], | ||
"Effect": "Allow", | ||
"Resource": "arn:aws:s3:::bucket1/*" | ||
} | ||
|
||
|
||
, | ||
{ | ||
"Action": [ | ||
"s3:PutObject" | ||
], | ||
"Effect": "Allow", | ||
"Resource": "arn:aws:s3:::bucket2/*" | ||
} | ||
|
||
|
||
|
||
,{ | ||
"Action": [ | ||
"logs:DescribeLogStreams", | ||
"logs:FilterLogEvents" | ||
], | ||
"Effect": "Allow", | ||
"Resource": "arn:aws:logs:region:123456789012:log-group:logGroupsPrefix*" | ||
} | ||
|
||
] | ||
} |