Skip to main content

This rule checks for the use of particular SQL predicates in the query. It is important to exclude SQL predicates from the query to prevent SQL injection attacks.

Project description

guardrails-ai-exclude-sql-predicates

This rule checks for the use of particular SQL predicates in the query. It is important to exclude SQL predicates from the query to prevent SQL injection attacks.

Installation

pip install guardrails-ai-exclude-sql-predicates

This validator ships local models. After installing, run the post-install step to download them:

python -m guardrails_ai.exclude_sql_predicates.post_install

Usage

from guardrails import Guard
from guardrails_ai.exclude_sql_predicates import ExcludeSqlPredicates

guard = Guard().use(ExcludeSqlPredicates)

License

MIT — © Guardrails AI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

guardrails_ai_exclude_sql_predicates-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file guardrails_ai_exclude_sql_predicates-0.1.0.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_exclude_sql_predicates-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ea3ee017ceb1626d15adb9c4fb52aa11a1d97b9ceacbc6c8fa3c5c95e04c3a7d
MD5 01399c668b29a6b2a13aa3c147b59510
BLAKE2b-256 ff98f5b4395c55a6f2ddf75ae1a2bc33d6207a025055c3aa32af4ae9bd9a5b85

See more details on using hashes here.

File details

Details for the file guardrails_ai_exclude_sql_predicates-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_exclude_sql_predicates-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2787a3bec6880698629117c0c1a13bc6418f188a5c3bd1eb783f8cb2d09c4c1b
MD5 60b4d9a77d4b59cb55fdf7c88fd74a56
BLAKE2b-256 9be85e4b0d4ba47982381e75374666e6b667b0bb623cf882d3e3f5f4ad569509

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page