Pii Checker with Snowflake

I am using PII checker lib for scanning pii data in snowflake database.

but scan_snowflake function is internally creating url with postgreSQL here is my code

catalog_params = {"app_dir": ":memory:"}
output = scan_snowflake(catalog_params=catalog_params, name="pii_db",
                        username={snowflake_username}, password={snowflake_password},
                        database={snowflake_database}, warehouse=args.warehouse,
                        role=args.role, account=args.account)
print(output)

Can anyone please tell how to get PII data of snowflake using PII catcher API?

1

1 Answer

Looks like it is used from command line:

$ piicatcher scan snowflake [OPTIONS]

More details:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest