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

Add example policies in policies #8

Closed
cdstanford opened this issue Dec 18, 2022 · 1 comment
Closed

Add example policies in policies #8

cdstanford opened this issue Dec 18, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@cdstanford
Copy link
Collaborator

cdstanford commented Dec 18, 2022

This is a follow-up issue to #7.
Once you have added a test crate, write a policy for the crate in policies/<crate name>.toml The policy should have the same name as the crate. You can look at the existing policies to see the expected policy syntax.

To check your policy against the crate: run

./scan.py -c <crate name> -t -p policies/<crate name>.toml

and look at the output. It should inform you of any effects found in the source code that are not noted in the policy. Report anything weird or errors that you find!

@cdstanford cdstanford added the good first issue Good for newcomers label Dec 18, 2022
@cdstanford cdstanford changed the title Add example policies in policies/ Add example policies in policies/ Dec 18, 2022
@cdstanford cdstanford changed the title Add example policies in policies/ Add example policies in policies Dec 18, 2022
@cdstanford cdstanford unassigned deian and talg Feb 8, 2023
@cdstanford
Copy link
Collaborator Author

closing as obsolete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants