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

Updating Clam config and clamdscan path #1518

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

nsabri1
Copy link
Contributor

@nsabri1 nsabri1 commented Nov 30, 2023

This changes paths for Staging and Production:

New ClamAV config and engine 1.2.1 has been tested in integration - Uploading asset on Whitehall, then checking logs to see virus scan completed and asset added to AWS S3.

Pre req:(this code should be merged after)
alphagov/asset-manager#1248

Tested output of change via helm template:
helm template asset-clam ../asset-manager --values <(helm template . --values values-${ENV}| yq e '.|select(.metadata.name == "asset-manager").spec.source.helm.values') --set sentry.createSecret=false

Output for Prod mount:

              volumeMounts:
                - name: etc-clamav mountPath: /usr/local/etc

Output for Staging mount:

   volumeMounts:
               - name: etc-clamav mountPath: /usr/local/etc

https://trello.com/c/TicAq9G1/1238-update-clamav-engine-to-latest-version

This changes paths for Staging and Production:

New clam config has been tested in integration - by uploading asset on
Whitehall and then checking logs to see virus scan completed and asset
added to AWS S3.

helm template asset-clam ../asset-manager --values <(helm template . --values values-production.yaml | yq e '.|select(.metadata.name == "asset-manager").spec.source.helm.values') --set sentry.createSecret=false

Output for Prod mount:

              volumeMounts:
                - name: etc-clamav
                  mountPath: /usr/local/etc

helm template asset-clam ../asset-manager --values <(helm template . --values values-staging.yaml | yq e '.|select(.metadata.name == "asset-manager").spec.source.helm.values') --set sentry.createSecret=false

Output for staging mount:

              volumeMounts:
                - name: etc-clamav
                  mountPath: /usr/local/etc

https://trello.com/c/TicAq9G1/1238-update-clamav-engine-to-latest-version
@nsabri1 nsabri1 merged commit a942822 into main Dec 1, 2023
3 checks passed
@nsabri1 nsabri1 deleted the nsabri1/update-clam-config branch December 1, 2023 09:56
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.

2 participants