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

Ignore target/ folder from make bandit #6843

Merged
merged 1 commit into from
Jun 14, 2023
Merged

Ignore target/ folder from make bandit #6843

merged 1 commit into from
Jun 14, 2023

Conversation

legoktm
Copy link
Member

@legoktm legoktm commented Jun 12, 2023

Status

Ready for review

Description of Changes

While this is nearly all Rust code, some packages do contain and ship Python code, e.g.:
./target/cargo-dev/registry/src/index.crates.io-6f17d22bba15001f/unicode-normalization-0.1.22/scripts/unicode.py

This follows up cc61d83.

Testing

  • Start the development environment with make dev, wait for it to build the Rust/redwood wheel and then stop it
  • pip install -U bandit && make bandit - see: Issue: [B310:blacklist] Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
  • Check out this patch
  • Re-run make bandit - no errors.

Deployment

Any special considerations for deployment? No

Checklist

  • I have written a test plan and validated it for this PR

While this is nearly all Rust code, some packages do contain
and ship Python code, e.g.:
 ./target/cargo-dev/registry/src/index.crates.io-6f17d22bba15001f/unicode-normalization-0.1.22/scripts/unicode.py

This follows up cc61d83.
@legoktm legoktm requested a review from a team as a code owner June 12, 2023 19:05
@eaon eaon merged commit e22374d into develop Jun 14, 2023
@eaon eaon deleted the bandit-target branch June 14, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants