Skip to content

Commit f65d9da

Browse files
authored
fix(aws): Update EBS Snapshot Permissions Check Query (#10149)
#### Summary closes #10140
1 parent 2c0bbeb commit f65d9da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/source/aws/policies/queries/ec2/ebs_snapshot_permissions_check.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SELECT DISTINCT
1919
-- this is under question because
2020
-- trusted accounts(user_id) do not violate this control
2121
OR user_id IS DISTINCT FROM ''
22-
then 'pass'
23-
else 'fail'
22+
then 'fail'
23+
else 'pass'
2424
end as status
2525
FROM snapshot_access_groups

0 commit comments

Comments
 (0)