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

Incorporate FAC REST File Scanner into Shared Modules #41

Open
asteel-gsa opened this issue May 14, 2024 · 0 comments
Open

Incorporate FAC REST File Scanner into Shared Modules #41

asteel-gsa opened this issue May 14, 2024 · 0 comments

Comments

@asteel-gsa
Copy link
Contributor

asteel-gsa commented May 14, 2024

As discussed with Ryan we would like to incorporate the FAC File Scanner which utilizes a small flask application FAC Periodic Scanner to scan files recursively at rest from an S3 target.

The purpose of this application is to:

  • Create a small application with terraform
  • Utilize a second clamav instance to retroactively scan all files in an s3
  • Bind s3 bucket to running application
  • Use ClamAV curl to scan files and attach last-scanned metadata to the file
  • Utilize the logshipper to stream app logs to new relic.

This does not:

  • Automate quarantining of files to the dedicated quarantine bucket, as that has been deemed a manual IR task by the FAC

Considerations:

  • The clamav url needs to be sent as input to the module, as that is stored in VCAP_SERVICES as credentials
  • It will need to bind the src bucket to read from, the quarantine bucket it creates as part of the module and an existing logdrain sysurl
  • We opted to give this its own dedicated ClamAV to scan with, though doesn't need one. A secondary clamav would not be part of this module, just the input of the SCAN_URL

Ticket is subject to change as this is a temporary placeholder to give a brief overview.

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

No branches or pull requests

1 participant