-
Notifications
You must be signed in to change notification settings - Fork 15
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
added a popover for av results on files #1507
Conversation
backend/config/default.cjs
Outdated
@@ -205,6 +209,10 @@ module.exports = { | |||
audit: { | |||
kind: 'silly', | |||
}, | |||
|
|||
avScanning: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also have this config in this file:
avScanning: {
enabled: false,
clamdscan: {
host: '127.0.0.1',
port: 3310,
},
},
Should they all be enabled/disabled or is it expected that they're not aligned?
</Grid> | ||
<Grid item xs={1} textAlign='right'> | ||
<Typography variant='caption'>{prettyBytes(file.size)}</Typography> | ||
<> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fragment can be removed
@@ -135,6 +135,10 @@ export interface Config { | |||
text: string | |||
startTimestamp: string | |||
} | |||
|
|||
avScanning: { | |||
enabled: boolean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to remove the existing avScanning.enabled
configuration, as they're now duplicated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration to enable av scanning should be in the Docker Compose configuration file because you need to use Docker Compose to have the AV scanner running
@@ -191,6 +190,10 @@ module.exports = { | |||
text: '', | |||
startTimestamp: '', | |||
}, | |||
|
|||
avScanning: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default, we don't want avScanning enabled because you need to have an ClamAV instance running somewhere
backend/src/services/file.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to update the mocked config
No description provided.