Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slim down the SQL policy verifier and separate it from datalog_policy_verifier. #755

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

Slim down the SQL policy verifier and separate it from datalog_policy_verifier.

In the early days of Raksha, we created the datalog_policy_verifier. This was before we understood that the Souffle language and the Souffle internal architecture meant that we would have to create a separate library per policy interface, and that having one Souffle library to serve all of our needs probably wasn't going to cut it.

Others coming to the Raksha project saw the name and, quite reasonably, believed it was the generic Raksha analysis rather than a SQL-verifier-specific analysis. Attempts to use this library as a generic policy library made it bloated and tangled.

This commit attempts to move us to a better state by separating out the SQL policy verifier into a separate sql_policy_verifier_interface and associated sql_policy_verifier. This allows slimming down that library and extracting it from the tangle. The datalog_policy_verifier is now not used for any production purpose, and we can clean it up at our leisure.

Fixes #747
See #728

@copybara-service copybara-service bot force-pushed the test_479677692 branch 2 times, most recently from 2c9d849 to 7ee871f Compare October 7, 2022 23:17
@copybara-service copybara-service bot closed this Oct 7, 2022
@copybara-service copybara-service bot deleted the test_479677692 branch October 7, 2022 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

souffle_policy_checker library is linked with many test-only libraries in production.
0 participants