File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 63
63
CHANGED_FILE="masking/data-classification.json"
64
64
echo "Processing: $CHANGED_FILE"
65
65
66
- response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.data-classification" \
66
+ response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/v1/ settings/bb.workspace.data-classification" \
67
67
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
68
68
--header "Content-Type: application/json" \
69
69
--data @"$CHANGED_FILE")
90
90
echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep "global-masking-rule.json" | while read -r CHANGED_FILE; do
91
91
echo "Processing: $CHANGED_FILE"
92
92
93
- response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/settings/bb.workspace.global-masking-rule ?allow_missing=true" \
93
+ response=$(curl -s -w "\n%{http_code}" --request PATCH "${{ steps.bytebase-login.outputs.api_url }}/v1/policies/masking_rule ?allow_missing=true&update_mask=payload " \
94
94
--header "Authorization: Bearer ${{ steps.bytebase-login.outputs.token }}" \
95
95
--header "Content-Type: application/json" \
96
96
--data @"$CHANGED_FILE")
You can’t perform that action at this time.
0 commit comments