Skip to content

Commit 9ad272b

Browse files
committed
updated workflow
1 parent 242e196 commit 9ad272b

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,11 @@ This step demonstrates how to use the `stackql-assert` action to run a complianc
134134
uses: stackql/stackql-assert@v1.3.1
135135
with:
136136
test_query: |
137-
SELECT
138-
name,
139-
labels,
140-
metadata
141-
FROM
142-
gcp_compute_instance
143-
WHERE
144-
metadata.items[0].value = 'test'
137+
SELECT name
138+
, JSON_EXTRACT(iamConfiguration, '$.publicAccessPrevention') as publicAccessPrevention
139+
FROM google.storage.buckets
140+
WHERE project = 'stackql-demo-2'
141+
AND publicAccessPrevention = 'inherited';
145142
expected_rows: 0
146143
env:
147144
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}

0 commit comments

Comments
 (0)