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

added a popover for av results on files #1507

Merged
merged 15 commits into from
Sep 23, 2024

Conversation

ARADDCC002
Copy link
Member

No description provided.

@@ -205,6 +209,10 @@ module.exports = {
audit: {
kind: 'silly',
},

avScanning: {
Copy link
Member

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>
<>
Copy link
Member

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
Copy link
Member

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.

Copy link
Member

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: {
Copy link
Member

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

Copy link
Member

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

@ARADDCC002 ARADDCC002 merged commit e44e80d into main Sep 23, 2024
15 checks passed
@ARADDCC012 ARADDCC012 deleted the feature/BAI-1448-add-av-results branch September 25, 2024 13: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.

3 participants