Skip to content

[JN-1644] virus scanning infrastructure #1547

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

Merged
merged 9 commits into from
Mar 25, 2025

Conversation

connorlbark
Copy link
Collaborator

@connorlbark connorlbark commented Mar 17, 2025

DESCRIPTION (include screenshots, and mobile screenshots for participant UX)

Originally, I thought it would be best to run this code in Eng infra. After some reflection (and it proving to be more difficult than I thought), I realized it might be better to keep prod/dev virus scanning separate.

TO TEST: (simple manual steps for confirming core behavior -- used for pre-release checks)

# file has to have some content otherwise it won't get scanned
echo "test" > <unique filename>.txt
gsutil cp <unique filename>.txt gs://juniper-participant-documents-dev-unscanned/<unique filename>.txt
# should move pretty much instantly
gsutil ls gs://juniper-participant-documents-dev-unscanned
gsutil ls gs://juniper-participant-documents-dev-clean

@connorlbark connorlbark changed the title WIP virus scanning [JN-1644] virus scanning infrastructure Mar 18, 2025
@connorlbark connorlbark marked this pull request as ready for review March 18, 2025 13:38
Copy link
Member

@MatthewBemis MatthewBemis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Just left one quick question.

I'll close out this PR too since it no longer brings anything to the table.

Comment on lines 12 to 14
artifact_registry = "juniper"
artifact_registry_project = "broad-juniper-eng-infra"
artifact_registry_location = "us-central1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do these need to be explicitly set here since they're the defaults in variables.tf?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, they don't. I'll remove them when I apply to prod.

@connorlbark connorlbark merged commit fa6d160 into development Mar 25, 2025
17 checks passed
@connorlbark connorlbark deleted the cb-auto-virus-scanning branch March 25, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants