forked from baron/baron-sso
chore: consolidate local integration changes
This commit is contained in:
@@ -80,6 +80,11 @@ public.users:228
|
||||
public.tenants:266
|
||||
public.relying_parties:1
|
||||
EOF
|
||||
cat >"$tmp_dir/reports/baron-postgres-custom-claim-counts.txt" <<'EOF'
|
||||
public.rp_user_metadata:7
|
||||
public.users.global_custom_claims:3
|
||||
public.users.global_custom_claim_types:2
|
||||
EOF
|
||||
cat >"$tmp_dir/reports/ory_hydra-row-counts.txt" <<'EOF'
|
||||
public.hydra_client:5
|
||||
EOF
|
||||
@@ -90,8 +95,17 @@ grep -Fq "# Baron SSO Backup Report" "$backup_md" || fail "backup report must ha
|
||||
grep -Fq "| 사용자 | 228 |" "$backup_md" || fail "backup report must include user count."
|
||||
grep -Fq "| 테넌트 | 266 |" "$backup_md" || fail "backup report must include tenant count."
|
||||
grep -Fq "| RP | 1 |" "$backup_md" || fail "backup report must include RP count."
|
||||
grep -Fq "| RP 사용자 custom claim | 7 |" "$backup_md" || fail "backup report must include RP user custom claim count."
|
||||
grep -Fq "| 전역 custom claim 사용자 | 3 |" "$backup_md" || fail "backup report must include global custom claim user count."
|
||||
grep -Fq "| postgres | 2 |" "$backup_md" || fail "backup report must include service duration."
|
||||
|
||||
grep -Fq "baron-postgres-custom-claim-counts.txt" "$repo_root/scripts/backup/lib/postgres.sh" \
|
||||
|| fail "Baron Postgres dump must collect custom claim backup verification counts."
|
||||
grep -Fq "global_custom_claims" "$repo_root/scripts/backup/lib/postgres.sh" \
|
||||
|| fail "Baron Postgres dump must count users.metadata.global_custom_claims for backup verification."
|
||||
grep -Fq "rp_user_metadata" "$repo_root/scripts/backup/lib/postgres.sh" \
|
||||
|| fail "Baron Postgres dump must count rp_user_metadata rows for backup verification."
|
||||
|
||||
printf 'original\n' >"$tmp_dir/example.txt"
|
||||
(cd "$tmp_dir" && sha256sum example.txt > checksums.sha256)
|
||||
printf 'changed\n' >"$tmp_dir/example.txt"
|
||||
|
||||
Reference in New Issue
Block a user