Skip to content

Commit

Permalink
Fix the query in the aws_s3_bucket docs to correctly filter out bucke…
Browse files Browse the repository at this point in the history
…ts without the "application" tag (#2093)
  • Loading branch information
misraved authored Mar 1, 2024
1 parent 338ff3e commit b41f5a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tables/aws_s3_bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ where
```

### List buckets without the 'application' tags key
Discover the segments that have been tagged specifically for application purposes within your AWS S3 buckets. This is particularly useful for managing and organizing your buckets based on their intended application usage.
Discover the buckets that have not been tagged specifically for application purposes. This is particularly useful for managing and organizing your buckets based on their intended application usage.

```sql+postgres
select
Expand All @@ -177,7 +177,7 @@ select
from
aws_s3_bucket
where
tags ->> 'application' is not null;
tags ->> 'application' is null;
```

```sql+sqlite
Expand All @@ -187,7 +187,7 @@ select
from
aws_s3_bucket
where
json_extract(tags, '$.application') is not null;
json_extract(tags, '$.application') is null;
```

### List buckets that enforce encryption in transit
Expand Down

0 comments on commit b41f5a9

Please sign in to comment.