Code Monkey home page Code Monkey logo

Comments (8)

houstonj1 avatar houstonj1 commented on September 13, 2024 1

If nobody has objections, I am going to open a PR to disable these access logs, on the logs bucket

from cdk-serverless-clamscan.

sumort avatar sumort commented on September 13, 2024

Also, I noticed, after deleting the cfn stack the access log bucket is still there and has new logs. Is that the expected behavior?

from cdk-serverless-clamscan.

dontirun avatar dontirun commented on September 13, 2024

Hi is there a way to disable access logs from writing to a bucket? I noticed that there are a lot of logs generated over time and I was wondering if there was a way to make it optional.

You can use this property to disable access logging.

Also, what kind of data is being stored in here?

Data related to who/what is accessing the s3 bucket that contains the virus scan definitions

Also, I noticed, after deleting the cfn stack the access log bucket is still there and has new logs. Is that the expected behavior?

Hmm, this may be because the access log bucket is logging to itself causing an infinite logging loop. This isn't the intended behavior and I don't really see a reason to have the logging bucket lg to itself

from cdk-serverless-clamscan.

sumort avatar sumort commented on September 13, 2024

Hmm, this may be because the access log bucket is logging to itself causing an infinite logging loop. This isn't the intended behavior and I don't really see a reason to have the logging bucket lg to itself

This confirms what I have seen so far, is there a way to go around this or maybe have the logging bucket also be deleted when the stack is deleted?

from cdk-serverless-clamscan.

dontirun avatar dontirun commented on September 13, 2024

The logs are there for those who need them for auditing purposes. It doesn't make sense to remove it by default.

In this case you can empty and delete the bucket after the fact

from cdk-serverless-clamscan.

sumort avatar sumort commented on September 13, 2024

I see thank you! Hmm but does there happen to be a way around the infinite loop?

from cdk-serverless-clamscan.

dontirun avatar dontirun commented on September 13, 2024

I think it would be reasonable to have a PR to make it so that the default access log bucket doesn't log to itself or any other bucket

from cdk-serverless-clamscan.

houstonj1 avatar houstonj1 commented on September 13, 2024

Ready for review! πŸŽ‰

from cdk-serverless-clamscan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.