Skip to content

Commit

Permalink
cloudtrail/bucket_access_logging:snowflake
Browse files Browse the repository at this point in the history
  • Loading branch information
candiduslynx committed Dec 23, 2023
1 parent b705ea1 commit 80855d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ select
t.arn as resource_id,
case
when l.logging_enabled is null then 'fail'
when l.logging_enabled -> 'TargetBucket' is null then 'fail'
when l.logging_enabled -> 'TargetPrefix' is null then 'fail'
when l.logging_enabled:TargetBucket is null then 'fail'
when l.logging_enabled:TargetPrefix is null then 'fail'
else 'pass'
end as status
from aws_cloudtrail_trails t
Expand Down

0 comments on commit 80855d1

Please sign in to comment.